** 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.
# 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
- 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.
# Start the miner
python miner.py