Skip to content

A blockchain and Proof of Work mining simulator made with NextJS and Typescript.

License

Notifications You must be signed in to change notification settings

librity/create_react_mine

Repository files navigation

Table of Contents

About

A Proof of Work mining simulator made with Typescript and Next.js. Based on Nomad Coder's implementation. It uses the same Block Header structure as Bitcoin.

Getting Started

Prerequisites

  • node >= 14.0.0

Installation

  1. Clone this repo locally and install the required packages:
$ git clone https://github.com/librity/create_react_mine.git
$ cd create_react_mine
$ npm install
  1. Start a dev server:
$ npm run dev
  1. Open http://localhost:3000 on your web browser.

Format

Format all source files with Prettier:

$ npm run format

Usage

You can change the block's data, difficulty and nonce. You can also mine it automatically. It takes a while for any difficulty higher than 4.

Packages

Docs

Resources

NPM

Javascript

Typescript

React

HTML

CSS

CSS Frameworks

Bitcoin

Open Graph Meta Tags

Releases

No releases published

Packages

No packages published