Giter Site home page Giter Site logo

java-tron's Introduction

What’s TRON? Build Status GitHub last commit

TRON is a block chain-based decentralized smart protocol and an application development platform. It allows each user to freely publish, store and own contents and data, and in the decentralized autonomous form, decides an incentive mechanism and enables application developers and content creators through digital asset distribution, circulation and transaction, thus forming a decentralized content entertainment ecosystem.

TRON is a product of Web 4.0 and the decentralized internet of next generation.

Quick Start

Download and build

> git clone https://github.com/pwhuanle/java-tron.git
> cd java-tron
> gradle build

Import project to IDEA

  1. [File] -> [New] -> [Project from Existing Sources...]
  2. Select java-tron/build.gradle
  3. Dialog [Import Project from Gradle], confirm [Use auto-import] and [Use gradle wrapper task configuration] have been selected,then select Gradle JVM(JDK 1.8)and click [OK]

Testing

  • Install Kafka, create two topics (block and transaction)
  • Adjust constant DEFAULT_BOOTSTRAP_SERVERS in ConsumerProperty.java file and ProducerProperty.java file to your Kafka's host(like:192.168.1.199:9092)
  • IDEA: [Edit Configurations...] -> [Program arguments]: --type server
  • Run Tron (server)
  • IDEA: [Edit Configurations...] -> [Program arguments]: --type normal
  • Run Tron (client)
  • Execute help command on the client

License

java-tron is released under the license

java-tron's People

Contributors

lucien-tronlab avatar sasaxie avatar tronfoundation avatar mu1one avatar conglinduye avatar

Stargazers

 avatar Bing avatar

Watchers

Bing 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.