https://github.com/tymur999/sol-incinerator-oss
Close token accounts to regain SOL without Sol Incinerator 15% fee
https://github.com/tymur999/sol-incinerator-oss
ata burn sol solana solana-token spl-token token token-burn tokens
Last synced: 27 days ago
JSON representation
Close token accounts to regain SOL without Sol Incinerator 15% fee
- Host: GitHub
- URL: https://github.com/tymur999/sol-incinerator-oss
- Owner: tymur999
- Created: 2024-07-12T23:50:46.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-07-15T18:39:12.000Z (10 months ago)
- Last Synced: 2024-07-16T03:34:06.877Z (10 months ago)
- Topics: ata, burn, sol, solana, solana-token, spl-token, token, token-burn, tokens
- Language: TypeScript
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - tymur999/sol-incinerator-oss - Close token accounts to regain SOL without Sol Incinerator 15% fee (TypeScript)
README
# Close Token Accounts
### Without the 15% Sol Incinerator Fee (0 fee with the program)This program creates a transaction that closes 14 token accounts at once in one transaction.
14 is the highest number of token accounts to burn while ensuring the transaction has >90% success rate
To prevent accidental loss, this program only closes token accounts with 0 tokens in them.
To run:
Create a .env file with these contents
```dotenv
RPC_URL=... #your rpc url to use
WALLET=[...] #wallet whose token accounts to close, *uint8 bytes array format*
```
Then execute
`npm run burn`The program will respond with `14 token accounts successfully closed` if the transaction succeeded.
If the program doesn't respond in 60 seconds, your transaction failed. Restart the program.
Restart the program to keep closing token accounts for massive SOL gains.
*Note: Blacklist token addresses you don't want closed in `burn.ts`