Skip to content

Simple tool utilizing Solana/web3.js, the new Metaplex/js SDK, and the new token metadata standard v1.3 burnNFT instruction to burn junk NFTs and reclaim almost all of the Solana from rent

Notifications You must be signed in to change notification settings

Swertin/BulkNftBurnTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey Y00ts :)

Tool Purpose

This tool was created to utilize the burnNFT instruction released in the Metaplex Token Metadata Standard v1.3. You can use it to burn a bulk list of NFTs, and reclaim funds locked up in token, metadata and edition accounts. Keep in mind, once a token is burned, it's gone forever.

Commands to install:

git clone https://github.com/Swertin/BulkNftBurnTool.git

cd BulkNftBurnTool

Ensure you have the latest version of node.js

To install dependencies with yarn:

yarn

To install dependencies with npm:

npm i

To Setup:

Make a copy of .env-example, and name it .env

In the .env file:

Export your private key from Phantom.
Note: This private key has to be the owner of the nfts that are being burned, otherwise the transaction will fail

Paste the private key in the Treasury field of .env
e.g. Treasury=pR1vA73KeYSd1237A...

Paste your RPC in the RPC field of .env
e.g. RPC=https://nodemonkey...

Get a json hashlist array of the nfts that you want to burn, paste it into hashList.json, matching the array bracket formatting
e.g.

[
"C5fDox6VNLuNbQZn5RwGK1LUU3K5re1rdjzToJdEMhNE",
"28NVRCQj3D6wRmoQSmhshRYtE8jVKCiPDRBnz5XQyLjn",
"6A3tR5ksJ7ti4i5phv6fH6eioxqb4nYsWGjzoLEDodcx"
]

To Run:

node index.js

About

Simple tool utilizing Solana/web3.js, the new Metaplex/js SDK, and the new token metadata standard v1.3 burnNFT instruction to burn junk NFTs and reclaim almost all of the Solana from rent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published