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 …
In most programming languates, it is fairly easy to compare equality of strings. However, Solidity does not come with native functions to compare the strings. …