This repository provides a minimal setup to begin mining $HYPERS tokens.
Choose one of these options:
Before you start, ensure you have the following installed on your system:
Node.js
andnpm
oryarn
(guide)
- Docker and Docker Compose (guide)
- Download or clone this repository
- Copy
.env.example
to.env
:cp .env.example .env
- Configure your environment variables in
.env
:PRIVATE_KEY
: Your wallet's private key (use a separate wallet for mining)CALLS_PER_MINE_TX
: Number of calls per mining transactionMINE_TX_PER_MINUTE
: Mining transactions per minuteRPC
: RPC endpointGAS_LIMIT
: Gas limit for transactions
For security reasons, it's recommended to create a new wallet address specifically for mining, because the private key will be stored on your computer all the time, unencrypted. Only transfer the funds you wish to use for mining to this address.
- Run
npm i
oryarn
to install the dependencies - Run
node mine.js
to launch the miner bot
- Start the miner:
docker compose up
- Stop the miner:
docker compose down # or just exit with CTRL+C
Please note: This example is very basic and will need to be improved to remain competitive over a long period of time.
This project is licensed under the MIT License.
@blastoshi_