The following homework is a proof of concept to show a simple blockchain without mining or ledger concepts. Nevertheless the following features should be working:
- A block and a blockchain structure.
- Functionality (code) to add blocks to the blockchain.
- Nodes (or peers) that communicate and sync the blockchain with other nodes.
- An HTTP API to dispatch the nodes actions against the blockchain.
The purpose is solely to integrate the elliptic curve signing and verification scheme with an arbitrary hash.
Developed on node.js and compiled with typescript.
npm install
npm start
node ./dist/main.js
To create your local docker image and container:
- Run
docker build --rm -f Dockerfile -t narelicoin:v1.0 .
- Then :
docker run --rm -d -p 3001:3001 narelicoin:v1.0
- Secp256k1 and paper
- Elliptic
- Typescript
- Templates
- Interfaces
- Based on: Naivecoin: a tutorial for building a cryptocurrency or this
[
- { Author: "Leo Lara" , ID: B170448 }
]