Skip to content

kodadot/sub-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

91 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ— 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