@marcoslobo/neon-js
v1.0.0
Published
Poma-JS SDK for interacting with POMA blockchain
Downloads
2
Readme
Poma-js
Constructed package using:
poma-core
Poma-api
Poma-nep5
In addition, this package exposes a high level semantic API binding for beginner usage. The semantic API can be found in the default export of the package.
const Poma = require("marcoslobo/Poma-js");
console.log(Poma); // {wallet, tx, api, nep5, etc...}
const PomaJs = Poma.default;
console.log(PomaJs); // {create, get, sign, verify,...}
The semantic API follows a convention of Verb-Noun. Any extra words beyond the first 2 is collapsed into the Noun and camelcased.
PomaJs.create.stringStream("1234");
PomaJs.encrypt.privateKey("key");
The exceptions to this rule are the managed methods provided by api
:
PomaJs.sendAsset
PomaJs.claimGas
PomaJs.doInvoke
PomaJs.setupVote