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