演示代码

From Veriblock Wiki
Revision as of 13:40, 18 April 2019 by Caesar (talk | contribs) (Created page with "演示代码")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Other languages:
English • ‎中文(中国大陆)‎


See: Main_Page

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.