@alice-network/gateway-ethereum
v1.0.1
Published
Solidity contracts for the gateway on Ethereum blockchain
Downloads
3
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.git
Once git clone is done, use npm to install dependencies:
$ npm install
Truffle 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 test
Coverage
To get coverage report, run command below:
$ npm run test:coverage
Troubleshoot
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.js
License
Gateway Ethereum is licensed under the MIT License.