Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

simbadMarino/tron-energyRouter

Repository files navigation

TRON Energy Efficient solutions

Energy Router Contract

Goal: Sponsor Deposits using a single energy pool from Contract Owner's energy

After careful thoughts and industry trends, this is not a recommended approach as requires users to interact with the contract directly to perform a payment, while its convinient to save costs it still requires token approval and additional risks for end user. Useful only for educational purposes.

If you still want to use it, do as follows:

  1. Deploy DepositsEnergyRouter.sol contract
  2. Assign Contract Sponsor to 100%
  3. Perfom Token approval using your own UI (You can check the /client example adjusting th necesary ABI and your own contract address
  4. Now you can sponsor any TRC20 transfers using the "executeTransfer" function from the DepositsEnergyRouter contract.

Enjoy

Releases

No releases published

Packages

 
 
 

Contributors