Skip to content

💰 A Node.js Sui Wallet Monitor & Auto-Transfer Script that continuously checks your SUI wallet balance and automatically transfers funds (minus gas) to a destination address when the balance exceeds the minimum gas threshold.

Notifications You must be signed in to change notification settings

mesamirh/SuiSweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SuiSweeper - Sui Wallet Monitor

A Node.js application that monitors a Sui wallet and automatically transfers tokens to a specified destination address.

Features

  • Real-time wallet balance monitoring
  • Automatic token transfer when balance exceeds threshold
  • Support for both hex and base58-encoded private keys
  • Configurable RPC endpoint and minimum gas settings
  • Detailed logging with Explorer links

Prerequisites

  • Node.js >= 16
  • npm or yarn
  • A Sui wallet private key
  • A destination wallet address

Installation

  1. Clone the repository
https://github.com/mesamirh/SuiSweeper.git
cd SuiSweeper
  1. Install dependencies:
npm install

Configuration

Create a .env file in the root directory with:

RPC_URL=https://fullnode.mainnet.sui.io:443
PRIVATE_KEY=your_private_key
DESTINATION_ADDRESS=your_destination_address

Usage

Start the monitor:

npm start

Dependencies

  • @mysten/sui.js: ^0.54.1
  • bs58: ^5.0.0
  • dotenv: ^16.4.7

About

💰 A Node.js Sui Wallet Monitor & Auto-Transfer Script that continuously checks your SUI wallet balance and automatically transfers funds (minus gas) to a destination address when the balance exceeds the minimum gas threshold.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published