Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 1.11 KB

README.md

File metadata and controls

57 lines (48 loc) · 1.11 KB

Cranky Coin

Build Status

Cranky Coin is a simple blockchain, cryptocurrency, wallet implementation

Getting Started

# apt install python3-pip
# pip3 install virtualenv
# virtualenv -p python3 venv
# . venv/bin/activate
# pip install -r requirements.txt
# pip install -r requirements-dev.txt

Generating a wallet

# python run.py client
Cranky Coin (CRNK) wallet > publickey

copy your public key

Cranky Coin (CRNK) wallet > privatekey

copy your private key

Running a full node

Cranky Coin (CRNK) wallet > quit
# python ./tools/encrypt.py

enter a secure passphrase

Choose a passphrase:
Re-enter your passphrase:

enter your private key

Secret:
Encrypted private key:

copy your encrypted private key

edit config/config.yaml and populate the fields in the user section

# python run.py full
Cranky Coin (CRNK) full node > help

Running a mining node

Cranky Coin (CRNK) full node > mine start
Cranky Coin (CRNK) full node > mine stop