I'am new in Phantom/ Solana universe and I want to create my first web app using Phantom Wallet into my React app. I used the Phantom app documentation to connect to my wallet, that's work. But now, I want to show in my app some data about the connected wallet like NFT possessed, solana balance and so on.
Does anyone know what should I do ?
Thank you in advance.
You can have my code for this. And will work fine. CodeSandbox
But remember install @solana/web3.js v1.30.2 If you gone to higher version some extra dependencies and webpack config is needed.