Giter Site home page Giter Site logo

combattardigrade / core-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nimiq/core-js

0.0 0.0 0.0 12.97 MB

Official JavaScript implementation of the Nimiq protocol

Home Page: https://nimiq.com

License: Other

HTML 1.31% CSS 1.02% JavaScript 83.83% Python 0.35% Makefile 0.08% C 8.18% C++ 1.29% Objective-C 3.37% Go 0.26% Shell 0.31%

core-js's Introduction

Nimiq Blockchain Build Status

Nimiq is a frictionless payment protocol for the web.

Resources

Demo

Check out our Testnet.

Packages

Prebuilt binary packages

For users looking to run a standalone Nimiq node (which is also capable of mining), see our Downloads page for installable Linux and Windows binary packages.

NPM Packages

For developers looking to include Nimiq support on their applications, there are two npm packages available:

  • @nimiq/core: Module for use in node.js applications.
  • @nimiq/core-web: Module for use in client-side (browser) applications (includes the same files that are available from our CDN).

Quickstart

  1. Install Node.js v8.0.0 or higher.
  2. On Ubuntu and Debian, install git and build-essential: sudo apt-get install -y git build-essential.
  3. Install yarn globally: sudo npm install -g yarn.
  4. Install gulp globally: yarn global add gulp.
  5. Clone this repository: git clone https://github.com/nimiq/core-js.
  6. Build the project: cd core-js && yarn && yarn build.
  7. Open clients/browser/index.html in your browser.

Web Developers

Simple Web Application on top of Nimiq

A good way to get started is to have a look at the most simple web application on top of the Nimiq Blockchain.

Getting Started

Follow the Quickstart guide or make use of our CDN:

<script src="https://cdn.nimiq.com/nimiq.js"></script>

Browser client

Open clients/browser/index.html in your browser or include <script src="dist/nimiq.js"></script> in your project.

Node.js client

To run a Node.js client you will need a publicly routable IP, Domain, and SSL Certificate (get a free certificate at letsencrypt.org). Start the client by running clients/nodejs/nimiq with the respective configuration.

Test and Build

Run Testsuite

  • yarn test runs browser and Node.js tests.
  • yarn test-browser runs the testsuite in your browser only.
  • yarn test-node runs the testsuite in Node.js only.

Run ESLint

yarn lint runs the ESLint javascript linter.

Build

Executing yarn build concatenates all sources into dist/{web,web-babel,web-crypto,node}.js

Contribute

If you'd like to contribute to the development of Nimiq please follow our Code of Conduct and Contributing Guidelines.

License

This project is under the Apache License 2.0.

core-js's People

Contributors

styppo avatar paberr avatar mar-v-in avatar jeffesquivels avatar sisou avatar stefanmattern avatar danimoh avatar fiaxh avatar riptl avatar robinlinus avatar schrnz avatar arthurgervais avatar curdbecker avatar bettelstab avatar tomkha avatar svub avatar panoramicrum avatar beeppool avatar kunanigaming avatar eligioo avatar aschen avatar d-krause avatar bitcoinssg avatar miclaus avatar nikhil22 avatar newsfusion avatar ryan-rowland avatar tobiaslins avatar azard avatar donquixo13 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.