Difference between revisions of "Demo Code"
VeriBlockTim (talk | contribs) (Marked this version for translation) |
|||
Line 7: | Line 7: | ||
See: [[Main_Page]] | See: [[Main_Page]] | ||
+ | <!--T:4--> | ||
__TOC__ | __TOC__ | ||
− | <!--T:2--> | + | == Overview == <!--T:2--> |
− | |||
+ | <!--T:5--> | ||
To help engage developers within the VeriBlock community, there will be demo code samples. We'd encourage developers to explore this code, experiment writing some interesting apps, and provide feedback. | To help engage developers within the VeriBlock community, there will be demo code samples. We'd encourage developers to explore this code, experiment writing some interesting apps, and provide feedback. | ||
− | <!--T:3--> | + | === Call RPC client commands === <!--T:3--> |
− | |||
+ | <!--T:6--> | ||
https://github.com/VeriBlock/demo-rpc-client | https://github.com/VeriBlock/demo-rpc-client | ||
+ | <!--T:7--> | ||
This is a very minimalist Java code sample to show how one could call commands exposed in the [[NodeCore_CommandLine]]. These include commands like getinfo, getbalance, getpopendorsementsinfo, etc... It also shows some of the utility functions like Utility.bytesToHex or Utility.bytesToBase58. | This is a very minimalist Java code sample to show how one could call commands exposed in the [[NodeCore_CommandLine]]. These include commands like getinfo, getbalance, getpopendorsementsinfo, etc... It also shows some of the utility functions like Utility.bytesToHex or Utility.bytesToBase58. | ||
</translate> | </translate> |
Revision as of 22:47, 16 April 2019
See: Main_Page
Contents
Overview
To help engage developers within the VeriBlock community, there will be demo code samples. We'd encourage developers to explore this code, experiment writing some interesting apps, and provide feedback.
Call RPC client commands
https://github.com/VeriBlock/demo-rpc-client
This is a very minimalist Java code sample to show how one could call commands exposed in the NodeCore_CommandLine. These include commands like getinfo, getbalance, getpopendorsementsinfo, etc... It also shows some of the utility functions like Utility.bytesToHex or Utility.bytesToBase58.