How to create an xNFT that can be executed inside backpack wallet.
The TL;DR
1) install react-xnft
2) get pk and connection: usePublicKeys and useSolanaConnection hooks
3) send a transaction: window.xnft.solana.send(transaction)
The rest is just react frontend stuff (and transaction building)
Source code from this video:
[ Ссылка ]
xNFT docs:
[ Ссылка ]
The funny video I mentioned:
[ Ссылка ]
Timestamps:
0:00 pre-Intro
1:00 introduction
2:30 xNFT showcase
6:00 xNFT docs and installation
10:00 working with the simulator
11:47 going though the example code
16:24 building my own xNFT
27:51 sending a transaction from the xNFT
39:15 publishing the xNFT
40:47 conclusion
Join the discord
[ Ссылка ]
More links:
[ Ссылка ]
Thanks for watching!
![](https://i.ytimg.com/vi/uxupPcVTjWs/maxresdefault.jpg)