Inspiration

We were 👀 looking for a way to allow each user to take advantage of the possibility to stake TRX and get free transactions through energy and bandwidth as this is an amazing 🤩 feature of #TronNetwork but the issue was that regular user might not have enough money to buy enough TRX to allow them to do transactions using staked assets(TRX)

What it does

Well we found some interesting facts:

  1. User can stake any amount of TRX
  2. Regardless of the stake TRX where you get energy you can delegate energy to any address and the user will pay only bandwidth for delegation and might pay nothing if they don’t use the 600 bandwidth.
  3. A user that has enough TRX can use the other s delegation energy to fill his energy and can delegate to others but only within its staked amounts.
  4. If a user has not enough energy it cannot use at all the energy as it does accumulate it just sit there

So we created a system where users can delegate their energy to a main address regardless of their amount and they could use that energy as the energy will accumulate in Energy Points and when gathered enough users each user can use its energy to do a transaction from time to time so that its energy doesn’t go to waste.

Apart from that we were looking also for a stabilizer so that the energy should have a consistent use so that the more its constantly use the more we could avoid spikes where all the energy on chain is used and even if the user has Energy Points couldn’t claim and as we were looking to grow the stake amounts and to attract users on long term we were looking also to create a debt system where users could give us TRX to get energy we take it and stake it and get the Energy up to the point where the debt has been paid and then the uses can continue to accumulate in Energy Points or they could unstake it and claim the TRX back. Users will use the Energy Points right away and could get the TRX back in x days.

How we built it

Develop a Telegram Bot @TronCommunityBot which will offer a way to Here are the available commands:

🚀 /start: Start the bot and get a referral link.

❓ /help: Get help on how to use the bot.

👤 /userProfile: Get all info about

🌳 /referralTree: Your referral tree

👛 /wallets: All the wallets that you have active delegation

⚡️🌐 Energy & Bandwidth Points Commands ⚡️🌐:

📈Staking

💰 /delegate address: Possibility to stake Energy ⚡️ or Bandwidth 🌐 to the bot 🤖

💰Claim

⚡️ /claimEnergy address amount [timeframe=1h]: Claim energy for ⚡️⛓️ on chain transactions.

🌐 /claimBandwidth address amount [timeframe=1h]: Claim bandwidth 🌐⛓️ for on chain transactions.

🔖 /reserveEnergy address amount [timeframe=1h]: Reserve energy for 24 hours.

⚡️ /fastReserve address amount [timeframe=1h]: Quickly reserve energy for immediate use.

📉Debt

📉⚡️ /debtEnergy address amount [timeframe=1h]: Create a debt order to use energy on and pay the TRX transfer.

📉🌐 /debtBandwidth address amount [timeframe=1h]:

🏦Loan

🏦 /loan address type [timeframe=30d]: Create a loan order to get Trx transfer against ⚡️Energy or 🌐Bandwidth or both.

💥Operational

✅ /whitelistAddress address: Whitelist an address to use energy points across multiple wallets.

📚History

📈 /historyStaking: All th history operations for staking

📉 /historyDebt: All the history operations for debts

💰 /historyClaim: All the history operations for claims

🏦 /historyLoans: All the history operations for loans

📖 Tutorial Commands 👁️👁️:

➕ /addTutorial Tutorial Name: Add a new tutorial (Admin only).

📜 /tutorials: Show the list of available tutorials.

Challenges we ran into

We need a stability system so that each user will get each share of Energy at some point so the main reason for stability is a continuous use of resources so that we don't get to the point where all the users are trying to claim their Energy but we cannot offer it as there is not enough resources on chain so basically we need stabilizing mechanism:

⚖️ 1 Stability Mechanism: At all time know the Energy Points that the team has offline so all the Energy Points from all the users - for that we need just to add all the points offline

⚖️ 2 Stability Mechanism: When the Energy on chain is full incentive the users to claim their Energy Points. Basically for 1 Energy Points they could get 1.1 Energy on chain so they will receive more with 10%.

⚖️ 3 Stability Mechanism: Team also has an important share of the Total Energy Points - compute the team share in the ecosystem and try and keep a good percentage in the ecosystem

⚖️ 4 Stability Mechanism Disable the DEBT mechanism if on chain Energy is not enough so basically the debt mechanism in Energy Points can be used from TEAM Energy Balance and only if the Energy on Chain is enough and the percentage of TEAM balance is stable.

Accomplishments that we're proud of

🔍 We found a way (users must delegate energy to us) so that the users can keep their assets secure in their wallet so that we don't need to take their TRX. We just need them to delegate the Energy to us, and when they accumulate enough, they can claim to do transactions.

What's next for Tron Community Energy Bot

🌐 Add multiple platforms such as Discord Bot, Website

🌟 Add more features to the bot

📈 Attract more users to use the bot

Risks:

  1. We will use a single address to have all the TRX staked (only for debts) and that means that the address is our core address. To reduce this risk we will use one address and offer the permission to delegate and undelegate energy to a second address and we will use the second address for operations(vote, stake, unstake). - MultiSign

  2. Energy in one day gets exhausted. In order to have predictability we will have a reserve system so that the users can reserve energy to use in 24 hours or ASAP (as soon as possible)

  3. Energy Points inflation. We could reach a situation where more users stake TRX a massive amount, and the Energy levels drops and if we got for 10,000TRX 100,000 Energy we could drop to 50,000 Energy but the users will still have in their wallet 100,000 Energy although in reality our wallet has 50,000 Energy. For this we make multiple actions: a. We offer reduce timeframe for renting 1hour so that we have a bigger pool and we could rent multiple times up to 1.5x b. Teams also offer an additional amount of TRX c. We also will have long term voting rights gather and the amount of Energy on Chain will be bigger than the Energy Points d. We will track also all the Energy Points that users has, all the energy that exists on chain. and create a risk system which will offer discounts or apply penalties on a specific decision base. No one is renting we might decide to apply penalties, too much renting again penalties so that a claim daily will exist and consistent. e. Debt in Energy - If the Energy is not claim in a day we might offer reduce % so that we will offer Energy for TRX locked staked

  4. Offline database. The Energy points will be kept in an offline database. We want to be a transparent as possible so that we will create endpoints statistics so that the users can get exactly what they own and who own it. /userStats - will show each telegram users what Energy, what TRX, what DEBT has an the total accumulated

  5. The maximum amount of Energy that can be delegated. So if we go with the approach where users must delegate the energy to our address the maximum amount of energy that can be delegated by us to users at one time can be the maximum amount of TRX that the Team staked plus the total DEBT

Share this project:

Updates