This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dominic Woerner <dominic.woerner@dfinity.org>
- Loading branch information
Showing
7 changed files
with
29 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
[workspace] | ||
members = [ | ||
"src/schnorr_canister_backend", | ||
] | ||
[package] | ||
name = "schnorr_canister" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
bip32 = { "version" = "0.5.1", features = ["k256"] } | ||
candid = "0.10.1" | ||
ic-cdk = "0.12.0" | ||
ic-stable-structures = "0.6" | ||
getrandom = { version = "0.2.11", features = ["custom"] } | ||
k256 = { "version" = "0.13.2", features = ["schnorr"] } | ||
serde = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
cargo build --release --target wasm32-unknown-unknown --package schnorr_canister_backend | ||
candid-extractor target/wasm32-unknown-unknown/release/schnorr_canister_backend.wasm > src/schnorr_canister_backend/schnorr_canister_backend.did | ||
cargo build --release --target wasm32-unknown-unknown --package schnorr_canister | ||
candid-extractor target/wasm32-unknown-unknown/release/schnorr_canister.wasm > schnorr_canister.did | ||
dfx deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.