CLI Solana Guide
This guide will show you how to use the Solana CLI to check your balance, get your address, make a deposit, send funds to our wallet, and verify your transaction results.
1. Checking Your Balance
To check the balance of your wallet, use the command:
solana balance
Replace <your_wallet_address>
with your wallet address.
2. Getting Your Address
To view your wallet address, use the command:
solana address
3. Making a Deposit
To make a deposit to your wallet, send funds to your wallet address using any supported exchange or wallet service.
4. Sending a Transaction to Lottery Address
Once you have funds in your wallet, you can send them to our wallet using the following command:
solana transfer soLV8oMjQtwihUmYEJsbgpdFya7CrmC1JYujSoLmV47 amount
OUTPUT: Signature: signature
Replace amount
with the amount you wish to transfer.
5. Verifying Transaction Results
To verify the results of your transaction, first check your balance again to see if the transfer was successful:
solana balance
It may take 1-2 minutes for the transaction to be processed.
6. Viewing Incoming Transaction History
To view the history of incoming transactions, use the command:
solana transaction-history
This command will display a list of all transactions for the specified address.
To check a specific transaction, use the command:
solana confirm
Replace <transaction_signature>
with the signature of the transaction you want to verify.
You can also check transaction history and other information on Solana Beach.
For more information, visit the official Solana CLI documentation.