Skip to content

sameergupta4873/Solana-Faucet

Repository files navigation

🚀 Solana Faucet

A Solana Faucet that allows users to request test SOL tokens on the Solana Devnet or Testnet. This is useful for developers testing their smart contracts and decentralized applications (dApps) on Solana before deploying to the mainnet.

🌟 Features

  • 🔹 Dispenses free SOL on the Solana Devnet/Testnet.
  • 🔹 Built using Next.js for a fast and efficient UI.
  • 🔹 Simple wallet integration using Solana's Web3.js.
  • 🔹 Secure request handling to prevent abuse.

⚡ Prerequisites

Before running this project, ensure you have the following installed:

  • Node.js (v16 or later)
  • Yarn or npm
  • Solana CLI (for interacting with the Solana blockchain)

🚀 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/sameergupta4873/Solana-Faucet.git
cd Solana-Faucet

2️⃣ Install Dependencies

npm install
# or
yarn install

3️⃣ Start the Development Server

npm run dev
# or
yarn dev

4️⃣ Open in Browser

Visit http://localhost:3000 to access the faucet UI.

🔧 How It Works

  1. Connect your Solana wallet (e.g., Phantom, Solflare).
  2. Choose the network (Devnet or Testnet).
  3. Click "Request SOL" to receive free tokens for testing.

🎯 Deployment

To deploy this project, use:

npm run build
npm start

🛠 Built With

  • Next.js – Fast, modern React framework
  • Solana Web3.js – For blockchain interactions
  • Tailwind CSS – Responsive styling

📝 License

This project is MIT Licensed. Feel free to use, modify, and contribute!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published