When sending a transaction, in the wallet confirmation step, in some programs ?the wallet? seems to recognize what the instruction does, whereas in others it just lists the accounts that get written to.
- What entity is responsible for identifying what a particular instruction does (wallet provider?/solana?), and can that data be passed in somehow ?
Judging from @solana/web3.js docs, there's nothing that can be passed there to add metadata to the instruction.
I'm sure it would be of great use to the community to have more specific/human readable and verifiable transaction data versus blindly trusting 'unknown instructions'.
Can someone help me ?