Skip to content
Advertisement

Tag: solana-web3js

Trying to test Wallet instantiation in Solana JS

I’m trying to follow some code to test out instantiating a wallet in code. I’m hardcoding private key (will not do this in prod obviously) just to see how everything works. I’m getting this error: My code is as below: Answer So the issue here was the encoding. For ease of use, it’s best to use the phantom wallet. I

How to get transfer signatures of 0 decimal spl tokens?

I want to get spl token’s, which 0 decimal, previous owner from the last owner. When I check solscan’s transfers tab I can see which wallets it has been transferred between. But on transactions tab I can only see the transaction which we are creating token account for other addresses. Transfer tab Transaction tab Hence how can I get transfer

Advertisement