Smart Contract API: get sender of the current message
When trying to write sample contract, I often stumble upon on the case where I need this capability, it will be great if we have one.
would including the senders name in the data field be a solution?
Yes, that's what I'm currently doing. But I find it to be tedious to add the sender name for every action that exists in the contract.
You can specify the sender in ABI struct. That’s the work who created the smart contract should do. :)
On 13 Oct 2017, at 3:24 PM, nanonano7 [email protected] wrote:
would including the senders name in the data field be a solution?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/563#issuecomment-336372430, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPlQyW4CTiugBUSSgGV58p7lw6Zdyks5srxApgaJpZM4P4DPh.