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: src/pages/guides/bitcoin-taproot-mpc.mdx
+33-48Lines changed: 33 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,22 @@ started. Let’s dive in!
34
34
[instructions on setting up the Web3Auth Dashboard](/docs/dashboard-setup).
35
35
- Web3Auth MPC CoreKit SDK: This guide assumes that you already know how to integrate the MPC
36
36
CoreKit SDK in your project and able to set up the login flow. If not, you can learn how to
37
-
[integrate Web3Auth in your web app](/docs/sdk/mpc-core-kit/mpc-core-kit-js).
37
+
[integrate Web3Auth MPC Core Kit SDK in your web app](/docs/sdk/mpc-core-kit/mpc-core-kit-js).
38
+
39
+
## TLDR;
40
+
41
+
-**Web3Auth MPC CoreKit**: Initialize the CoreKit instance and set up the login flow.
42
+
-**Bitcoin Signer**: Create a BitcoinJS-compatible signer for BIP340 Schnorr signatures.
43
+
-**Bitcoin Operations**: Implement Bitcoin-specific operations like address generation and
44
+
transaction signing.
45
+
-**Usage Guide**: Learn how to use the application to interact with Bitcoin Taproot.
46
+
47
+
Get a clone of the [example repository](https://github.com/Web3Auth/web3auth-core-kit-examples/mpc-core-kit-web/mpc-core-kit-bitcoin-taproot) to follow along with the guide.
38
48
39
49
## Initialization
40
50
41
-
Before interacting with Web3Auth MPC CoreKit, we need to initialize it. This is done in the App.tsx
42
-
file, where we configure the CoreKit instance with the necessary parameters.
51
+
Before interacting with Web3Auth MPC CoreKit, we need to initialize it. This is done in the
52
+
`App.tsx`file, where we configure the CoreKit instance with the necessary parameters.
43
53
44
54
### Setting Up Web3Auth MPC CoreKit
45
55
@@ -53,22 +63,23 @@ import { tssLibFrostBip340 } from "@toruslabs/tss-frost-lib-bip340";
53
63
let coreKitInstance: Web3AuthMPCCoreKit;
54
64
if (typeofwindow!=="undefined") {
55
65
coreKitInstance =newWeb3AuthMPCCoreKit({
56
-
web3AuthClientId, // Your Web3Auth Client ID
57
-
web3AuthNetwork:WEB3AUTH_NETWORK.DEVNET, //Connects to Web3Auth's DEVNET environment
66
+
web3AuthClientId, // Your Web3Auth Client ID, get it from the Web3Auth dashboard
0 commit comments