SmartHoldem JS Library
JavaScript library for sending SmartHoldem transactions from the client or server
Tests lib
npm test
Build documentation
npm build:docs
Build lib for browser
npm build:browserify
Clean browser
npm clean:browserify
Examples
On the client:
<script src="node_modules/sthjs/bundle.min.js"></script>
On the server:
var sth = ;
To generate a public / private key pair from a given passphrase:
var keyz = sthcrypto;
response keyz
get private key:
console;
response
privKey:84d6b9b64dd6a2111e2616544e16e07580d590df9a8d5ce1d9dc5a168a1b1188