everything you need to build on Substrate! π
π§ͺ Quickly experiment with Substrate using a frontend - Viki Val
Prerequisites: Node (v16 LTS) plus pnpm
clone/fork π sub-scaffold
git clone https://github.com/kodadot/sub-scaffold.git
Make sure to install the dependencies:
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
pnpm dev -o
If you want to generate types from some node, you first need to generate the edgeware JSON
CHAIN_WS="ws://your.node:port" pnpm generate:edgeware
Then you can generate the types
pnpm generate:defs && pnpm generate:meta
Build the application for production:
pnpm build
Locally preview production build:
pnpm preview
Checkout the deployment documentation for more information.
All tests should be placed in tests
directory
pnpm test:unit
Thanks goes to all wonderful people <3