Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
deploy: d3c3d67
Browse files Browse the repository at this point in the history
  • Loading branch information
Deploy from CI committed Oct 25, 2023
1 parent 6aab71d commit 2fe6cce
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
10 changes: 4 additions & 6 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1217,13 +1217,12 @@ <h2 id="initiating-a-sbtc-withdrawal"><a class="header" href="#initiating-a-sbtc

const signMessage = async (e) =&gt; {
e.preventDefault();
const message = bytesToHex(
const message =
sbtcWithdrawMessage({
network: TESTNET,
amountSats: satoshis,
bitcoinAddress: userData.profile.btcAddress.p2wpkh.testnet,
})
);
});

openSignatureRequestPopup({
message,
Expand Down Expand Up @@ -1459,13 +1458,12 @@ <h2 id="wrapping-up"><a class="header" href="#wrapping-up">Wrapping Up</a></h2>

// First we need to sign a Stacks message to prove we own the sBTC
// The sbtc paclage can help us format this
const message = bytesToHex(
const message =
sbtcWithdrawMessage({
network: TESTNET,
amountSats: satoshis,
bitcoinAddress: userData.profile.btcAddress.p2wpkh.testnet,
})
);
});

// Now we can use Leather to sign that message
openSignatureRequestPopup({
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -959,13 +959,12 @@ <h2 id="initiating-a-sbtc-withdrawal"><a class="header" href="#initiating-a-sbtc

const signMessage = async (e) =&gt; {
e.preventDefault();
const message = bytesToHex(
const message =
sbtcWithdrawMessage({
network: TESTNET,
amountSats: satoshis,
bitcoinAddress: userData.profile.btcAddress.p2wpkh.testnet,
})
);
});

openSignatureRequestPopup({
message,
Expand Down
5 changes: 2 additions & 3 deletions withdrawal.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,12 @@ <h1 id="initiating-a-withdrawal"><a class="header" href="#initiating-a-withdrawa

// First we need to sign a Stacks message to prove we own the sBTC
// The sbtc paclage can help us format this
const message = bytesToHex(
const message =
sbtcWithdrawMessage({
network: TESTNET,
amountSats: satoshis,
bitcoinAddress: userData.profile.btcAddress.p2wpkh.testnet,
})
);
});

// Now we can use Leather to sign that message
openSignatureRequestPopup({
Expand Down

0 comments on commit 2fe6cce

Please sign in to comment.