Project for Udacity Blockchain developer Nanodegree.
- Clone or download the project.
- Open the project on terminal.
- Run
yarn
to install the dependencies. - Run
yarn start
to run the application.
The framework for the API is express
.
- getBlockByIndex :
GET /api/block/:index
- postNewBlock :
POST /api/block/
- getBlockHeight :
GET /api/getBlockHeight/
- validateBlock :
GET /api/validateBlock/:index
- validateChain :
GET /api/validateChain/
- Start creating a block with postNewBlock endpoint and then you will be able to call other endpoint.
- Alan Mortoni - Initial work