SolidityIn
All modules

Ether

Payable and msg.value

Ether is the currency of Ethereum, and contracts can hold it just like accounts do.

Sending ETH safely

Solidity offers three ways to send ETH: transfer, send and call.

Receive and fallback functions

When someone sends ETH to a contract address without calling any function, Solidity runs a special function.