Publications

Filter





















34 Publications found

TRON Developer Guide—DECENTRALIZED EXCHANGES—Getting Started

Found: 7/2/2019
Finder: Blockchaindex robot
The TRON network natively supports decentralized exchanges. A decentralized exchange consists of multiple trading pairs. A trading pair (Exchange) is an Exchange Market between token and token, or between token and TRX. Any account can create a trading pair between any tokens, even if the same pair already exists in the TRON network. Trading and price fluctuations of the trading pairs follow the Bancor Protocol. The TRON network stipulates the weights of the two tokens in all trading pairs are equal, so the ratio of their balance is the price between them. For example, let’s say a trading pair contains two tokens, ABC and DEF. ABC has a balance of 10 million and DEF has a balance of 1 million. Since their weights are equal, 10 ABC = 1 DEF?—?that is, the price of ABC to DEF is 10ABC/DEF.
Rating: 0 Views: 1 Comments: 0 Continue reading >

TRON Developer Guide—TronGridJS

Found: 6/24/2019
Finder: Blockchaindex robot
TronGridJS is a Javascript library for utilizing TronGrid APIs to retrieve blockchain data from the TRON network. Compatibility Version built for Node.js v6 and above. Version built for browsers with more than 0.25% market share.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—TRON-STATION—Getting Started

Found: 6/24/2019
Finder: Blockchaindex robot
Tron Station is a web application and Javascript API Library for estimating Tron energy and bandwidth consumption based on Tron network. Developers can quickly review energy and bandwidth points information before deploying/triggering a smart contract or make a transaction.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—Integrating Blockchain APIs

Found: 6/21/2019
Finder: Blockchaindex robot
Query via Transaction ID curl https://api.trongrid.io/event/transaction/5c3747ffa94fc87a2188708a9e0758cbd01f000d3d01f6589651921930183f6a Querying by Contract Events You can query a contract for events and sort the results based on parameters passed in. Case 1 Pass since or fromTimestamp Example:
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—TRON GRID—Getting Started

Found: 6/20/2019
Finder: Blockchaindex robot
TronGrid provides an API interface into the TRON Network. Similar to Infura on the Ethereum platform, Tron Grid provides Tron clients running in the cloud, so you don’t have to run one yourself to work with Tron. Tron Grid allows developers to access important tools to develop decentralized applications on the Tron protocol.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—TRX Functions

Found: 6/19/2019
Finder: Blockchaindex robot
Get Current Block tronWeb.trx.getCurrentBlock(); Returns the current block on the FullNode. Get Block tronWeb.trx.getBlock(12345); Gets a block by height/ID. If none is provided, it returns the default block.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—Transaction Management

Found: 6/18/2019
Finder: Blockchaindex robot
Send Trx tronWeb.transactionBuilder.sendTrx("TXPHCzmAmjyERtWES6EXTYqUPfJfQSzp2m", 100, "TZDCUCy3Wn1HhJVseANdrhzqDYCTEue8xT"); Create an unsigned transaction.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—TRON-WEB—Tron-Web Class

Found: 6/17/2019
Finder: Blockchaindex robot
Tron-Web Object Creates an instance of the Tron-Web javascript library. This encapsulates all related modules in addition to utility functions.
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide?—?Smart Contract Deployment

Found: 6/16/2019
Finder: Blockchaindex robot
The ./contracts directory contains all your contracts. By default, there is a contract file and a library file within the .sol extension. Even though the library file has some unique properties, for simplicity purposes, it will be referred to as a contract. Tronbox requires the contract name and file name to be defined the same. For example, if the file name is Test.sol, we can write the contract as follows:
Rating: 0 Views: 0 Comments: 0 Continue reading >

TRON Developer Guide—TRON-WEB—Getting Started

Found: 6/16/2019
Finder: Blockchaindex robot
What is Tron-Web? TronWeb is a Javascript library of TRON full node’s API functions. To include the TronWeb library in your DApp, you can instantiate the TronWeb object.
Rating: 0 Views: 0 Comments: 0 Continue reading >