kodadot / sub-scaffold

๐Ÿ— forkable Substrate dev stack focused on fast product iterations
sub-scaffold.vercel.app
MIT License
12 stars 1 forks source link
kodadot kusama polkadot substrate

๐Ÿ— Sub-Scaffold

everything you need to build on Substrate! ๐Ÿš€

๐Ÿงช Quickly experiment with Substrate using a frontend - Viki Val

๐Ÿ„โ€โ™‚๏ธ Quick Start

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

Type generation

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

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Checkout the deployment documentation for more information.

Testing

All tests should be placed in tests directory

pnpm test:unit 

Contributors

Thanks goes to all wonderful people <3

Sponsors

paraspell