Understanding Ether, Gwei & Wei in Solidity.
In this tutorial , you'll learn how Ethereum handles currency units like wei, gwei, and ether.
In Solidity development, Ether, Gwei, and Wei are units of currency used to manage transaction values, gas costs, and smart contract balances.
Just like $1 = 100 cents..
in Ethereum:
1 ether = 1,000,000,000,000,000,000 wei (10¹⁸)
1 gwei = 1,000,000,000 wei (10⁹)
1 wei = 1 wei
Remix IDE: https://remix.ethereum.org/
Solidity Docs: https://www.soliditylang.org/