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.gitMake sure to install the dependencies:
# pnpm
pnpm install --shamefully-hoistStart the development server on http://localhost:3000
pnpm dev -oIf 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:metaBuild the application for production:
pnpm buildLocally preview production build:
pnpm previewCheckout the deployment documentation for more information.
All tests should be placed in tests directory
pnpm test:unit Thanks goes to all wonderful people <3
