Learn how to use Reown AppKit for essential wallet functionalities such as signing messages, getting the balance and sending transactions.
In this recipe, you will learn how to:
This guide will take approximately 20 minutes to complete.
Let’s dive in!
Clone this Github repo to try it out locally.
You can start a small project following the guidelines from our installation React docs using Bitcoin
In this guide we are going to use AppKit to make the calls to the Bitcoin blockchain and interact with the wallet.
useAppKitProvider
and useAppKitAccount
hooks.walletProvider
function from the useAppKitProvider
hook. This function allows you to prompt the connected wallet to sign a specific message. Also, we are using useAppKitAccount
to get the address and isConnected as explained before.In order to raise the modal to sign a message with your wallet continue with the following steps:
By following this guide, you’ve learned how to integrate Reown AppKit and Bitcoin into your React application to perform essential wallet operations. You can now sign messages, get the balance, get the public key and send transactions in the Bitcoin blockchain.
Keep exploring AppKit to enhance your dApp functionality and user experience!
Learn how to use Reown AppKit for essential wallet functionalities such as signing messages, getting the balance and sending transactions.
In this recipe, you will learn how to:
This guide will take approximately 20 minutes to complete.
Let’s dive in!
Clone this Github repo to try it out locally.
You can start a small project following the guidelines from our installation React docs using Bitcoin
In this guide we are going to use AppKit to make the calls to the Bitcoin blockchain and interact with the wallet.
useAppKitProvider
and useAppKitAccount
hooks.walletProvider
function from the useAppKitProvider
hook. This function allows you to prompt the connected wallet to sign a specific message. Also, we are using useAppKitAccount
to get the address and isConnected as explained before.In order to raise the modal to sign a message with your wallet continue with the following steps:
By following this guide, you’ve learned how to integrate Reown AppKit and Bitcoin into your React application to perform essential wallet operations. You can now sign messages, get the balance, get the public key and send transactions in the Bitcoin blockchain.
Keep exploring AppKit to enhance your dApp functionality and user experience!