Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #102

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Coin/token info stored in `\general\${token_name}` folders. Specific blockchain

// Optional. Node links for API
"nodes": {
"displayName": "some-node", // Name of the group of the nodes
"list": [
{ "url": "https://node.example.com" },
{ "url": "http://0.0.0.0:36666" }, // It's possible to use IP:port URI
Expand All @@ -92,6 +93,7 @@ Coin/token info stored in `\general\${token_name}` folders. Specific blockchain
// Optional. Services related to a project
"services": {
"service1": {
"displayName": "some-service", // Name of the group of the services
"description": {
"software": "example-service",
"github": "https://github.com/--example",
Expand Down
18 changes: 18 additions & 0 deletions assets/general/adamant/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"attachment": 300000
},
"nodes": {
"displayName": "adm-node",
"list": [
{ "url": "https://clown.adamant.im" },
{ "url": "https://lake.adamant.im" },
Expand Down Expand Up @@ -63,6 +64,18 @@
},
{
"url": "https://dschubba.adm.im"
},
{
"url": "https://tauri.bbry.org",
"alt_ip": "http://54.197.36.175:36666"
},
{
"url": "https://endless.bbry.org",
"alt_ip": "http://54.197.36.175:46666"
},
{
"url": "https://debate.bbry.org",
"alt_ip": "http://54.197.36.175:56666"
}
],
"healthCheck": {
Expand All @@ -75,6 +88,7 @@
},
"services": {
"infoService": {
"displayName": "rates-info",
"description": {
"software": "adamant-currencyinfo-services",
"github": "https://github.com/Adamant-im/adamant-currencyinfo-services",
Expand All @@ -97,6 +111,7 @@
}
},
"ipfsNode": {
"displayName": "ipfs-node",
"description": {
"software": "ipfs-node",
"github": "https://github.com/Adamant-im/ipfs-node",
Expand Down Expand Up @@ -143,6 +158,7 @@
"explorerTx": "http://srovpmanmrbmbqe63vp5nycsa3j3g6be3bz46ksmo35u5pw7jjtjamid.onion/tx/${ID}",
"explorerAddress": "http://srovpmanmrbmbqe63vp5nycsa3j3g6be3bz46ksmo35u5pw7jjtjamid.onion/address/${ID}",
"nodes": {
"displayName": "adm-node",
"list": [
{
"url": "http://37g5to2z6bdoeegun4hms2hvkfbdxh4rcon4e3p267wtfkh4ji2ns6id.onion"
Expand Down Expand Up @@ -176,6 +192,7 @@
},
"services": {
"infoService": {
"displayName": "rates-info",
"description": {
"software": "adamant-currencyinfo-services",
"github": "https://github.com/Adamant-im/adamant-currencyinfo-services",
Expand All @@ -193,6 +210,7 @@
}
},
"ipfsNode": {
"displayName": "ipfs-node",
"description": {
"software": "ipfs-node",
"github": "https://github.com/Adamant-im/ipfs-node",
Expand Down
10 changes: 7 additions & 3 deletions assets/general/bitcoin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "Bitcoin",
"website": "https://bitcoin.org",
"description": "Bitcoin is a cryptocurrency and worldwide payment system. It is the first decentralized digital currency, as the system works without a central bank or single administrator.",
"explorer": "https://explorer.btc.com",
"explorerTx": "https://explorer.btc.com/btc/transaction/${ID}",
"explorerAddress": "https://explorer.btc.com/btc/address/${ID}",
"explorer": "https://bitcoinexplorer.org",
"explorerTx": "https://bitcoinexplorer.org/tx/${ID}",
"explorerAddress": "https://bitcoinexplorer.org/address/${ID}",
"regexAddress": "^bc1[a-zA-Z0-9]{39,59}$|^[13][1-9A-HJ-NP-Za-km-z]{25,34}$",
"symbol": "BTC",
"type": "coin",
Expand All @@ -29,6 +29,7 @@
},
"txConsistencyMaxTime": 10800000,
"nodes": {
"displayName": "btc-node",
"list": [
{
"url": "https://btcnode1.adamant.im/bitcoind",
Expand All @@ -48,6 +49,7 @@
},
"services": {
"btcIndexer": {
"displayName": "btc-indexer",
"description": {
"software": "Esplora/Electrs",
"github": "https://github.com/blockstream/electrs",
Expand Down Expand Up @@ -90,6 +92,7 @@
],
"tor": {
"nodes": {
"displayName": "btc-node",
"list": [
{
"url": "http://cc6ibzkfeseuwnmtjc6hlsd44bzg2sr3shbv7n35nj2rk2vm6dmtlnqd.onion/bitcoind"
Expand All @@ -107,6 +110,7 @@
},
"services": {
"btcIndexer": {
"displayName": "btc-indexer",
"description": {
"software": "Esplora/Electrs",
"github": "https://github.com/blockstream/electrs",
Expand Down
2 changes: 2 additions & 0 deletions assets/general/dash/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"txConsistencyMaxTime": 800000,
"nodes": {
"displayName": "dash-node",
"list": [
{
"url": "https://dashnode1.adamant.im",
Expand Down Expand Up @@ -67,6 +68,7 @@
],
"tor": {
"nodes": {
"displayName": "dash-node",
"list": [
{
"url": "http://ldod53womnlwjmd4noq5yuq26xx3mmbrr4uogkfymuakhofjcuqeygad.onion"
Expand Down
2 changes: 2 additions & 0 deletions assets/general/doge/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"txConsistencyMaxTime": 900000,
"nodes": {
"displayName": "doge-node",
"list": [
{
"url": "https://dogenode1.adamant.im",
Expand Down Expand Up @@ -70,6 +71,7 @@
],
"tor": {
"nodes": {
"displayName": "doge-node",
"list": [
{
"url": "http://mtg4mq43p67cbj6qwcqgppjv7uzm7ximjlzapsbnbh5ls6zqkjsq26ad.onion"
Expand Down
4 changes: 4 additions & 0 deletions assets/general/ethereum/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"defaultGasLimit": 22000,
"warningGasPriceGwei": 25,
"nodes": {
"displayName": "eth-node",
"list": [
{
"url": "https://ethnode2.adamant.im",
Expand All @@ -52,6 +53,7 @@
},
"services": {
"ethIndexer": {
"displayName": "eth-indexer",
"description": {
"software": "ETH-transactions-storage",
"github": "https://github.com/Adamant-im/ETH-transactions-storage",
Expand Down Expand Up @@ -94,6 +96,7 @@
],
"tor": {
"nodes": {
"displayName": "eth-node",
"list": [
{
"url": "http://jpbrp6xapsyfnvyosrpu5wmoi62fqotazkicjeiob32yz77rt7axobqd.onion",
Expand All @@ -112,6 +115,7 @@
},
"services": {
"ethIndexer": {
"displayName": "eth-indexer",
"description": {
"software": "ETH-transactions-storage",
"github": "https://github.com/Adamant-im/ETH-transactions-storage",
Expand Down
4 changes: 4 additions & 0 deletions assets/general/klayr/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
},
"txConsistencyMaxTime": 60000,
"nodes": {
"displayName": "kly-node",
"list": [
{
"url": "https://klynode2.adamant.im",
Expand All @@ -47,6 +48,7 @@
},
"services": {
"klyService": {
"displayName": "kly-indexer",
"description": {
"software": "klayr-service",
"github": "https://github.com/KlayrHQ/klayr-service",
Expand Down Expand Up @@ -85,6 +87,7 @@
],
"tor": {
"nodes": {
"displayName": "kly-node",
"list": [
{
"url": "http://5fr7uybpxecid5gikrm65hstsfhve2772keyqdvxirsiywlyo6zap6yd.onion"
Expand All @@ -102,6 +105,7 @@
},
"services": {
"klyService": {
"displayName": "kly-indexer",
"description": {
"software": "klayr-service",
"github": "https://github.com/KlayrHQ/klayr-service",
Expand Down
15 changes: 12 additions & 3 deletions specification/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"Service": {
"type": "object",
"required": ["description", "list", "healthCheck"],
"required": ["description", "list", "healthCheck", "displayName"],
"properties": {
"description": {
"$ref": "#/components/schemas/ServiceDescription"
Expand All @@ -76,6 +76,9 @@
},
"healthCheck": {
"$ref": "#/components/schemas/ServiceHealthcheck"
},
"displayName": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -286,7 +289,7 @@
},
"nodes": {
"type": "object",
"required": ["list", "healthCheck"],
"required": ["list", "healthCheck", "displayName"],
"properties": {
"list": {
"type": "array",
Expand All @@ -298,6 +301,9 @@
"healthCheck": {
"$ref": "#/components/schemas/NodeHealthcheck"
},
"displayName": {
"type": "string"
},
"minVersion": {
"type": "string",
"description": "Minimal node API version",
Expand Down Expand Up @@ -339,7 +345,7 @@
},
"nodes": {
"type": "object",
"required": ["list", "healthCheck"],
"required": ["list", "healthCheck", "displayName"],
"properties": {
"list": {
"type": "array",
Expand All @@ -351,6 +357,9 @@
"healthCheck": {
"$ref": "#/components/schemas/NodeHealthcheck"
},
"displayName": {
"type": "string"
},
"minVersion": {
"type": "string",
"description": "Minimal node API version",
Expand Down