Skip to content

xian-network/pow-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

token distribution via pow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published