ltzcore-node

8.0.1 • Public • Published

Ltzcore Node

Requirements:

  • Trusted P2P Peer
  • MongoDB Server >= v3.4

Checkout the repo

git clone git@github.com:LitecoinZ-Community/ltzcore.git
git checkout master
npm install

Set up your ltzcore.config.json file in ./ltzcore

Example ltzcore.config.json

ltzcore.config.json file in ./ltzcore

{
  "bitcoreNode": {
    "chains": {
      "LTZ": {
        "mainnet": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "127.0.0.1",
              "port": 29333
            }
          ],
          "rpc": {
            "host": "127.0.0.1",
            "port": 29332,
            "username": "username",
            "password": "password"
          }
        },
        "regtest": {
          "chainSource": "p2p",
          "trustedPeers": [
            {
              "host": "127.0.0.1",
              "port": 49444
            }
          ],
          "rpc": {
            "host": "127.0.0.1",
            "port": 49443,
            "username": "username",
            "password": "password"
          }
        }
      }
    }
  }
}

Then start the node

npm run node

API Documentation

REST API parameters and example responses

Websockets API namespaces, event names, and parameters

Testing ltzcore-node in RegTest

Contributing

See CONTRIBUTING.md on the main ltzcore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2015-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Package Sidebar

Install

npm i ltzcore-node

Weekly Downloads

1

Version

8.0.1

License

MIT

Unpacked Size

786 kB

Total Files

298

Last publish

Collaborators

  • litecoinz.team