Giter Club home page Giter Club logo

omniliteclientjs's Introduction

OmniClientJS (Currently unmaintained)

Omni Layer Node.js RPC client

Setup

  1. Install latest stable node and npm
  2. Install npm packages: $ npm install

Configure your Omni Core server

There are a few bitcoin.conf settings that are necessary to run these tests.

  1. Run on the Bitcoin TestNet:

    testnet=1

  2. Tell Bitcoin/OmniCore to accept JSON-RPC commands.:

    server=1

  3. Set a username and password for RPC:

    rpcuser=test-username-goes-here rpcpassword=test-password-goes-here

If you are not familiar with bitcoin.conf or Omni Core's usage of it, please reference:

Configure your client

  1. Copy the sample configuration: $ cp sample-configuration.json configuration.json
  2. Edit configuration.json and set the correct RPC username and password

Run QuickReadTests

These tests will make read-only calls via RPC to make sure that the Node Omni RPC client can connect to the Omni Core server.

  1. node QuickReadTests.js

Run OmniTests

These tests will spend Bitcoin to make Omni DEX trades. They are still a work in progress. Proceed with caution.

  1. node OmniTests.js

omniliteclientjs's People

Contributors

msgilligan avatar indigonakamoto avatar patrickdugan avatar

Watchers

 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.