The @dynamic-labs/solana-extension
integrates your application with the @solana/web3.js
library, providing a Connection
and Signer
to interact with the Solana blockchain.
To install the Solana extension, run the following command:
Incorporate the Solana extension into your client using the extend method to add getSigner and getConnection methods:
Your React Native project might require polyfills for certain global objects. Install the necessary polyfills and set them up as follows
Installation
Include the following code in your project’s entry point to set up the polyfills:
After setup, you can interact with the Solana blockchain. Below is an example of a component that sends 1 SOL to a specified wallet address:
The @dynamic-labs/solana-extension
integrates your application with the @solana/web3.js
library, providing a Connection
and Signer
to interact with the Solana blockchain.
To install the Solana extension, run the following command:
Incorporate the Solana extension into your client using the extend method to add getSigner and getConnection methods:
Your React Native project might require polyfills for certain global objects. Install the necessary polyfills and set them up as follows
Installation
Include the following code in your project’s entry point to set up the polyfills:
After setup, you can interact with the Solana blockchain. Below is an example of a component that sends 1 SOL to a specified wallet address: