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
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
REST API parameters and example responses
Websockets API namespaces, event names, and parameters
Testing ltzcore-node in RegTest
See CONTRIBUTING.md on the main ltzcore repo for information about how to contribute.
Code released under the MIT license.
Copyright 2015-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.