Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.02 KB

XIAN POW Miner

** THIS IS A WORK IN PROGRESS, NOT WORKING YET **

A proof of work miner for the XIAN blockchain.

Currently a proof of concept, working on testnet.

Usage

Installation

# Clone the repository
git clone https://github.com/xian-network/pow-miner.git

# create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate

# install the dependencies
pip install -r requirements.txt

Configuration

  • Create a Xian wallet, using the browser extension or xian-py
  • Populate your wallet address and private key in miner/config.py
  • Change NUM_WORKERS to the number of worker threads you want to use for mining. (default 1)
  • You will need to obtain some testnet Xian to to submit your blocks and verify your results.
  • Ask in the Xian Telegram for testnet Xian.

Running

# Start the miner
python miner.py