Skip to content

EthWorks/moonbeam-waffle-mars-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waffle and Mars on Moonbeam

This is an example project using Waffle and Mars, prepared to run against a local Moonbeam node.

Building

yarn && yarn build

Running tests with Waffle

Example test is located in test/Token.test.ts

For more information on Waffle, refer to Waffle website.

Against local Moonbeam node

  1. Start moonbeam
cargo run --release -- --dev --tmp
  1. Make sure PROVIDER is set to moonbeam-local in test/Token.test.ts.

  2. Run the tests

yarn test

Against ganache

  1. Make sure PROVIDER is set to ganache in test/Token.test.ts.

  2. Run the tests

yarn test

Deploy contracts

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.

  1. Start moonbeam
cargo run --release -- --dev --tmp
  1. Initiate deployment
yarn deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published