Add testnet contract addresses

This commit is contained in:
Leo 2020-12-07 19:41:12 +01:00
parent 1030e8e32f
commit e19b167f4b
6 changed files with 14 additions and 7 deletions

View File

@ -0,0 +1 @@
f58aa25dc823c4bd44426920f54f3748d68bbe53

View File

@ -0,0 +1 @@
[{"inputs":[{"components":[{"internalType":"address[]","name":"keys","type":"address[]"},{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"internalType":"struct Wormhole.GuardianSet","name":"initial_guardian_set","type":"tuple"},{"internalType":"address","name":"wrapped_asset_master","type":"address"},{"internalType":"uint32","name":"_guardian_set_expirity","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"oldGuardianIndex","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"newGuardianIndex","type":"uint32"}],"name":"LogGuardianSetChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"target_chain","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"token_chain","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"token_decimals","type":"uint8"},{"indexed":true,"internalType":"bytes32","name":"token","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"sender","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"recipient","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"nonce","type":"uint32"}],"name":"LogTokensLocked","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"consumedVAAs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"idx","type":"uint32"}],"name":"getGuardianSet","outputs":[{"components":[{"internalType":"address[]","name":"keys","type":"address[]"},{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"internalType":"struct Wormhole.GuardianSet","name":"gs","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian_set_expirity","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian_set_index","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"guardian_sets","outputs":[{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrappedAsset","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"recipient","type":"bytes32"},{"internalType":"uint8","name":"target_chain","type":"uint8"},{"internalType":"uint32","name":"nonce","type":"uint32"},{"internalType":"bool","name":"refund_dust","type":"bool"}],"name":"lockAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"recipient","type":"bytes32"},{"internalType":"uint8","name":"target_chain","type":"uint8"},{"internalType":"uint32","name":"nonce","type":"uint32"}],"name":"lockETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"vaa","type":"bytes"}],"name":"submitVAA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrappedAssetMaster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"wrappedAssets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
f58aa25dc823c4bd44426920f54f3748d68bbe53

View File

@ -18,10 +18,13 @@ Gossip bootstrap node:
Connected chain contracts:
| Network | Bridge contract addresss |
|--------------------|--------------------------|
| Ethereum Goerli | `<TBD>` |
| Solana Tour de Sol | `<TBD>` |
| Network | Bridge contract addresss |
|--------------------|------------------------------------------------|
| Ethereum Goerli | [`0xdae0Cba01eFc4bfEc1F7Fece73Fe8b8d2Eda65B0`](https://goerli.etherscan.io/address/0xdae0cba01efc4bfec1f7fece73fe8b8d2eda65b0) (verified on Etherscan) |
| Solana Tour de Sol | [`BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED`](https://explorer.solana.com/address/BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED?cluster=testnet) |
A copy of the contract binaries that were deployed can be found in [artifacts/](artifacts), along with a pointer to the
Wormhole revision that they were built from.
## Guardian set
@ -35,9 +38,9 @@ node on the network is live.
```bash
/usr/local/bin/guardiand bridge \
--bootstrap /dns4/wormhole-testnet-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWH3VP44t12yKQXrPfMQVKEqS>
--bootstrap "/dns4/wormhole-testnet-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWH3VP44t12yKQXrPfMQVKEqSHnk5GTN3RCSqNoakAkLCq"
--network "/wormhole/testnet/1" \
--ethContract <TBD> \
--ethContract "0xdae0Cba01eFc4bfEc1F7Fece73Fe8b8d2Eda65B0" \
--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"
@ -48,7 +51,7 @@ node on the network is live.
```bash
/usr/local/bin/guardiand-solana-agent \
--bridge <TBD> \
--bridge BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED \
--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 (RPC port +1)
--keypair /path/to/feepayer.json \ # <-- Keypair of a Solana fee payer account with ~10 SOL in it