📜  如何在智能合约上接收以太币 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:56.405000             🧑  作者: Mango

代码示例1
Accepting payments in Ethere only requires 
a function with a payable keyword:

contract MyContract {

    function payMe() external payable {}

}