Add command line examples

This commit is contained in:
Leo 2020-12-07 17:24:19 +01:00
parent 558ecc8e9a
commit 3a75d971ba
1 changed files with 24 additions and 0 deletions

View File

@ -30,3 +30,27 @@ address `0x8b1c9eFA61eBF66Fa1a6deDCF46fb1e37708ce5c`.
See [v1.prototext](guardianset/v1.prototxt) for the first guardian set update that will be executed once everyone's
node on the network is live.
## Example command line options
```bash
/usr/local/bin/guardiand bridge \
--bootstrap /dns4/wormhole-testnet-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWH3VP44t12yKQXrPfMQVKEqS>
--network "/wormhole/testnet/1" \
--ethContract <TBD> \
--nodeName "Certus One" \ # <-- your node's name (for network explorer usage)
--nodeKey /opt/solana/keys/wormhole-node.key \ # <-- auto-generated node key
--bridgeKey /opt/solana/keys/wormhole-guardian.key \ # <-- your guardian key generated by "guardiand keygen"
--ethRPC wss://ethereum-node.example.com/ws/v3/[...] \ # <-- your ETH full/light node websocket URI
--adminSocket /run/guardiand/admin.socket \
--agentRPC /run/guardiand/agent.socket
```
```bash
/usr/local/bin/guardiand-solana-agent \
--bridge <TBD> \
--rpc http://solana-host:8899 \ # <-- URL of your Solana validator RPC server
--ws ws://solana-devnet:8900 \ # <-- Websocket path to your Solana validator PubSub port
--keypair /path/to/feepayer.key \ # <-- Keypair of a Solana fee payer account with ~10 SOL in it
--socket /run/guardiand/agent.socket
```