mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add contracts & ethclient auction
This commit is contained in:
14
eth/contracts/README.md
Normal file
14
eth/contracts/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
## Contracts
|
||||
|
||||
The go code of the contracts has been generated with the following command:
|
||||
|
||||
```
|
||||
abigen --abi=WithdrawalDelayer.abi --bin=WithdrawalDelayer.bin --pkg=WithdrawalDelayer --out=WithdrawalDelayer.go
|
||||
abigen --abi=Hermez.abi --bin=Hermez.bin --pkg=Hermez --out=Hermez.go
|
||||
abigen --abi=HermezAuctionProtocol.abi --bin=HermezAuctionProtocol.bin --pkg=HermezAuctionProtocol --out=HermezAuctionProtocol.go
|
||||
```
|
||||
You must compile the contracts to get the `.bin` and `.abi` files. The contracts used are in the repo: https://github.com/hermeznetwork/contracts-circuits
|
||||
|
||||
Specifically they have been processed in the commit with hash: `0ba124d60e192afda99ef4703aa13b8fef4a392a`
|
||||
|
||||
> abigen version 1.9.21
|
||||
Reference in New Issue
Block a user