Giter VIP home page Giter VIP logo

tron-contracts's Introduction

tron-contracts

Solidity smart contracts for the TRON blockchain.

This repository contains a library of sample smart contracts for the TRON network.

Configured with TronBox.

Contracts include but not limited to implementations of standard-compliant tokens, library kits, and common utilities.

Usage

Install tronbox:

npm install -g tronbox

Clone repo:

git clone https://github.com/tronprotocol/tron-contracts.git

Import Address and Private Key:

Import an address and private key of an account into the "from" and "privateKey" fields inside the tronbox.js file. Make sure it has test TRX to deploy the contracts. You can request some here.

Compile:

tronbox compile

Migrate:

tronbox migrate --reset

Security

This repository is maintained by the TRON community and is aimed to provide sample contracts with quality and security in mind. Please use common sense when using contracts associated with real money! These contracts are provided as-is; TRON Foundation takes no responsibility for any decisions made with these contracts.

Contribute

Pull requests and suggestions are welcome.

Feel free to consult the Ethereum Conversion Guide to port Ethereum smart contracts over to TRON.

License

Released under the MIT License.

tron-contracts's People

Contributors

wevans-tron avatar taiyangc avatar dbuarque avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.