Skip to content

JozefJarosciak/E.BTC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E.BTC Miner for Pulsechain

What is E.BTC?

  • E.BTC (EVM Bitcoin) is a token with a 21M supply.
  • Initial mints (first 210,000 transactions) produced 50 eBTC rewards with a maximum of 25 transactions per wallet.
  • Every 210,000 transactions, the mint reward decreases by half.
  • URL: https://www.notyourmomsbitcoin.com

E.BTC Miner - Features

  • Automatically and seamlessly generates new wallets for each mining session, thereby circumventing the limitation of 25 transactions per wallet.
  • Dynamic Adjustment to Gas Prices (mints at user-specified gas limits)
  • Mint E.BTC tokens based on predefined conditions (defined PLS balance or defined number of transactions)
  • Transfer mined E.BTC tokens and leftover PLS back to the main wallet.
  • Detailed logging of mining activities and transactions on screen
  • Automatically records every EIP-55 compliant address and its corresponding private key generated by the software in the EvmBitcoinToken.log file, which is useful for diagnostic purposes.
  • Crash recovery - If the program crashes, simply provide the public key of the last wallet, and it'll recover the E.BTC and PLS balance back your your main (seeding) wallet

E.BTC Miner - TODO

We're reaching out to the developer community to contribute to the ongoing development and enhancement of E.BTC Miner, to help us with the following proposed updates, among others that you may identify as beneficial:

  • Implement an auto-recovery feature that enables the program to automatically retrieve the last address from the EvmBitcoinToken.log and gracefully resume operations following a crash. This will help in maintaining the continuity of the mining process without manual intervention, thus saving time and reducing potential errors.
  • Automatically re-submit the transaction, if the program gets stuck on 'Transaction not yet confirmed, waiting...'
  • Introduce a feature for the manual input of the 'Seeding' wallet's public address and private key at runtime. This update will provide users with a secure method to input sensitive information without hard-coding it into the script. By prompting users for their credentials at startup, we enhance the security of the wallet and adhere to best practices for sensitive data management.
  • Turn this code into a browser-based solution.

Your contributions will not only improve the E.BTC Miner but also ensure a safer and more efficient experience for all users. Warning: If you want to participate in development, always make sure that your private key is not exposed in your pull requests and commits.

Video Demo

Requirements and Installation

Install Dependencies:

  • Ensure Python 3.9 is installed on your system
  • Go into the project directory where the requirements.txt file is located.
  • Run pip install -r requirements.txt to install the required Python libraries.

The program was tested to work using these versions:

  • Python (3.9)
  • web3 (6.2.0)
  • requests (2.28.2)

Configuration

Before running the miner, configure the following settings in the E.BTC-Miner.py script:

  • main_wallet_address: Your main Pulsechain wallet address.
  • main_wallet_address_private_key: Private key for the above wallet
  • Gas-related settings such as only_claim_if_gas_is_below to specify the maximum gas price (in Gwei) you're willing to pay for transactions.
  • max_Spend_PLS: The maximum amount of PLS you want to spend on mining.
  • max_total_transactions: The maximum number of transactions before the program stops.
  • cooling_period_between_new_wallets: Time in seconds to wait before creating a new wallet for mining.

Warning: Be cautious with your private key and never share it with others.

Usage

To start the mining process, execute the script from the command line:

python E.BTC-Miner.py

The script will automatically handle the mining process based on the configured parameters, including wallet creation, token minting, and funds transfer.

Crash recovery usage

In the event of an unexpected program termination, you can gracefully recover and secure your mined E.BTC and PLS balances. To do so, restart the script with the public address of the most recently mined wallet as an argument. This action will ensure any remaining balances are safely transferred back to your main (seeder) wallet:

python E.BTC-Miner.py <Public_Address_of_Last_Mined_Wallet>

image

Troubleshooting

In case the program halts unexpectedly and cannot resume on its own, and the crash recovery option (outlined above) did not help you, follow these instructions:

Locate the EvmBitcoinToken.log that is automatically created every time the program runs and contains every EIP-55-compliant address created by the program along with its private key.

Retrieve the private key for the account in question (the last one from the bottom - if you're running only one instance of the miner) from the log file and import it into your preferred wallet, such as Metamask or Rabby.

This will enable you to manually transfer any E.BTC or PLS balances back to your primary 'Seeding' wallet.

image

E-BTC URLs

License

The open-source license under which this script is released: MIT

Follow Us:

Donate

DISCLAIMER:

  • You are solely responsible for ensuring the secure configuration and operation of this script, including but not limited to protecting it from unauthorized access by third parties (e.g. always manually ensure that EvmBitcoinToken.log file is being created).
  • Failure to do so may result in the loss of your private keys, or other cryptocurrencies stored in your account. You should exercise extreme caution and only run this script on a secure workstation or server.
  • By using this script, you acknowledge that you understand the inherent risks associated with running this script and that you agree to use this script at your own risk.
  • The creator of this script will not be held liable for any damages, loss of funds, or other negative consequences that may result from you or any third party using this script.
  • You are solely responsible for any actions taken using this script, and for securing your private keys and other sensitive information.
  • This script is provided 'as is,' and the creator makes no warranty, express or implied, of any kind.

Releases

No releases published

Packages

No packages published

Languages