Use a delegate call to upgrade a Solidity smart contract. A delegate call function runs code of the call in…
Solidity
Arithmetic Overflow and underflow
Envision an older car’s odometer (non digital) that only supports 999,999. Once it crosses 999,999 it will revert back to…
Front Running a Solidity smart contract
When a transaction is submitted to the block chain it is broadcasted to the memory pool and is waiting for…
Deposit 14 ETH game in a Solidity smart contract
The contract below is a gambling game where the 14th person to send ETH to the contract wins all ETH…
Trustless token swap in a Solidity smart contract
The contract below demonstrate a swap of two tokens between two parties at the same time (atomic). Alice owns token…
Shared wallet Solidity smart contract
Build a shared wallet Solidity smart contract. The owner of this contract can add and remove other owners and temporarily…
CHI Gas Token
To encourage developers to remove unnecessary data on the blockchain the Ethereum network provides a refund for each burned element…
The amazing math of private keys
This is a must watch video. It outlines the simplicity and importance of large numbers. It puts allot of concepts…