Skip to content

Commit

Permalink
Merge pull request #945 from dfinity/alex/fix-schnorr-spec-links
Browse files Browse the repository at this point in the history
chore: CRP-2532 fix links to the now-merged Schnorr part of the spec
  • Loading branch information
altkdf authored Jul 25, 2024
2 parents 97a035f + 2b11921 commit 1d4b8a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion motoko/threshold-schnorr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords: [advanced, motoko, threshold schnorr, schnorr, signature]

We present a minimal example canister smart contract for showcasing the
[threshold
Schnorr](https://org5p-7iaaa-aaaak-qckna-cai.icp0.io/docs#ic-sign_with_schnorr)
Schnorr](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-sign_with_schnorr)
API.

The example canister is a signing oracle that creates Schnorr signatures with
Expand Down
12 changes: 8 additions & 4 deletions rust/basic_bitcoin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ This tutorial will walk you through how to deploy a sample [canister smart contr

This example internally leverages the [ECDSA
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-ecdsa_public_key),
[Schnorr API](https://org5p-7iaaa-aaaak-qckna-cai.icp0.io/docs#ic-sign_with_schnorr), and [Bitcoin
[Schnorr
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-sign_with_schnorr),
and [Bitcoin
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-bitcoin-api)
of the Internet Computer.

Expand Down Expand Up @@ -200,9 +202,11 @@ The `send_from_${type}` endpoint can send bitcoin by:
The fee percentiles obtained from step 1 is used to set an appropriate fee.
4. Signing the inputs of the transaction using the
[sign_with_ecdsa
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-method-sign_with_ecdsa)/\
[sign_with_schnorr](https://org5p-7iaaa-aaaak-qckna-cai.icp0.io/docs#ic-sign_with_schnorr).
5. Sending the signed transaction to the Bitcoin network using the [bitcoin_send_transaction API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-method-bitcoin_send_transaction).
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-sign_with_ecdsa)/\
[sign_with_schnorr](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-sign_with_schnorr).
5. Sending the signed transaction to the Bitcoin network using the
[bitcoin_send_transaction
API](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-bitcoin_send_transaction).

This canister's `send_from_${type}` endpoint returns the ID of the transaction
it sent to the network. You can track the status of this transaction using a
Expand Down
2 changes: 1 addition & 1 deletion rust/threshold-schnorr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords: [advanced, rust, threshold schnorr, schnorr, signature]

We present a minimal example canister smart contract for showcasing the
[threshold
Schnorr](https://org5p-7iaaa-aaaak-qckna-cai.icp0.io/docs#ic-sign_with_schnorr)
Schnorr](https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-sign_with_schnorr)
API.

The example canister is a signing oracle that creates Schnorr signatures with
Expand Down

0 comments on commit 1d4b8a7

Please sign in to comment.