- Start a local node
git clone https://github.com/paritytech/substrate-contracts-node --tag v0.23.0
cd ./substrate-contracts-node
cargo +stable build --release
./target/release/substrate-contracts-node --dev --tmp
- Run tests
npm run test
Note, run the command 2 in project' root directory
-
Start a local node as described above
-
Generate typechain-code for the contracts
npm run gen-test-ts
- Run tests
npm run only-test