xGovern (XGOV)
Javascript-based decentralized group governance and data layer
(Utilizing NaCl library with x25519 elliptic curve cryptography)
LICENSE (Proprietary; For Audit-only Code Disclosure)
© 2018 xGovern Inc., all rights reserved.
Unauthorized copying of this file, via any medium is strictly prohibited.
API Usage & Documentation
Address Creation with generate_address
xgov.generate_address
(
{domain:(str,''), group:(str,''), async_interval:(+int,300)},
{callback:(func), onprogress(func)}
);
//// Address generation with default protocol and no group membership// the first argument '{domain:'', group:''}' can be '{}', still the same result;//xgov; //// Address generation with default protocol and U.S. group membership signifier// takes about 1~7 seconds to generate one keypair with US header (with a single-thread 2Ghz core)// async_interval: how many new key pairs try after 'onprogress' triggers and process rests; // e.g. 500, after 500 new key pairs tried, onprogress is triggered and process rests to pass other executions//xgov;
Authors
Written by:
Joe K. Kim (jkk@xgovern.com)