Skip to content

Commit

Permalink
feat: update to 0.4.0 multisig prover instantiation fields (#1005)
Browse files Browse the repository at this point in the history
Co-authored-by: albertov19 <[email protected]>
  • Loading branch information
ffe9f8 and albertov19 authored Jun 12, 2024
1 parent 85ea221 commit 8b75fd6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/pages/dev/amplifier/chain-integration/integrate-a-chain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ You can also deploy a custom implementation of the gateway, verifier, and prover
```
Now instantiate the contract.

<Callout>
The `domain_separator` is the hash of the chain name, router address, and Axelar chain ID coded in command line JSON as an array of bytes.
</Callout>

```bash
axelard tx wasm instantiate $PROVER_CODE_ID \
'{
Expand All @@ -321,13 +325,13 @@ You can also deploy a custom implementation of the gateway, verifier, and prover
"coordinator_address":"axelar1m2498n4h2tskcsmssjnzswl5e6eflmqnh487ds47yxyu6y5h4zuqr9zk4g",
"service_registry_address":"axelar1c9fkszt5lq34vvvlat3fxj6yv7ejtqapz04e97vtc9m5z9cwnamq8zjlhz",
"voting_verifier_address": "'"$MY_VERIFIER_ADDRESS"'",
"destination_chain_id": "'"$MY_CHAIN_ID"'",
"signing_threshold": ["1","1"],
"service_name": "validators",
"chain_name":"test",
"worker_set_diff_threshold": 1,
"verifier_set_diff_threshold": 1,
"encoder": "abi",
"key_type": "ecdsa"
"key_type": "ecdsa",
"domain_separator":[hash(chain_name, router_address, MY_CHAIN_ID)]
}' \
--keyring-backend test \
--from wallet \
Expand Down

0 comments on commit 8b75fd6

Please sign in to comment.