cryptoloutre / solana-tools

A bunch of tools to help people in the Solana ecosystem. This website includes an UI to burn Solana NFTs and an UI to create SPL-Tokens. More tools are scheduled...

Home Page:https://solanatools.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue on burning NFTs in devnet

irzinfante opened this issue · comments

Hello, I'm facing some issues when trying to use the most recent code of the repository for burning NFTs in devnet.

When I use the solana-tools page for devnet (https://solanatools-devnet.vercel.app/gallery) for burning NFTs everything works fine, and the instructions in the transaction for burning the NFT are like these:
image

However, when trying to do the same thing with a local instance (http://localhost:3001/burnNFT) of the solana-tool (doing the instalation following the README.md and choosing the endpoint for devnet in the _app.tsx file) I can't burn the NFTs and the instructions of the transaction are these ones:
image

I have also notice that at some point the name of the page for burning NFTs was changed: d663760. And it looks like the page in https://solanatools-devnet.vercel.app/ uses the old name, so I guess that the version of the code deployed there may not be the most recent code of the repository.

Could any clarification regarding all these things be given please? The code running in https://solanatools-devnet.vercel.app/ is working, and I would like to know which commit was it.

Many thanks in advance,
Iker

Hi @irzinfante :)
The source code of https://solanatools-devnet.vercel.app/ can be found here. When I built SolanaTools, I didn't know how to make the switch mainnet<>devnet so I created a repo for both. The repo for the devnet is outdated that's why the name of the page doesn't match.
I am aware of this issue for a few days and I will fix it ASAP. The issue comes from the burn function of the BurnNFTView/index.tsx file. The problem is that no instruction is added to the transaction. So I guess I broke something in the condition during a recent modification.

Understood. Thank you for your help and clarifications. 👍

From my side this issue can be closed. But if you want you can keep it, as a reminder, until you have fix the error.

You're welcome. I keep it and I will ping you once fixed ;)

In any case, sorry for the inconvenience

Hello @cryptoloutre. Take a look at PR #7 please. This worked for me and it may solve the issue.

@irzinfante merged! Thanks a lot and sorry for the inconvenience :/