Skip to content

Kayleexx/solana-wallet-app

Repository files navigation

Solana Wallet Web App

This is a simple web app built with React that demonstrates basic functionality for interacting with the Solana blockchain. The app allows users to create a new Solana account, connect their Phantom wallet, and transfer SOL tokens between accounts on the Solana devnet.

Features

  • Create a new Solana account and request airdrop for testing.
  • Connect your Phantom wallet to the app.
  • Transfer SOL tokens between accounts.
  • Minimalistic user interface for easy usage.

Prerequisites

  • Node.js and npm installed on your system.

Setup

  1. Clone the repository:
git clone https://github.com/your-username/solana-wallet-app.git
  1. Navigate to the project directory:
cd solana-wallet-app
  1. Install dependencies:
npm install
  1. Run the app:
npm start

Usage

  1. Click the "Create New Account" button to generate a new Solana account and request an airdrop for testing.
  2. Connect your Phantom wallet using the "Connect Wallet" button.
  3. Once connected, you can see your wallet's public key and account balance.
  4. Use the "Transfer SOL" button to transfer SOL tokens to another account. Make sure you have both sender and receiver keys before proceeding.

Author

Mitali Sinha

License

This project is licensed under the MIT License - see the LICENSE file for details.