Solflare Wallet SDK
Last updated
Was this helpful?
Last updated
Was this helpful?
If your dApp does not use the , you can integrate Solflare directly using the Solflare Wallet SDK.
First, install the package:
Initialize the SDK:
Connect to the wallet - this will trigger either the extension, web or mobile connection. The returned promise will resolve when the user accepted or rejected the connection.
Send a Solana transaction:
If you only want to sign one or multiple transactions:
Sign a test message: