Document and update contract addresses.
This commit is contained in:
parent
994564df44
commit
c9a7c42b82
|
@ -8,12 +8,13 @@ It requires a recent version of [Rust](https://www.rust-lang.org/), and needs to
|
|||
fully synchronized node that is connected to the network:
|
||||
[POA installation](https://github.com/poanetwork/wiki/wiki/POA-Installation).
|
||||
|
||||
With the default setup, it should work without any additional options. You can view the command line
|
||||
options with `-h`, and specify a different endpoint if your node e.g. uses a non-standard port.
|
||||
You can view the command line options with `-h`, and specify a different endpoint if your node e.g.
|
||||
uses a non-standard port. The `-c` option takes a map with the POA contracts' addresses in JSON
|
||||
format. You can find the current maps for the main and test network in
|
||||
[poa-chain-spec](https://github.com/poanetwork/poa-chain-spec)'s `core` and `sokol` branches.
|
||||
|
||||
```bash
|
||||
$ cargo run
|
||||
$ cargo run -- -h
|
||||
$ cargo run -- http://127.0.0.1:8545
|
||||
$ cargo run -- -c ../poa-chain-spec/contracts.json http://127.0.0.1:8545
|
||||
```
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ struct ContractAddresses {
|
|||
impl Default for ContractAddresses {
|
||||
fn default() -> ContractAddresses {
|
||||
ContractAddresses {
|
||||
metadata_address: "0xfb9c7fC2a00DfFc53948e3bbeb11F3D4b56C31B8".to_string(),
|
||||
metadata_address: "0x4c0eb450d8dfa6e89eb14ac154867bc86b3c559c".to_string(),
|
||||
keys_manager_address: "0x2b1dbc7390a65dc40f7d64d67ea11b4d627dd1bf".to_string(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue