Update operations.md

This commit is contained in:
Leopold Schabel 2020-11-24 22:57:50 +01:00 committed by GitHub
parent 8306a83833
commit f43e5617f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -84,6 +84,26 @@ You'll end up with the following binaries in `build/`:
Consider these recommendations, not a tutorial to be followed blindly. You'll want to integrate this with your
existing build pipeline. If you need Dockerfile examples, you can take a look at our devnet deployment.
## Key Generation
To generate a guardian key, you only need to only build the Go bridge.
It requires [Go](https://golang.org/dl/) >= 1.15.3. Clone the Wormhole repo
and build the binary:
git clone https://github.com/certusone/wormhole
cd wormhole/
./generate-protos.sh
cd bridge/
go build github.com/certusone/wormhole/bridge
Then, generate a new key:
./bridge keygen --desc "Testnet key foo" /path/to/your.key
The key file includes a human-readable part that includes the public key
and the description.
## Deploying
⚠ TODO: _systemd service file examples (not entirely trivial)_