Steps for starting the server

Steps:

  1. Run make up_build to spin up postgres instance.

  2. Run make run to run the server.

Testing

After performing the above steps, the server will be up at http://localhost:8080/

Currently, 6 endpoints are supported:

POST Endpoints

  1. http://localhost:8080/nodes

  2. http://localhost:8080/mpks

  3. http://localhost:8080/sos

GET Endpoints

  1. http://localhost:8080/nodes

  2. http://localhost:8080/shares/:minerId

  3. http://localhost:8080/magicblock

Last updated