blockchainexample

command module
v0.0.0-...-571e22a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 13 Imported by: 0

README

blockchainExample

This repository contains blockchain based examples of many popular algorithms and concept states.

Getting Started:
  • Install GoLang (Go Programming Language) and follow this steps install.
  • For help getting started with GoLang (Go Programming Language), view our online documentation.
Deployment steps:
  • Clone this repo git clone https://github.com/dincerunal/blockchainExample.git
  • Navigate to project directory and save example.env file as .env mv example.env .env
  • Run main file go run main.go
  • Open a web browser and for this url http://localhost:8080/
  • For Write new blocks, send a POST request to http://localhost:8080/ with a JSON payload with BPM as the key and an integer as the value. {"BPM":50}
  • Send POST requests as you want and refresh your browser to grow your blockchain.

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