Add initial structure Coordinator Forge Sequence

This commit is contained in:
arnaucube
2020-08-13 18:55:33 +02:00
parent a1c339c918
commit 8390e4a784
8 changed files with 288 additions and 8 deletions

15
eth/client.go Normal file
View File

@@ -0,0 +1,15 @@
package eth
import "github.com/hermeznetwork/hermez-node/common"
type EthClient struct {
}
func NewEthClient() *EthClient {
// TODO
return &EthClient{}
}
func (ec *EthClient) ForgeCall(callData *common.CallDataForge) ([]byte, error) {
// TODO this depends on the smart contracts, once are ready this will be updated
return nil, nil
}