go-blockchain

command module
v0.0.0-...-c42f474 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

README

GoBlockchain

A simple blockchain as an exercise.

Running locally
$ go run main.go
API Calls
GET

To list all existent blocks:

$ curl http://localhost:8080
POST

To create a new block:

$ curl -H "Content-Type: application/json" -d '{"BPM":10}' http://localhost:8080

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL