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

github.com/azer/blockchain-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/azer/blockchain-go

  • v0.0.0-20180206051536-9cecfe6e9e13
  • Source
  • Go
  • Socket score

Version published
Created
Source

blockchain-go

Simple and experimental Blockchain implementation with PoW. I'm working on it for learning the basic concepts, it's still under development.

Usage

Grab blockchain binary;

$ go get github.com/azer/blockchain-go/blockchain

Create an .env file in the working directory;

BC_TARGET_BITS = 24 # higher makes mining more difficult.
BC_DB_FILE = /tmp/bc-db
BC_BLOCKS_BUCKET = blocks

Run the app;

$ blockchain print-chain | less

FAQs

Package last updated on 06 Feb 2018

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