Connect an EVM Chain
Connecting a new CosmWasm chain is easy and can be done in four simple steps documented here:
- Upload
ibc-core
andlight-client
contracts. - Configure the Voyager relayer.
- Open the connection.
- Send assets and data.
Upload IBC Core and Light Clients
Deployment of the Union EVM stack is fully automated. You can add a chain definition, and Union will generate deployment scripts for you.
-
Clone
unionlabs/union
:Terminal window -
Add your chains configuration to
evm/evm.nix
. For example:{network = "holesky";rpc-url = "https://1rpc.io/holesky";private-key = ''"$1"'';extra-args = ''--verify --verifier etherscan --etherscan-api-key "$2"'';} -
Use the gernated reproducible deployment script.
Terminal window nix run github:unionlabs/union#eth-deploy-$NETWORK-fullfor example, if your network is
"holesky"
above, it will be:Terminal window nix run github:unionlabs/union#eth-deploy-holesky-full $EVM_PRIVKEY $ETHERSCAN_API_KEYProviding an Etherscan API key is optional, but highly recommended as it will verify the uploaded contracts for you.
Configure Voyager
TODO
Open the Connection
TODO