Signing a message is slightly different from signing a transaction. It does not cost gas / money /
We do this to verify that you are the owner of the wallet and in return , it give your browser a security credential that ensures that only you are sending instructions to our servers. This is the same as how websites work when you login with an email.
4
Fill in the Buy Energy/Bandwidth form
Choose "Energy" or "Bandwidth" on the switch button
Enter your target address ( it should automatically fill in your connected wallet address)
You can customize the target address except smart contract addresses
Enter Price
Choose Duration
You can click on the input area with the time and clock icon to get a menu of duration options
Check that you meet the minimum requirements for "amount" and "price" , there is a variable pricing mechanism that sets a minimum price depending on the amount and duration of energy rental.
Click the "Buy Button"
Confirm the order
6
Sign the transaction
Sign the transaction to start processing the order
7
Wait for transaction to be confirmed
TRON transactions will be confirmed roughly 1 minute after being signed and broadcast to the network. The system will then fill your order if energy/bandwidth is available. You will be able to see your order in the history section
If you did not set "Instant Buy" in advanced settings (disabled by default) and there is insufficient resources available at the time of processing , your order will be shown on the "Sell Order" section where anyone can manually sell energy/bandwidth to fill your order.
Why do you need to wait for 1 minute for the buy order to be processed?
We implemented high levels of security standards similar to Centralized Exchanges (CEX) like Binance to wait for block confirmation , which is 1 minute on TRON. This means that your transaction is final on blockchain and can never be changed. This prevents double-spend attacks on our system ensuring your funds are secure to be used to pay to energy providers
If a dApp doesnt wait for the transaction to confirm , a known exploit called a "double-spend" attack can lead to draining the dApps wallet. For an energy market like us, it means energy sellers might not get paid and buyers will end up not getting the resources.