Back to projects

Solana Wallet Javascript

SolanaJavascript
Solana Wallet Javascript

About this project

Solana Wallet is a command-line application built with Node.js to demonstrate direct interaction with the Solana blockchain using the @solana/web3.js library. This project implements a basic wallet system capable of generating new wallet credentials, retrieving on-chain balances, and sending SOL transactions through Solana RPC endpoints. The project was developed as a technical experiment to understand core Solana concepts, including wallet generation, cryptographic key management, blockchain communication via RPC, and transaction construction and submission. Project Objective The main objective of this project is to build a simple and functional Solana wallet for educational and experimental purposes, while showcasing practical blockchain integration using JavaScript and Node.js. Core Features Wallet Generation Generates a new Solana wallet containing a public key, private key, and a 12-word mnemonic phrase. The generated wallet data is stored locally in a JSON file for demonstration purposes. Balance Retrieval Fetches the SOL balance of the generated wallet directly from the Solana network (default: devnet) via an RPC connection. SOL Transfer Supports sending SOL to a specified recipient address using a simple transfer script with basic validation. Network Configuration Allows switching between Solana networks by configuring the RPC endpoint, supporting both devnet (for testing) and mainnet-beta (optional). Basic Security Awareness Includes warnings about handling private keys and mnemonic phrases and is designed as a non-production wallet for learning and testing. Technology Stack Node.js JavaScript @solana/web3.js Solana RPC (devnet / mainnet-beta) Application Structure index.js — wallet generation logic check-balance.js — balance query script bot.js — SOL transfer script wallet-info.json — local wallet data storage Technical Value This project demonstrates knowledge of: Blockchain wallet architecture Public and private key cryptography RPC-based blockchain interaction Transaction signing and submission Local persistence of sensitive data Disclaimer This project is intended for educational and demonstration purposes only. It is not suitable for production use, as private keys and mnemonic phrases are stored locally without encryption.

Created January 31, 2026