python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do you decode a Solana instruction in Python like solscan.io does?
Looking at this transaction for example: https://solscan.io/tx/4oQceeLgtDyHcrhStHsSKXGbC3QAF7CHrtUpeJTuthxuX1uTz3M3NYLsv3RiJ5caJ3yfneAYQ5VqAdQ3ebc8wH1A
Solscan is able to decode the instructions, e.g....
FinDev
Votes: 0
Answers: 1
How do I close an account, empty the rent into a wrapped sol account, and then sync it?
I have an account that stores some data and is owned by my Solana program. I'd like to implement a Close instruction that "closes" the account and transfers the remaining native-SOL into a w...

Evan Conrad
Votes: 0
Answers: 2
Uncaught (in promise) Error: Transaction fee payer required
I get this error when I try to execute this using phantom wallet and react app
const transferTransaction = new Transaction()
.add(SystemProgram.transfer({
fromPubkey: alice.publicKey,
toP...
Amir Alam
Votes: 0
Answers: 1
Uncaught ReferenceError: __VITE_IS_MODERN__ is not defined
I am working with @solana/web3.js and @solana/spl-token but I am getting error
Uncaught ReferenceError: __VITE_IS_MODERN__ is not defined
at modulepreload-polyfill:43:3
I am not sure which library ...

stwpd
Votes: 0
Answers: 1