How can I check for function caller in Solana/rust like msg,sender in solidity?

Viewed 13

I'm an eth dev who shifted to Solana for a project. I need to restrict the function call to a specific wallet. Is there any way to check who invoked the function call?

0 Answers
Related