T-SOL is a command-line tool that allows you to transfer the entire SOL balance from multiple Solana accounts to a single destination address.
- ๐ธ Transfer SOL from multiple accounts to one destination address
- ๐ Read private keys from a file
- ๐งฎ Calculate and account for transaction fees
- ๐ Automatic processing of all accounts without individual confirmations
- ๐ Display transaction details and balances
- Node.js (v12 or higher)
- npm (Node Package Manager)
-
Clone this repository:
git clone https://github.com/Tnodes/t-sol.git cd t-sol
-
Install the dependencies:
npm install
- Create a file named
private_key.txt
in the project root directory. - Add the private keys (only privatekey not pharse) of the Solana accounts you want to transfer from, one per line.
- Run the script:
node index.js
- Enter the destination address when prompted.
- The script will automatically process all accounts and transfer the funds.
private_key.txt
file secure and never share it. Consider deleting it after use.
By default, the script connects to the Solana mainnet. To use a different network, modify the network
parameter in the SolanaTransfer
constructor in index.js
.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
@Tnodes
This tool is provided as-is, without any warranties. Use at your own risk. Always double-check the destination address before running the script, as all transfers will proceed automatically once started.