Skip to content

crptec/suqacore-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suqacore Library

A pure and powerful JavaScript SUQA library.

Principles

SUQA is a pow X22i

Get Started

NodeJS

git clone https://github.com/crptec/suqacore-lib.git
cd suqacore-lib
npm install 

Bitcore-node module

cd node_modules
rm -rf suqacore-lib
ln -s ~/suqacore-lib

Browser

Docs

Examples

Modules

Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement.

Building the Browser Bundle

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.

Usage on Browser

<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>

Development & Tests

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.

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published