Code Monkey home page Code Monkey logo

dashcore-lib's Introduction

Dashcore Library

NPM Package Build Status Coverage Status

A pure and powerful JavaScript Dash library.

Principles

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

Get Started

NodeJS

npm install @dashevo/dashcore-lib

Browser

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

Docs

Examples

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

Modules

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

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.

Building the Browser Bundle

To build a dashcore-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/dashcore-lib.min.js' type="text/javascript"></script>
<script>
  const PrivateKey = dashcore.PrivateKey;
  const privateKey = new PrivateKey();
  const address = privateKey.toAddress().toString();
</script>

Development & Tests

git clone https://github.com/dashevo/dashcore-lib
cd dashcore-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.
Copyright 2017-2018 Dash Core Group, Inc.

dashcore-lib's People

Contributors

maraoz avatar eordano avatar matiu avatar chjj avatar yemel avatar alex-werner avatar gasteve avatar ryanxcharles avatar martindale avatar olalonde avatar pnagurny avatar braydonf avatar snogcel avatar dskloet avatar gabegattis avatar rubensayshi avatar throughnothing avatar fanatid avatar bitjson avatar trevinhofmann avatar udjinm6 avatar schinzelh avatar kamuelafranco avatar marianorod avatar antouhou avatar devrandom avatar brandonrobertz avatar nmarley avatar pvrooyen avatar sagivo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.