You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can be installed and used instead of the management canister. Note also that the
102
-
chain-key testing canister is deployed on the mainnet and can be used for mainnet
103
-
testing to reduce the costs, see the linked repo for more details.
104
-
105
-
This sample canister allows the caller to change the management canister address
106
-
for Schnorr by calling the `for_test_only_change_management_canister_id`
107
-
endpoint with the target canister principal. With `dfx`, this can be done
108
-
automatically with `make mock`, which will install the chain-key testing canister
109
-
and use it instead of the management canister. Note that `dfx` should be running
110
-
to successfully run `make mock`.
111
-
112
95
### Update source code with the right key ID
113
96
114
97
To deploy the sample code, the canister needs the right key ID for the right environment. Specifically, one needs to replace the value of the `key_id` in the `src/schnorr_example_motoko/src/lib.rs` file of the sample code. Before deploying to mainnet, one should modify the code to use the right name of the `key_id`.
0 commit comments