A pure and powerful JavaScript SUQA library.
SUQA is a pow X22i
git clone https://github.com/crptec/suqacore-lib.git
cd suqacore-lib
npm install
cd node_modules
rm -rf suqacore-lib
ln -s ~/suqacore-lib
- Addresses
- Block
- Crypto
- Encoding
- Hierarchically-derived Private and Public Keys
- Networks
- PrivateKey
- PublicKey
- Script
- Transaction
- Using Different Units
- Unspent Output
- URI
- Governance Object / Proposal
Please send pull requests for bug fixes, code optimization, and ideas for improvement.
To build a suqacore-lib full bundle for the browser:
npm run build
This will generate files named dashcore-lib.js
and dashcore-lib.min.js
in the dist/
folder.
<script src='./dist/suqacore-lib.min.js' type="text/javascript"></script>
<script>
const PrivateKey = suqacore.PrivateKey;
const privateKey = new PrivateKey();
const address = privateKey.toAddress().toString();
</script>
git clone https://github.com/crptec/suqacore-lib
cd suqacore-lib
npm install
Run all the tests:
npm test
You can also run just the Node.js tests with npm run test:node
, just the browser tests with npm run test:browser
or run a test coverage report with npm run coverage
.
Code released under the MIT license.
Copyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
Copyright 2016-2017 The Dash Foundation, Inc.