eth2.0-specs/deposit_contract/README.md

25 lines
414 B
Markdown
Raw Normal View History

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