Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 826 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 826 Bytes

test sweeper bot

A very crude implementation of a sweeper bot on for testing purposes Constantly attempt to withdraw all ETH in provided wallet.

Installation

Clone this repo with

git clone https://github.com/mteam88/eth-sweeper-bot
cd eth-sweeper-bot

You must have go installed.

Usage

Run

go run main.go

in eth-sweeper-bot directory.

IMPORTANT: Complete the configuration steps below before running.

Configuration

Set the Environment variables below manually or place them in a .envrc or .env file.

NODE_ENDPOINT = "YOUR NODE PROVIDER HERE" // Usually a local node (ganache, geth) or a hosted node (infura, alchemy.io)
TARGET_PRIVATE_KEY = "YOUR TARGET PRIVATE KEY HERE" // Target wallet to sweep
HQ_ADDRESS = "YOUR PERSONAL ADDRESS HERE" // This is where the ETH will be sent.