how can I do something when eth is received???
Im deploying a contract and want it to do some function when eth is received
Jun 1, 2021, 3:48 AM
done...
receive() external payable {
sendViaCall();
}
sendViaCall();
}
It works and Im sending it to a hardocoded wallet want if I want to send it to the wallet who send me the eth?
Jun 1, 2021, 3:55 AM