You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation you linked literally answers your question:
The way to implement this on Solana is to have an authority account for the contract that must be a signer for the transaction (note that on Solana there can be many signers too). This is a common construct on Solana contracts.
I am trying to compile my contract but getting
error: 'msg.sender' is not available on Solana. See https://solang.readthedocs.io/en/latest/targets/solana.html#msg-sender-solana
┌─ D:\Github\solana-solidity\ERC20.sol:380:16
│
380 │ return msg.sender;
Please let me know how I can fix this ? or is there any alternative for "msg.Sender"
The text was updated successfully, but these errors were encountered: