This is an example project using Waffle and Mars, prepared to run against a local Moonbeam node.
yarn && yarn buildExample test is located in test/Token.test.ts
For more information on Waffle, refer to Waffle website.
- Start moonbeam
cargo run --release -- --dev --tmp-
Make sure
PROVIDERis set tomoonbeam-localintest/Token.test.ts. -
Run the tests
yarn test-
Make sure
PROVIDERis set toganacheintest/Token.test.ts. -
Run the tests
yarn testFollowing instructions will deploy a set of smart contracts on local Moonbeam node.
For more details on how Mars works, refer to Mars repo or Mars docs.
- Start moonbeam
cargo run --release -- --dev --tmp- Initiate deployment
yarn deploy