Ethers.js allows you to watch events on Solidity that are emitted from blockchains. Prerequisite Let's say you have the SimpleAuction contract that emits Highe…
Truffle Suite help you run migrations to the Ethereum network with JavaScript APIs. When there are libraries that your contracts are depending on, you have to …
In Solidity, there is a way to extend builtin types with using A for B directive. Please note that the extention is active only within the current scope, meani…
There are two usual ways to handle error in Solidity: require and assert. To summarise, the biggest difference between require and assert is that what develope…
What is SafeMath SafeMath library that has been developed by OpenZeppelin was a famous module to be imported from most of smart contracts to avoid overflow and…
In Solidity, Function Modifiers can be used to inject business logics into other functions in a declarative way. You can think of it like one of the Decorator …