tronprotocol-scala / scala-tron

Scala implementation of the Tron whitepaper
http://tronprotocol-scala.github.io/scala-tron/
GNU Lesser General Public License v3.0
15 stars 2 forks source link

Need to make a new command for printing blockchain #12

Closed vinayphadnis closed 6 years ago

vinayphadnis commented 6 years ago

We also need to mutually decide a command both on the cli and the web api which will print the blockchain (the latest block atleast)

Rovak commented 6 years ago

In the PR #10 i've added a web api to show the blocks in the blockchain https://github.com/Rovak/scala-tron/pull/10/files#diff-1d8bb3d0f85fada5715f5a41c257feccR34

I agree that this should also be added in the cli

vinayphadnis commented 6 years ago

okay. I will make a commit which will add the block on the sample output in the readme file (Web API section) which currently has only address and balance