Requirements:
- Trusted P2P Peer
- MongoDB Server >= v3.4
./config.json
{
"pruneSpentScripts": true,
"chains": {
"BTC": {
"mainnet": {
"trustedPeers": [
{
"host": "127.0.0.1",
"port": 8333
}
]
}
},
"BCH": {
"mainnet": {
"parentChain": "BTC",
"forkHeight": 478558,
"trustedPeers": [
{
"host": "127.0.0.1",
"port": 9333
}
]
}
}
}
}
POST /api/wallet
BODY:
{
"name": "WalletName"
}
GET /api/wallet/:walletId
POST /api/wallet/:walletId
BODY: raw jsonl wallet file of the form
{"address": "bItCoInAddReSSHeRe"}
GET /api/wallet/:walletId/addresses
GET /api/wallet/:walletId/transactions
GET /api/wallet/:walletId/balance
GET /api/wallet/:walletId/utxos
GET /api/tx/?blockHeight=123456
GET /api/tx/?blockHash=0000000000002917ed80650c6174aac8dfc46f5fe36480aaef682ff6cd83c3ca
GET /api/tx/5c8a63e695caf95c28a0155beaa22b84a7adb18b8693ba90f04d94891d122afe
GET /api/address/mmEsgUprBEQkGDKowPQSLEYDbMtGRKxaF4/?unspent=true
GET /api/address/mmEsgUprBEQkGDKowPQSLEYDbMtGRKxaF4/balance
GET /api/block/0000000000002917ed80650c6174aac8dfc46f5fe36480aaef682ff6cd83c3ca
GET /api/block/123456