Extending the default API provided by the sammy007/open-ethereum-pool project.
- You need to provide a
config.json
file in the root of this project. An example of the contents of this file:
{
"api": {
"port": 3000
},
"oldApi": {
"host": "127.0.0.1",
"port": 80
},
"redis": {
"host": "127.0.0.1",
"port": 6379
}
}
-
Run the script
run-new-api.sh
to start the server. -
Run the script
stop-new-api.sh
to stop the server. -
Update the file
www/news.html
for latest news.
This project is licensed under the MIT License. See LICENSE for more details.