The TRON Developer Hub

Welcome to the TRON developer hub. You'll find comprehensive guides and documentation to help you start working with TRON as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Step to become a Candidate

Super Representative Candidate Application Process

All willing users can apply to become Super Representatives Candidate, but to prevent malicious attacks, we have set up a threshold for admittance—to run for Super Representative, 9999 TRX in the applicants’ account will be burnt. After successful application, users can run for Super Representatives.

  • Click "APPLY TO BE A SUPER REPRESENTATIVE CANDIDATE" button.

  • Write your personal website address and check information below website address.

Note: 9999 TRX will be paid when users apply to be a SR candidate.

Tronscan provides a way for Super Representatives to publish their information right where the voters are, on Tronscan!

Super Representatives can use this template to build a static page which will be shown on Tronscan. The link will be placed in the voting overview page right next to the name of SR.

The Super Representatives can manage their own content by editing files in the Github repository.

This guide assumes that you already have an account with Super Representative (candidate) status.

  1. Copy/Fork the Template on Github

After forking the repository you will be navigated to your own tronsr-template version of the repository where you can make changes.

  1. Fill in the Template

The template can now be modified by editing files on Github.

  • Click the file you want to edit
  • Open edit mode
  • Add some information to the file

Files are written in markdown format. An excellent intro can be found at https://guides.github.com/features/mastering-markdown/

  • Update the logo.png and banner.png

    Then click on "choose your files" and make sure the logo or banner you want to upload is named logo.png or banner.jpg to overwrite the placeholder images.

After you filled in the template it can now be published on https://tronscan.org

  1. Publish to Tronscan
  • Navigate to https://tronscan.org
  • Login to your account. In this example it shows using the private key, but you may use any login method.
  • Open account and make sure the "Representative" label is visible
  • Scroll to the bottom and click "Set Github Link"
  • Enter your Github username and then press "Link Github"
  • View your new Page!

Example

The example shows which files are presented where. Whenever the files on Github are modified the page will instantly be updated

Voting

Every account in TRON’s network can vote for the Super Representatives they support. Voting requires TRON Power (TP), which is determined by the users’ frozen balance.

TP Calculation: 1 TP for 1 frozen TRX

Once you unfreeze your balance, an equivalent amount of TP is also lost, meaning that previous votes cast may no longer be valid. You can refreeze your balance to revalidate the votes.

Note: TRON network only records the latest votes, so every new allocation of votes you make replaces all previous records.

  • e.g.
freezebalance password 10,000,000 3    // 10 TP for 10 frozen TRX
votewitness password witness1 4 witness2 6    //4 votes for witness1 and 6 votes for witness2
votewitness password witness1 3 witness2 7    // 3 votes for witness1 and 7 votes for witness2
The final result of the above commands is 3 votes for witness1 and 7 votes for witness2.

# Freezing/Unfreezing Balance

## Why are Tokens Frozen?

The balance freezing mechanism is set up out of two considerations:
+ To prevent malicious spam transactions from clogging the network and causing delayed transaction confirmation.
+ To prevent malicious voting.

## Freeze/Unfreeze Mechanism

Once the balance is frozen, the user will receive a proportionate amount of TP and bandwidth. TP represents voting power whereas bandwidth points are used to pay for transactions. Their usage and means of calculation will be introduced in following sections.

Frozen assets are held in your frozen account and cannot be used for trading.

The fixed frozen duration is 3 days, after which you can unfreeze your balance any time you like manually. Balance unfrozen will be transferred back into your current account.

More TP and bandwidth points can be obtained by freezing more balance. The balance can be unfrozen after 3 days from the latest freezing.

+ The freezing command is as follows:
freezebalance password amount time
amount: the unit of frozen balance is sun. The minimum balance frozen is 1,000,000 sun, or 1 TRX.
time: frozen duration lasting from date of freeze and date to unfreeze is 3 days.
  • e.g.

    freezebalance password 10_000_000 3

  • Unfreezing command:

    unfreezebalance password

Updated 8 months ago

Step to become a Candidate


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.