GithubHelp home page GithubHelp logo

powerc20miner's Introduction

PoWERC20 Mining Tool

Overview

This Go project is a fully-functional tool for participating in Ethereum's PoWERC20 mining process. It provides a practical implementation for connecting to the Ethereum blockchain, generating nonces, and submitting transactions once a valid nonce is found. This tool is ideal for those looking to engage in Ethereum mining or understand the underlying mechanics in a real-world scenario.

Features

  • Mining Functionality: Generates nonces and compares the resulting hash against a target, mimicking the actual mining process in Ethereum.
  • Parallel Mining Workers: Utilizes Go's concurrency capabilities to deploy multiple mining workers, increasing the chance of finding a valid nonce.
  • Smart Contract Interaction: Retrieves the current mining challenge and difficulty from a specified Ethereum smart contract.
  • Nonce Submission and Transaction Handling: Submits the mining solution to the Ethereum network and handles the transaction process once a valid nonce is discovered.

Installation and Setup

  1. Install Go: Ensure Go 1.21.x is installed on your system.
  2. Clone the Repository: Download this repository to your local machine.
  3. Dependency Installation: Run go get to install the necessary dependencies.
  4. Build the Project:
    • Navigate to the project directory.
    • Run go build -o Powerc20Worker to build the executable.

Usage

  1. Configuration:

    • Customize your Ethereum private key and the contract address in the init() function.
    • Adjust the number of mining workers as needed.
  2. Running the Tool:

    • Launch the tool by executing ./Powerc20Worker in your terminal.
    • You can use optional flags for specific configurations, for example: ./Powerc20Worker -privateKey YOUR_PRIVATE_KEY -contractAddress CONTRACT_ADDRESS -workerCount NUMBER_OF_WORKERS.

Declare

The project code is completely open source. The released version is compiled using Github Actions. If you have any questions about the code, please feel free to raise them or submit the code for security auditing anywhere.

Contributing

Your contributions are welcome. Please adhere to the project's coding standards and include tests for any new features or fixes.

powerc20miner's People

Contributors

refor19855 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerc20miner's Issues

go get exception

I tried to run ‘go get’ but encountered an error message saying
'build Powerc20Worker: cannot load embedded: malformed module path' embedded ': missing dot in first path element.
How can I resolve this issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.