Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 1.36 KB

README.md

File metadata and controls

74 lines (46 loc) · 1.36 KB

🏗 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