Skip to content

filipemcg/gochain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoChain

Really basic block chain using Go.

Concept by Anders Brownworth:

How to use

Run using Go:

go run ./src

Creating your first block:

curl --location 'http://localhost:9000/blocks' \
    --header 'Content-Type: application/json' \
    --data '{"data": "My First Block"}'

Getting block info:

curl --location --request GET 'http://localhost:9000/blocks/000076403cc7726b72b23eae2e43f60324b232da4674f01674773e7f5301ffa0' \
    --header 'Content-Type: application/json' \
    --data '{"data": "Hello"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published