Seeder App for providing information related to BitcoinZ API and Wallet Servers
Requires node version 6.0 and above
Install npm dependencies with command:
npm install
Start the service with command:
npm start
After the service has been started, you should be able to browse to it on port 3434. Example: http://localhost:3434/seed/combined
Fetch a list of API servers
Example Request:
GET http://localhost:3434/seed/api
Example Response:
{
"apiServers": [
"https://bitcoinz.ph:443",
"http://54.174.68.212:3001",
"http://212.48.90.191:3001"
]
}
Fetch a list of BWS servers
Example Request:
GET http://localhost:3434/seed/bws
Example Response:
{
"bwsServers": [
"https://bws.bitcoinz.ph",
"https://bws.btcz.rocks",
"http://212.48.90.191:3232",
]
}
Fetch a list of both API and BWS servers
Example Request:
GET http://localhost:3434/seed/combined
Example Response:
{
"apiServers": [
"https://bitcoinz.ph:443",
"http://54.174.68.212:3001",
"http://212.48.90.191:3001"
],
"bwsServers": [
"https://bws.bitcoinz.ph",
"http://212.48.90.191:3232"
]
}
To build the docker image run with command:
docker build -t btcz/bitcoinz-api-seeder .
Then run the docker image with command:
docker run -d --restart always -p 3434:3434 --name bitcoinz-api-seeder btcz/bitcoinz-api-seeder