Content pfp
Content
@
0 reply
0 recast
0 reaction

gilbert pfp
gilbert
@0xgib
Solana account data can be read by any on-chain program. This is unlike an EVM smart contract's data which is encapsulated, and thus only accessible on-chain if the sc chooses to expose it
1 reply
0 recast
2 reactions

iain pfp
iain
@iain
Do solana programs need to re-derive the data account addresses to do this?
1 reply
0 recast
1 reaction

gilbert pfp
gilbert
@0xgib
Not necessarily. As long as you know the address of an account (PDA or not), you can directly read data from that account. With that said, I can imagine it being useful for a program to implement deriving logic for another protocol for better integration.
0 reply
0 recast
1 reaction