Skip to content
master
Go to file
Code
This branch is 38 commits ahead, 2855 commits behind bancorprotocol:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Enjin Token And Crowdfund Contract

Testing

Tests are included and can be run using truffle.

Prerequisites

  • Node.js v7.6.0+
  • truffle v3.2.2+
  • testrpc v3.0.5+

To run the test, execute the following commands from the project's /solidity folder -

Please run yarn first

Then run these commands:

  • npm run testrpc
  • truffle test test/ENJToken.js

As the dates of the crowdfund are hardcoded in the contract and we are increasing the blockchain time artificially, you will need to reset testrpc before running the second round of tests:

  • npm run testrpc
  • truffle test test/ENJCrowdfund.js

About

Bancor Protocol Contracts

Resources

License

Packages

No packages published
You can’t perform that action at this time.