Seamless Solana Interaction from Your Terminal

Sevin CLI is a lightweight command-line interface tool designed for developers, power users, and automation workflows to interact with the Solana blockchain efficiently.

Download Now Documentation
sevin-cli ~ zsh
$ npm install -g sevin-cli
Successfully installed Sevin CLI v1.2.0
$ sevin --version
Sevin CLI v1.2.0
$ sevin wallet connect
Connecting to Solana wallet... Wallet connected successfully! Address: 8dJJ1bDi6Wxfk8D...
$ sevin token balance
SOL: 12.45 USDC: 250.00 RAY: 75.32
$ sevin deploy contract --path ./my-contract.sol

Powerful Features

Sevin CLI provides a comprehensive set of tools for interacting with the Solana blockchain

Token Management

Easily manage your tokens, check balances, and perform transfers with simple commands.

Smart Contract Interaction

Deploy, call, and manage smart contracts directly from your terminal.

On-Chain Analytics

Access real-time analytics and insights about the Solana blockchain.

Scripting Capabilities

Automate workflows with powerful scripting capabilities and batch operations.

Secure Operations

Built-in security features to protect your assets and transactions.

Lightning Fast

Optimized for performance with minimal resource usage and fast execution.

Documentation

Everything you need to know about using Sevin CLI

Getting Started with Sevin CLI

Sevin CLI is a powerful command-line interface for interacting with the Solana blockchain. It provides a comprehensive set of tools for developers, power users, and automation workflows.

What is Sevin CLI?

Sevin CLI is a lightweight command-line interface tool designed for seamless interaction with the Solana blockchain. It enables fast and efficient access to Sevin's decentralized features—such as token management, smart contract interactions, and on-chain analytics—directly from your terminal.

Key Features

  • Token Management: Check balances, transfer tokens, and manage your assets
  • Smart Contract Interaction: Deploy, call, and manage smart contracts soon
  • On-Chain Analytics: Access real-time data and insights about the Solana blockchain
  • Scripting Capabilities: Automate workflows with powerful scripting
  • Secure Operations: Built-in security features to protect your assets

System Requirements

  • Node.js v14.0.0 or higher
  • npm v6.0.0 or higher
  • Operating Systems: macOS, Linux, Windows 10/11

Installation

Installing Sevin CLI is straightforward. You can install it globally using npm or yarn.

Using npm

npm install -g sevin-cli

Using yarn

yarn global add sevin-cli

Verifying Installation

After installation, verify that Sevin CLI is installed correctly by checking the version:

sevin --version

Manual Installation

If you prefer to install manually, you can download the appropriate package for your operating system from our downloads page.

Basic Usage

Sevin CLI follows a simple command structure that makes it easy to use and remember.

Command Structure

Sevin CLI commands follow this general structure:

sevin [command] [subcommand] [options]

Getting Help

You can get help for any command by using the --help flag:

sevin --help

Or for a specific command:

sevin wallet --help

Common Commands

Command Description
sevin --version Display the current version of Sevin CLI
sevin wallet connect Connect to a Solana wallet
sevin token balance Check token balances in your wallet
sevin token transfer Transfer tokens to another address
sevin network stats Display current Solana network statistics

Wallet Management

Sevin CLI provides comprehensive wallet management features to help you securely manage your Solana wallets.

Connecting to a Wallet

Connect to an existing wallet using the following command:

sevin wallet connect

You'll be prompted to enter your wallet's private key or seed phrase. For security, you can also use a keystore file:

sevin wallet connect --keystore /path/to/keystore.json

Creating a New Wallet

Create a new wallet with:

sevin wallet create

This will generate a new wallet and display the seed phrase. Make sure to save this seed phrase in a secure location.

Checking Wallet Information

View your wallet information with:

sevin wallet info

Token Operations

Sevin CLI makes it easy to manage your tokens on the Solana blockchain.

Checking Token Balances

Check the balance of all tokens in your wallet:

sevin token balance

Or check the balance of a specific token:

sevin token balance --token SOL

Transferring Tokens

Transfer tokens to another address:

sevin token transfer --to ADDRESS --amount AMOUNT --token TOKEN

Example:

sevin token transfer --to 8dJJ1bDi6Wxfk8D... --amount 1.5 --token SOL

Swapping Tokens

Swap one token for another:

sevin swap FROM_TOKEN TO_TOKEN --amount AMOUNT

Example:

sevin swap SOL USDC --amount 1.5

Smart Contracts soon

Sevin CLI will soon provide powerful tools for deploying and interacting with smart contracts on the Solana blockchain.

Deploying a Smart Contract

Deploy a smart contract to the Solana blockchain:

sevin deploy contract --path /path/to/contract.sol

Calling a Smart Contract

Call a function on a deployed smart contract:

sevin call contract --address CONTRACT_ADDRESS --function FUNCTION_NAME --args ARG1,ARG2,...

Viewing Contract Information

View information about a deployed contract:

sevin contract info --address CONTRACT_ADDRESS

Analytics

Sevin CLI provides powerful analytics tools to help you understand the Solana blockchain.

Network Statistics

View current network statistics:

sevin network stats

Transaction History

View transaction history for an address:

sevin tx history --address ADDRESS

Token Analytics

View analytics for a specific token:

sevin token analytics --token TOKEN

Advanced Usage

Sevin CLI provides advanced features for power users and developers.

Scripting with Sevin CLI

Sevin CLI can be used in scripts to automate workflows. Here's an example script that transfers tokens to multiple addresses:

#!/bin/bash

# Example script to transfer SOL to multiple addresses
addresses=(
  "address1"
  "address2"
  "address3"
)

for addr in "${addresses[@]}"; do
  sevin token transfer --to $addr --amount 0.1 --token SOL
  echo "Transferred 0.1 SOL to $addr"
done

Configuration File

Sevin CLI uses a configuration file located at ~/.sevin/config.json. You can customize various settings in this file:

{
  "network": "mainnet",
  "rpcUrl": "https://api.mainnet-beta.solana.com",
  "defaultWallet": "~/.sevin/wallets/default.json",
  "gasPrice": "auto",
  "timeout": 30000
}

API Reference

This section provides a comprehensive reference for all Sevin CLI commands.

Global Options

Option Description
--help Display help information
--version Display version information
--network [network] Specify the network (mainnet, testnet, devnet)
--rpc-url [url] Specify a custom RPC URL
--verbose Enable verbose output

Command Reference

For a complete list of commands and their options, please refer to our full API documentation soon.

Ready to Get Started?

Download Sevin CLI now and experience the power of Solana blockchain right from your terminal.

macOS

Version 1.2.0

Download

Windows

Version 1.2.0

Download

Linux

Version 1.2.0

Download

npm

Global package

Install
View on GitHub

Join Our Community

Connect with other Sevin CLI users and developers

GitHub

Contribute to the project, report issues, and explore the source code.

Visit GitHub soon

Discord

Join our Discord server to chat with other users and get help.

Join Discord soon

X

Follow us on X for the latest updates and announcements.

Follow @SevinCLI
Copied to clipboard!