Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.49 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.49 KB

Developing DApp on Tron Blockchain

Tron is an open source blockchain platform that lets developers build smart contracts and dapps.

Getting Started

For building Tron decentralized application you need deploy smart contract onto Tron Network. See this tutorial for detailed guide on how to deploy the smart contract on a Tron network and run node application.

Prerequisites

Before starting you need to change a few things in index.js file,

  • Line 18: - Enter Private key of your account
  • Line 22: - Enter your Tron account address
  • Line 24: - Enter address where your smart contract is deployed.

After changing open up terminal or command prompt and run below command.

npm install

Starting Server

After all node-modules installled then run below command in your terminal.

node index.js

You will see message like this if your application is successfully running,

Server is started at 8001...

Then go to 127.0.0.1:8001 in your browser.

Demo