/cblb-miner-cli

cblb-miner-cli is a Polygon-based Cblb check-in mining program released by cblb.app.

Primary LanguagePython

cblb-miner-cli

cblb-miner-cli is a Polygon-based Cblb check-in mining program released by cblb.app. It has set the leader role and miner role, which can be realized

  • Automatically generate leader wallet and miners' wallets
  • Automatically balance leader wallet MATIC to multiple miners' wallets
  • leader and miners automatically do cblb-check-in acquire CBLB token
  • Automatic collection of CBLB tokens from leader and miner wallets to beneficiary addresses

Open source code, you can modify and adapt to more projects

Use previous configuration

  • Modify BENEFICIARY_ADDRESS in the .env file as the beneficiary erc20 wallet address that receives CBLB tokens. The default is cblb developer wallet address (Important)
  • Modify MINER_NUMBER in the .env file as the required number of miners. The default is 10. The number of miners does not support secondary modification after initialization.

Initialize

  • Check the python version, it is recommended to be 3.8, it is recommended to use Anaconda to configure the virtual environment
  • Execute pip install -r requirement.txt to configure the environment
  • Execute python main.py to complete miner initialization

Transfer MATIC to the tour leader's address

cblb-miner-cli will automatically generate the corresponding number of miner wallets and save PRIVATE KEY and WALLET ADDRESS within the wallet.json file, keep this file safe and DO NOT transfer large amount token.

After the initialization is completed, you need to transfer the MATIC tokens under the Polygon network to the leader wallet address recorded in the wallet.json file. By default, 10 miners are recommended to transfer at least 3 MATICs, and for security reasons, no more than 160 MATICs.

Start mining

After confirming the transfer to MATIC to the leader's address, execute the following command to start mining CBLB

python main.py

Have fun! DYOR!