Solana Wallet
This is a simple Solana wallet application built using Next.js and Solana Web3.js library. The application allows users to connect their wallets and send SOL to other wallet addresses.
Getting Started
To get started with this project, follow the steps below:
- Clone the repository using the command:
git clone https://github.com/codescalper/send-sols.git
- Navigate to the project directory using the command:
cd send-sols
- Install the dependencies using the command:
npm install
- Run the application using the command:
npm run dev
- Visit http://localhost:3000 in your web browser to view the application.
Tech Stack
- React
- @solana/wallet-adapter-react-ui
- @solana/wallet-adapter-react
- @solana/web3.js
- Next.js
- Node.js
- TypeScript
- CSS (using CSS modules)
List of Wallets added
- Phantom Wallet
- Backpack Wallet
Usage
When you visit the application, you will see a header with a logo, a text "Send some SOLs" and a wallet connect button. Click on the wallet connect button to connect your wallet.
Once your wallet is connected, you will see your balance displayed on the screen. You can also send SOL to other wallet addresses using the "Send SOL" form. Simply enter the amount of SOL you want to send and the recipient wallet address, and click the "Send" button.
After you have sent SOL, you will receive a transaction signature (txSig) which you can use to track your transaction on the Solana Explorer. Simply click the link provided on the screen to view your transaction on the Solana Explorer.
Contributing
If you would like to contribute to this project, feel free to create a pull request.