This is an example project using Waffle and Mars, prepared to run against a local Moonbeam node.
yarn && yarn build
Example 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
PROVIDER
is set tomoonbeam-local
intest/Token.test.ts
. -
Run the tests
yarn test
-
Make sure
PROVIDER
is set toganache
intest/Token.test.ts
. -
Run the tests
yarn test
Following 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