Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @evercode-lab/qtumcore-lib with all npm packages installed. Try it out:

var qtumcoreLib = require("@evercode-lab/qtumcore-lib")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@evercode-lab/qtumcore-lib v0.0.3

A pure and powerful JavaScript QTUM library.

Qtumcore Library

A pure and powerful JavaScript QTUM library.

OP_CALL support was added:

You can transfer qrc20 tokens and call smart contracts.


var data = "a9059cbb000000000000000000000000077bb35d818c0c26bdf37f90ccc87735201d52b40000000000000000000000000000000000000000000000000000000002faf080";
var tokenScript = qtumcore.Script.fromASM("04 9490435 40 " + data + " fe59cbc1704e89a698571413a81f0de9d8f00c69 OP_CALL");
var transaction = new qtumcore.Transaction()
    .to("QMHZ2Wim7VoYBY1oUqfCL7vzJBJYi7e4Fv", 0)

Get Started

npm install qtumcore-lib
bower install qtumcore-lib


We're using qtumcore-lib in production, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.


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

Building the Browser Bundle

To build a qtumcore-lib full bundle for the browser:

gulp browser

This will generate files named qtumcore-lib.js and qtumcore-lib.min.js.

Development & Tests

git clone
cd qtumcore-lib
npm install

Run all the tests:

gulp test

You can also run just the Node.js tests with gulp test:node, just the browser tests with gulp test:browser or create a test coverage report (you can open coverage/lcov-report/index.html to visualize it) with gulp coverage.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free