@alice-network/gateway-ethereum
v1.0.1
Published
Solidity contracts for the gateway on Ethereum blockchain
Readme
Gateway Ethereum
Solidity contracts for the gateway on Ethereum blockchain. Users can deposit and withdraw their assets through this gateway.
Documentation
Documentation is not ready.
Development
First, install Node.js and npm. Then grep the source code.
Get the source
Fork this repo and clone it to your local machine:
$ git clone [email protected]:your-username/gateway-ethereum.gitOnce git clone is done, use npm to install dependencies:
$ npm installTruffle network
coverage: this network is for solidity-coverage reportdevelopment: this network is used for local developmentdeploy: this network is used for deploying contractsconsole: this network is used fortruffle console
Test
To run tests, run command below:
$ npm run testCoverage
To get coverage report, run command below:
$ npm run test:coverageTroubleshoot
Run below if npm run test:coverage fails with at calldata location.
curl -o node_modules/solidity-parser-sc/build/parser.js https://raw.githubusercontent.com/maxsam4/solidity-parser/solidity-0.5/build/parser.jsLicense
Gateway Ethereum is licensed under the MIT License.
