@bigmi/react package contains React hooks and components that make it a breeze to build Bitcoin applications in React.
To get started, install the latest version of all bigmi packages.
Installation
Getting Started
Wrap your app in theBigmiProvider to enable Bigmi functionality in your React applications.
Hooks
After setting up the config and providers, you can use hooks provided by@bigmi/react.
Connecting to a wallet
Bigmi provides theuseConnect hook to handle connecting to wallets. The useAccount hook can also be used to fetch all information about a wallet account.
Signing a PSBT
TheuseConfig hook can be used to get the config client object, which can be used to perform various operations.
SignTransaction.tsx

