Production-Ready Template To Build Decentralised Applications
npx degit wighawag/jolly-roger your-app-folder
Find out more on github
Here are examples of apps built using jolly-roger
A Game of Strategy and Diplomacy Running on the EVM
An unstoppable game of strategy and diplomacy running on the EVM. It allows player to collaborate through on-chain alliances while remaining sovereign. A first of its kind.
Source code not yet available
This template include setup for smart contracts, subgraph (contract api) and frontend. All is setup as a monorepo with a shared common library.
On contract changes, contract get to keep their address and code get updated automatically. On frontend changes, module get replaced using blazing fast Vite es module hot reload. On subgraph changes, the graph get updated and reexecuted.
Fully IPFS ready with proper url routing. The web app works on both IPFS urls and ENS/DNS urls. PWA works on IPFS too with scoped service workers.
The whole app including contracts tests, is written in typescript.
By using Svelte Kit (and so Vite) and ES modules, the frontend benefit from code splitting an dynamic imports as well as tree shaking.
The repo is setup as a vscode workspace with recommended plugins. Execute tests from the editor. Auto format, etc...
Everything is setup, except for the private ENV variable to deploy the contracts, the subgraph and the web app, all at once. It also include fleek config for automatic web deployment on ipfs.