A template to develop decentralised applications
We are assuming here that you already setup your env as specified in the initial setup section
Note here that while you can use pnpm i
, we recommend you follow the instruction here so you can have verythign setup with your project's name.
pnpm boot
This will set the app name to the folder nane (and change the files to reflect that) and then call pnpm i
You can also manually set the name yourself :
pnpm set-name [<new name>] && pnpm i
Then Assuming you have zellij installed
pnpm start
And you are ready to go!
Note that if you do not have zellij (on windows for example) you can use wezterm
pnpm start:wezterm
Or you can also launch each component in their own process
pnpm start:local_node
pnpm start:contracts:deploy
pnpm start:indexer
pnpm start:web
You need to have these installed
Then you need to install the local dependencies with the following command:
pnpm i
We also recommend to install zellij to have your dev env setup in one go via pnpm start