clarify contract generation bindings.

Former-commit-id: 1958eba734a8f17050a9ad90b2ff922a732dd30e [formerly 22c585568d5f74c86acb4da4ef5e1cbe462bd9d3]
Former-commit-id: 6fa71862e0c3efeba6b754ee7f1ccc4fd2a8a10a
This commit is contained in:
Preston Van Loon
2018-02-09 18:41:08 -05:00
parent aa1a3b3405
commit ff42e169bb
2 changed files with 8 additions and 10 deletions

View File

@@ -38,6 +38,14 @@ The project consists of the following parts, with each of them requiring compreh
The VMC is built in Solidity and deployed to the geth node upon launch of the client if it does not exist in the network at a specified address. If the contract already exists, the client simply sets up an interface to programmatically call the internal contract functions and listens to transactions broadcasted to the geth node to begin the sharding system.
#### Generating Contract Bindings
To generate the go bindings run the following command from this package:
```bash
go generate
```
### VMC Wrapper & Sharding Client
As we will be interacting with a geth node, we will create a Golang interface that wraps over the VMC and a client that connects to the local geth node upon launch via JSON-RPC.

View File

@@ -1,10 +0,0 @@
# Sharding contracts
Generate contract bindings from the sharding package with go generate:
```bash
cd ..
go generate
```