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 DocumentationSevin CLI provides a comprehensive set of tools for interacting with the Solana blockchain
Easily manage your tokens, check balances, and perform transfers with simple commands.
Deploy, call, and manage smart contracts directly from your terminal.
Access real-time analytics and insights about the Solana blockchain.
Automate workflows with powerful scripting capabilities and batch operations.
Built-in security features to protect your assets and transactions.
Optimized for performance with minimal resource usage and fast execution.
Everything you need to know about using 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.
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.
Installing Sevin CLI is straightforward. You can install it globally using npm or yarn.
npm install -g sevin-cli
yarn global add sevin-cli
After installation, verify that Sevin CLI is installed correctly by checking the version:
sevin --version
If you prefer to install manually, you can download the appropriate package for your operating system from our downloads page.
Sevin CLI follows a simple command structure that makes it easy to use and remember.
Sevin CLI commands follow this general structure:
sevin [command] [subcommand] [options]
You can get help for any command by using the --help
flag:
sevin --help
Or for a specific command:
sevin wallet --help
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 |
Sevin CLI provides comprehensive wallet management features to help you securely manage your Solana wallets.
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
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.
View your wallet information with:
sevin wallet info
Sevin CLI makes it easy to manage your tokens on the Solana blockchain.
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
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
Swap one token for another:
sevin swap FROM_TOKEN TO_TOKEN --amount AMOUNT
Example:
sevin swap SOL USDC --amount 1.5
Sevin CLI will soon provide powerful tools for deploying and interacting with smart contracts on the Solana blockchain.
Deploy a smart contract to the Solana blockchain:
sevin deploy contract --path /path/to/contract.sol
Call a function on a deployed smart contract:
sevin call contract --address CONTRACT_ADDRESS --function FUNCTION_NAME --args ARG1,ARG2,...
View information about a deployed contract:
sevin contract info --address CONTRACT_ADDRESS
Sevin CLI provides powerful analytics tools to help you understand the Solana blockchain.
View current network statistics:
sevin network stats
View transaction history for an address:
sevin tx history --address ADDRESS
View analytics for a specific token:
sevin token analytics --token TOKEN
Sevin CLI provides advanced features for power users and developers.
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
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
}
This section provides a comprehensive reference for all Sevin CLI commands.
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 |
For a complete list of commands and their options, please refer to our full API documentation soon.
Download Sevin CLI now and experience the power of Solana blockchain right from your terminal.
Connect with other Sevin CLI users and developers