npm.io
5.10.1 • Published 2 months ago

@cityofzion/neon-js

Licence
MIT
Version
5.10.1
Deps
2
Size
5.3 MB
Vulns
0
Weekly
0
Stars
184

neon-js

Constructed package using:

  • neon-core
  • neon-api

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 Neon = require("cityofzion/neon-js");

console.log(Neon); // {wallet, tx, api, nep5, etc...}

const NeonJs = neon.default;

console.log(NeonJs); // {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.

NeonJs.create.stringStream("1234");
NeonJs.encrypt.privateKey("key");

Keywords