Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

I just started to learn Solidity, as a personal challenge. I'm not a developer so I have got a loooooong way to go.

I'm following the Ethereum.org tutorial, here is what I've got doubt about: what does "[msg.sender]" stands for? I guess it is the wallet address of who triggers the contract, but I'm not sure.

1 Answer

0 votes
by (29.5k points)

msg.sender is the person who currently connecting with the contract.
When contracts are connecting with contracts. In that case, the contract that is creating the call would be the msg.sender

you can refer the official documentation for details:  http://solidity.readthedocs.io/en/develop/units-and-global-variables.html#block-and-transaction-properties

31k questions

32.4k answers

500 comments

693 users

Browse Categories

...