Skip to content
← Back to Community
Blockchain
Profile icon
AdCharity

Overview

Make a cryptocurrency (without a network) using the @adcharity/blockchain module

Installation

npm install @adcharity/blockchain and require at the head of the script

Docs

https://www.npmjs.com/package/@adcharity/blockchain

Features

  • create a key/wallet
  • make transactions
  • mine with reward
  • get balance of address
Voters
Profile icon
RubyWolfYT
Profile icon
rediar
Profile icon
SixBeeps
Profile icon
TheForArkLD
Profile icon
AdCharity
Comments
hotnewtop
Profile icon
SpaceFire

does this work in python?

Profile icon
AdCharity

@SpaceFire sorry it's a node.js module. I could try and convert it to python though :P

Profile icon
SixBeeps

Ah, you just gave me an idea: Bitcoin mining on the Repl.it servers xP

Profile icon
AdCharity

@SixBeeps violates the ToS sorry

Profile icon
SixBeeps

@AdCharity darn rules

Profile icon
AdCharity

@SixBeeps they'll never know

Profile icon
SixBeeps

@AdCharity just make it a private repl they cant see the code

Profile icon
AdCharity

@SixBeeps that is until you realize that they probably can track cpu power

Profile icon
SixBeeps

@AdCharity just tell them you're running a mc server

Profile icon
AdCharity
Profile icon
zplusfour

perfect, i tried to make up a package in npm... but it neeeds money, i'll make that later