Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.76 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.76 KB

Note

For sweeping balances from multiple private keys to one destination wallet, please refer to this repository

TRX AutoSweep

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.

Features

  • 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.

Prerequisites

  • Node.js
  • TronWeb library

Getting Started

  1. Install tronweb: npm install tronweb
  2. Modify the YOUR_PRIVATE_KEY & DESTINATION_ADDRESS variables in the auto-sweep.js file with your desired values.
  3. Run: node auto-sweep.js

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or submit a pull request.

License

This project is licensed under the Mozilla Public License 2.0.

Disclaimer

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.

Acknowledgments

  • TronWeb - JavaScript library for Tron blockchain interactions.