Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/googrand/go-blockchain

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/googrand/go-blockchain

  • v0.0.0-20201213061527-f0da28ae6928
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-blockchain

Simple blockchain system with proof of work etc.

To run this:

  1. Download code
  2. Run "go run main.go" in cmd to execute PoW etc.
    • You can add block by running "go run main.go add -block "put data here" " after the main command
    • You can print all the blocks by running "go run main.go print"
  3. See the attempts of pow to validate the hash

All the blocks will be stored in tmp/blocks directory by BadgerDB

FAQs

Package last updated on 13 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc