Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A command-line wallet for Solana blockchain built with Node.js — manage keypairs, check balances, transfer SOL, and interact with the Solana network from your terminal.

Notifications You must be signed in to change notification settings

sum1t-here/solana-cli-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana CLI Wallet

A simple Command Line Interface (CLI) wallet for interacting with the Solana blockchain. This wallet allows you to create accounts, check balances, and send SOL transactions on the Solana Devnet.

Built with TypeScript and @solana/web3.js, this project is perfect for developers looking to learn Solana development or build their own wallet tools.

Features

  • Create a new Solana account: Generate a new keypair.

  • Check account balance: View the balance of a Solana account.

  • Send SOL: Transfer SOL from one account to another.

  • Persistent keypair storage: Save and load keypairs from a file for reuse.

Installation

  • Clone the repository:

    git clone https://github.com/sum1t-here/solana-cli-wallet.git
    cd solana-cli-wallet
  • Install dependencies:

    bun install

Usage

Run the CLI wallet:

bun run index.ts

Commands

  • Create account:
    • Generates a new Solana keypair.
  • Check Balance:
    • Displays the balance of the loaded account.
  • Send SOL:
    • Sends SOL from the loaded account to a recipient.
  • Exit:
    • Exits the CLI

File Structure

    .
    ├── node_modules
    ├── .gitignore
    ├── bun.lockb
    ├── index.ts           # Main CLI logic
    ├── package.json       # Project dependencies and scripts
    ├── README.md          # TypeScript configuration
    └── tsconfig.json      # Project documentation

Demo

solana.wallet.1.mp4

Screenshots

Screenshot 2025-01-03 at 3 05 38 PM Screenshot 2025-01-03 at 3 06 42 PM Screenshot 2025-01-03 at 3 07 06 PM Screenshot 2025-01-03 at 3 07 50 PM

Dependencies

Contributing

Contributions are welcome! If you'd like to contribute, please follow these steps:

  • Fork the repository.

  • Create a new branch (git checkout -b feature/YourFeatureName).

  • Commit your changes (git commit -m 'Add some feature').

  • Push to the branch (git push origin feature/YourFeatureName).

  • Open a pull request.

Acknowledgements

Support

If you have any questions or need help, feel free to open an issue or reach out to me at [email protected].

Enjoy building on Solana! 🚀

About

A command-line wallet for Solana blockchain built with Node.js — manage keypairs, check balances, transfer SOL, and interact with the Solana network from your terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published