Skip to content

Reclaim the storage fee by burning and closing solana token account

License

Notifications You must be signed in to change notification settings

Meldoner/solana-burner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Token Burner

Overview

Solana Token Burner is a Python application designed to burn and close token accounts in order to refund storage fees. It automatically close empty token accounts and asks on which non-empty token accounts to burn the token and close the account. Requires private key of your wallet

Features

  • Free and open source
  • Connect to custom Solana RPC endpoints.
  • Retrieve and display token accounts owned by a wallet.
  • Burn tokens from specified token accounts.
  • Close token accounts with zero balance.
  • User-friendly command-line interface for interaction.

Installation

To get started with the Solana Token Burner, follow these steps:

  1. Clone the repository:

    git clone https://github.com/meldoner/solana-burner.git
    cd solana-burner
  2. Install the required dependencies:

    It is recommended to use a virtual environment. You can create one using venv:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`

    Then install the dependencies listed in requirements.txt:

    pip install -r requirements.txt

Usage

To run the application, execute the following command:

python main.py

You will be prompted to enter your private key and select an RPC endpoint. Follow the on-screen instructions to manage your token accounts.

Donation

If you'd like to thank me for this program, here are my wallets:

  • SOL: CAYzFrSaogwHrsQBZLTnLf8Q5THkcAQ8GrUU1dpkc5DN
  • USDT TRC-20: TW8w2gbsDGWRJwWt8NjU5FyRTm7MFMwPJv

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines on how to contribute to this project.

License

This project is licensed under the terms specified in the LICENSE file.

About

Reclaim the storage fee by burning and closing solana token account

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages