Skip to content
a pure and powerful JavaScript library for AXE
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark func change Jan 23, 2019
docs update mn/tx Mar 26, 2019
lib SubTxTopupPayload.setRegTxHash Apr 25, 2019
test Update coinbasepayload.js Apr 17, 2019
.editorconfig Create .editorconfig Jan 23, 2019
.eslintignore add eslint files Jan 10, 2019
.eslintrc.json add eslint files Jan 10, 2019
.gitignore Update .gitignore Mar 26, 2019
.jsdoc.conf Update .jsdoc.conf Jan 10, 2019
.travis.yml refct Jan 10, 2019
CONTRIBUTING.md upstr update Dec 6, 2018
LICENSE upstr update Dec 6, 2018
README.md update readme Jan 10, 2019
index.js add dips Jan 23, 2019
karma.conf.js browsers func Jan 23, 2019
package-lock.json Update package-lock.json Apr 25, 2019
package.json version bump Apr 25, 2019
test.spec.js upstream Jan 10, 2019
webpack.config.js Update webpack.config.js Jan 26, 2019

README.md

AXEcore Library

Build Status NPM Package

A pure and powerful JavaScript AXE library.

AXE is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the AXE network allows for highly resilient AXE infrastructure, and the developer community needs reliable, open-source tools to implement AXE apps and services.

Table of Contents

Install

NodeJS

npm install @axerunners/axecore-lib

Browser

See the section below to generate your own bundle, or download the pre-generated minified file

Building the Browser Bundle

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

npm run build

This will generate files named axecore-lib.js and axecore-lib.min.js in the dist/ folder.

Usage

Browser

<script src='./dist/axecore-lib.min.js' type="text/javascript"></script>
<script>
  const PrivateKey = axecore.PrivateKey;
  const privateKey = new PrivateKey();
  const address = privateKey.toAddress().toString();
</script>

Modules

Some functionality is implemented as a module that can be installed separately:

Development & Tests

git clone https://github.com/axerunners/axecore-lib
cd axecore-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.

Documentation

Examples

Some examples can be found here, below is a list of direct links for some of them.

Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our CONTRIBUTING file.

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.
Copyright 2017-2018 Dash Core Group, Inc.
Copyright 2018 AXErunners.

You can’t perform that action at this time.