proof-work

command
v0.0.0-...-26e06bc Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: MIT Imports: 15 Imported by: 0

README

Code your own Proof of Work algorithm!

Read our blog post first to see a walkthrough of the code.

Ask us anything!

Join our Telegram chat and follow us on Twitter!

Deployment steps:
  • clone this repo
  • navigate to this directory and rename the example file mv example.env .env
  • go run main.go
  • open a web browser and visit http://localhost:8080/
  • to write new blocks, send a POST request (I like to use Postman) to http://localhost:8080/ with a JSON payload with BPM as the key and an integer as the value. For example:
{"BPM":50}
  • watch your Terminal to see Proof of Work in action!
Screenshot

screen

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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