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
Copy file name to clipboardExpand all lines: rust/threshold-schnorr/README.md
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -51,9 +51,7 @@ make test
51
51
```
52
52
53
53
#### What this does
54
-
-`make deploy` deploys the canister code on the local version of the IC
55
-
-`npm install @noble/curves` installs a test javascript dependency
56
-
-`make test` deploys and tests the canister code on the local version of the IC
54
+
-`make deploy` deploys the canister code on the local version of the IC.
57
55
58
56
If deployment was successful, you should see something like this:
59
57
@@ -66,8 +64,6 @@ URLs:
66
64
67
65
If you open the URL in a web browser, you will see a web UI that shows the
68
66
`sign`, and `verify` methods, those are rendered in the web UI.
69
-
public methods the canister exposes. Since the canister exposes `public_key` and
70
-
`sign`, those are rendered in the web UI.
71
67
72
68
## Deploying the canister on the mainnet
73
69
@@ -80,7 +76,7 @@ To deploy this canister the mainnet, one needs to do two things:
80
76
81
77
Deploying to the Internet Computer requires [cycles](https://internetcomputer.org/docs/current/developer-docs/getting-started/tokens-and-cycles) (the equivalent of "gas" on other blockchains).
82
78
83
-
####Update management canister ID reference for testing
79
+
### Update management canister ID reference for testing
84
80
85
81
The latest version of `dfx`, `v0.24.3`, does not yet support
86
82
`opt_merkle_tree_root_hex` that is not `None`. Therefore, for local tests, [the
@@ -96,7 +92,7 @@ automatically with `make mock`, which will install the chain-key testing caniste
96
92
and use it instead of the management canister. Note that `dfx` should be running
97
93
to successfully run `make mock`.
98
94
99
-
####Update source code with the right key ID
95
+
### Update source code with the right key ID
100
96
101
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_rust/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`.
102
98
@@ -113,8 +109,8 @@ the key ID as follows and can be deployed locally:
0 commit comments