Project Name: Tron Community Energy Bot
Project Track: Integration
Team Name: Web3Vision
Team Member(s): @OnChainVision @constantinpricope201 @MirelaIoana24
DevPost Project Link: [TODO]
Project Goal: We have two scopes for community energy bot:
- is to allow people staking small amount of TRX in order to benefit the energy one day so the energy will accumulate in an off-chain database and each user will have Energy Points and this Energy Points can be redeem anytime if a threshold is reach!
- to create a debt system where users pays only x% of the burn amount for a transaction he will give us the TRX and we will stake the TRX and get Energy Points daily and he will receive the TRX after X days. - this we believe that will attract loyal users that will receive their TRX back in the future. Is a way to have free transaction(if you don’t take bandwidth cost 600 free daily).
Project Value:
- Will provide a way for those that have lower amounts to be able to stake in a Community. And be able to /claimEnergy on their wallets and also have a /whitelistAddress were the OnChainVision ecosystem will automatically use the Energy if the user has enough Energy Points.
- Create a DEBT system to allow new users to get Energy on spot while stake locking the TRX and after X days they will get their TRX back
Project Info:
Develop a Telegram Bot @TronCommunityBot which will offer a way to
- /claimEnergy (address, amount, timeframe)
** If you want to claim a second time you must first /unclaimEnergy as you cannot claim more - /unclaimEnergy (address) -for cashback in Energy Points
- /whitelistAddress (address) - The Telegram users can whitelist an Address that will automatically take the Energy points of the users (telegram username from multiple wallets that /giveEnergy) and will use those energy points to do transaction over @OnChainVision
- /reserveEnergy (address, amount, timeframe) - Will create an Energy Reservation in 24 hours
- /fastReserve (address, amount, timeframe) - will create a reservation so that the Energy as soon as possible
- /debtEnergy (address, amount, timeframe) - will create a debt order where users will pay for the Energy in a lock TRX system. For this a certain interest will be applied like 10% interest meaning that if they rent 20k Energy they need to pay back 22k Energy and after that can undelegateEnergy wait 14 days so that the system can unstake the amount and after that /claimDebt
- /undelegateDebt (address)
- /claimDebt
- /giveEnergy (address, amount)
- /giveMoreEnergy
- /giveLessEnergy
- /takebackEnergy
Q&A section:
Q1: Does your team is involved?
A1: Yes we aim to increase the @OnChainVision user base by providing free transaction through this system and we also will stake Energy with all our users.
Q2: How much energy can be delegated at a specific time?
A2: We can delegate the Energy that the Team staked and not more. We will have to undelegated and delegate again. The maximum is the team staking.
Q3: Why only 1 hour to use the Energy?
A3: We focus on users to be able to do transactions not on Renting them energy. The scope is that users are doing transactions even though they have a relatively small amounts. We also cannot delegate more than the team staked so we must undelegated as fast as possible.
Q4: What if I choose to withdraw the delegation of Energy before the min 20,000 k threashold or I undelegate with some balance on?
A4: You will keep those Energy Points if you use the /takebackEnergy command
Q5: What if I undelegate Energy without using /takebackEnergy command?
A5: We do daily check in order to update balances and you will loose the entire balance if you don’t fallow each steps as mention
Q6: What if I have multiple wallets, can I use all their balances combined?
A6: Yes You can use multiple addresses and they combine the Energy points from multiple address if you made all the commands from a single telegram username
Q7: Can I increase or decrease my delegation from staked amount?
A7: Yes you can do that please use /giveMoreEnergy or /giveLessEnergy
Q8: I have some Debt can I have more debt?
A8: Yes but remember that creating more debt it will mean that the current debt will not be settle at the mention time and it will add with the newly created debt. Ex: So if you have a \
- 100 TRX locked staking with the initial debt of 100k Energy with payback of 110k Energy and it already pass 30 days and each day you get 1k Energy and you paid 30k Energy Debt and you have left 80k Energy so 80 days left up to /undelegateDebt
- You want to create a new debt (to get Energy) of 100k again at 100 TRX debt with 110k paid back. You will have 200 TRX in locked staking and each day you will get 2k Energy and a toatal Energy debt of 80k+110k=190k Energy debt
- In this scenario you can claim the 200 TRX after 190k (Energy Debt) / 2k (Daily Energy Income) = 95 days.
Project Website:
Telegram: Contact @TronCommunityEnergyBot - Nile TestNet
Telegram: Contact @TronCommunityBot - Mainnet
Project Test Instructions:
Scenarios
-
Scenario A STAKER
You have staked 100 TRX you get 1000 Energy and you want to stake with us. You will delegate the Energy to an address by creating an order and you will pay only bandwidth.
Step 1. /giveEnergy - will show how to stake and how to give Energy to our address. You need to call this command otherwise you won’t receive Energy Points. You can /giveEnergy from multiple addresses for each address you must create a new order. If you want to increase the Energy that you stake with us you can call /giveMoreEnergy and delegate again.
Step 2. Sit back and relax and add Energy Points up to 20,000 Energy Points. Each day each of your wallet will generate Energy Points.
Step 3. /claimEnergy - if you have 20,000 Energy points you can now claim them and use them in order to do transactions the Energy will be in your wallet for 1 hour.
You can call /claimEnergy for any address so if you intend to sell your energy or to give your energy to someone else is your right
Step 4. (Optional) - if you did the transaction you can call /unclaimEnergy and if you call the /unclaimEnergy within 5 minutes after the transaction you receive back 10% in cashback, if you call /unclaimEnergy within 10 minutes you receive back 5% as cashback in Energy points -
Scenario B DEBTs
You need Energy fast and you do not want to burn and you also want to keep those TRX. You will create a DEBT system where you will give us the TRX and we will stake those TRX and we will get daily Energy and after we generated more Energy with your TRX than we give you plus an additional Energy you will get your TRX back - this must be asked for and will not happen automatically.
Step 1. Create an order /debtEnergy - Will create an order if successfully. (We might disable DEBT if we don’t have enough Energy or we don’t want to enable DEBT)
Step 2. Make the payment transfer the TRX amount to the given address.
Step 3. The Energy is in your wallet and is available for 1 hour.
Project Details:
- We will use one unique address later on add also the MultiSign in the wallet which will get the TRX from each user and stake it for Energy.
- The project income will be from the voting rights. The project will retain 40% for development costs and 60% will be staked further for Energy and the users will receive more Energy Points.
- We will have a reserveEnergy point where users can say reserve me the energy in 24 hours
- If Energy unused we will use a DEBT system where users can claim Energy by transfering TRX in a staked locked on a certain amounts of days. The numbers of days will depend on:
a. What Energy we have on chain
Smart Contract links:
N/A.
We use a simple address due to the fact that smart contracts use energy to be trigger.
Project Milestones:
- Design phase July-September
- Alpha development & testing - Initial development
- Beta developement & testing
- Release
Risks:
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
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)
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
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
The maximum amount of Energy that can be delegated. So if we go with the approch 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