For sweeping balances from multiple private keys to one destination wallet, please refer to this repository
TRX AutoSweep is a script written in JavaScript that allows for the automatic sweeping of TRX (Tron) funds from a source wallet to a destination wallet. It utilizes the TronWeb library to interact with the Tron blockchain.
- Checks the available balance of a wallet address.
- Transfers the funds to the specified destination wallet if there are available funds.
- Periodically performs the auto-sweeping process at regular intervals.
- Node.js
- TronWeb library
- Install tronweb:
npm install tronweb
- Modify the
YOUR_PRIVATE_KEY
&DESTINATION_ADDRESS
variables in theauto-sweep.js
file with your desired values. - Run:
node auto-sweep.js
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or submit a pull request.
This project is licensed under the Mozilla Public License 2.0.
Please note that the use of this script is at your own risk. Ensure that you have proper authorization and adhere to all legal and regulatory requirements when using it to manage TRX wallets and transfer funds.
- TronWeb - JavaScript library for Tron blockchain interactions.