/esn-contracts

Era Swap DAO and Layer 2 Smart Contracts

Primary LanguageSolidity

tests status solidity v0.7.1 typescript strict styled with prettier HitCount

Era Swap Network Contracts

ES DAO Smart Contracts to be deployed on Ethereum and Era Swap Network. View project architecture here.

TODO: add info

Available Scripts

In the project directory, you can run:

npm run test

Initially it compiles your contracts and places them in a build folder. This step is skipped if no changes are made in the contracts source codes. Then it runs your typescript test suite.

npm run compile

It simply compiles your contracts and places them in the build folder.

Useful links

More Information

  • You can customise to a specific solc version by doing npm i solc@0.5.10, but it's not recommended. Note: solc@0.4.* will not work with this template, because it has a different compile.js structure. It is recommended that you upgrade your smart contract code to be able to be compiled by a solc@0.5.* and above compiler. You can check out breaking changes in 0.5.* and breaking changes in 0.6.*and upgrade your smart contracts accordingly.
  • If something doesn't work, file an issue here.