Add README.md

This commit is contained in:
Hsiao-Wei Wang 2019-05-30 14:12:05 +08:00
parent 0424fab024
commit a81fa54c73
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Deposit contract
## How to compile the contract?
Under the `eth2.0-specs` directory, execute:
```sh
make compile_deposit_contract
```
The ABI and bytecode will be updated at [`contracts/validator_registration.json`](./contracts/validator_registration.json).
## How to set up the testing environment?
```sh
make install_deposit_contract_test
```
## How to run tests?
```sh
make test_deposit_contract
```