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 doingnpm 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 asolc@0.5.*
and above compiler. You can check out breaking changes in0.5.*
and breaking changes in0.6.*
and upgrade your smart contracts accordingly. - If something doesn't work, file an issue here.