0 votes
1 view
in Blockchain by (12.1k 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 (28.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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...