Skip to content

LimeChain/dexalot-solana-repl

Repository files navigation

Solana REPL Interface

A command-line interface (CLI) tool for interacting with Solana programs.

Features

  • Wallet Management

    • Create new wallets
    • Load existing wallets
    • Print active wallet address
    • Check SOL balances of active wallet
    • Request SOL airdrops (devnet)
  • Token Operations

    • List supported tokens
    • View token details
    • Add new tokens (admin only)
    • Remove tokens (admin only)
    • Mint SPL tokens to active wallet (admin only)
    • Check token balances of active wallet
  • Transaction Features

    • Deposit SOL to program vault
    • Deposit SPL tokens to program vault
    • View vault balances

Prerequisites

  • node.js
  • npm
  • tsc

Installation

npm install

Usage

  1. Start the REPL interface:
npm start
  1. Use the numbered menu to interact with different features:
    • 1-3: Wallet management
    • 4-5: SOL operations
    • 6-9: Token management
    • 10-15: Transaction operations
    • 16: Exit

Configuration

  • The program uses Solana devnet by default
  • Default wallet path is set to ./admin.json
  • Program ID: 7gyXGXDd3medjvNJA3ge7sYAkhyjy19vQ3kbMdZ9K4V6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published