This is solana challenge-1 for. The script contains an application for demonstrating the connection and transferring of SOL to a wallet through solana block chain using phantom wallet.
To run the application locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Install the project dependencies using the command:
npm install - Start the development server:
npm start - Open your browser and go to: http://localhost:3000
- Create a new Solana account.
- Connect to an existing Phantom wallet.
- Request an airdrop of SOL tokens.
- Transfer SOL tokens to connected wallet.
- Check wallet balance.
This project relies on the following technologies and libraries:
- React
- Solana Web3.js
- Phantom Wallet
- Create a New Solana Account: Click the "Create a New Solana Account" button. This will generate a new account, request an airdrop of SOL tokens, and display the created wallet's information.
- Connect Wallet: Click the "Connect Wallet" button to connect to an existing Phantom wallet. Once connected, you'll be able to transfer tokens and check balances.
- Transfer SOL to New Account: After creating a new account or connecting a wallet, use the "Transfer SOL to New Account" button to send SOL tokens to the new account.
- Get Wallet Balance: Click the "Get Wallet Balance" button to check the balance of the currently connected wallet or the new account.
shyam itsme shyam