Skip to content

Levilutz/basiccoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basiccoin

A basic blockchain-based peer-to-peer cryptocurrency

Requirements

Building

bash build.sh

Usage

Running a full node

To start a node

./bcnode

To start a mining node

./bcnode --miners <numCpuCores> --payout <publicKeyHash>

You can generate a miner payout address with the cli generate command. Your miner will probably find a few useless blocks while it's still syncing its chain with the seed peer.

To persist the chain to disk (uses several hundred MB)

./bcnode --save-dir=<path-to-save-directory>

For more info

./bcnode --help

Using the cli to manage a wallet

To view available commands

./bcwallet help

To generate a new wallet address

./bcwallet generate

To view your balance

./bcwallet balance

To send money to an address

./bcwallet send <address>:<amount>

About

A basic blockchain-based peer-to-peer cryptocurrency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages