ICO, DeFi, NFT, there is always a new bubble in crypto. But there is one bubble we haven’t seen yet. And when…
Read StoryOn Ethereum, miners have an unfair advantage called MEV . Since 2020, miners made more than 700M dollars, using techniques like…
Read StorySolana has been described as the next Ethereum killer. In 2021, the price of Solana skyrocketed. Even Celebrities are jumping…
Read StorySolidity is a language for creating Blockchain smart contracts. You can use it to create smart contracts, on more than 200…
Read StoryIt’s so exhausting to keep up with all these new DeFi projects. But very few DeFi projects are really original.…
Read StoryManipulating strings in Solidity is notoriously difficult. This is surprising for most developers who are used to manipulating easily in other programming languages like Javascript or Python. https://youtu.be/gNlwpr3vGYM In this article I give a couple of useful code snippets to do some simple string manipulations in Solidity. Warning: Keep in…
Read StoryGenerating a random number in a smart contract is very useful, especially for games. Can we do this in Solidity? Yes! https://youtu.be/4zvvZf-byok Here is the code: pragma solidity ^0.6.0; contract MyContract { function _randModulus(uint mod) internal returns(uint) { return uint(keccak256(abi.encodePacked( now, block.difficulty, msg.sender) )) % mod; nonce++; return rand; }…
Read StoryERC this, ERC that... so many token standards... If you want to become good in Solidity, you HAVE to understand how to transfer on-chain assets... And that means knowing token standards, like ERC20... The problem is... there are SO MANY token standards: What is an Ethereum Token? Which tokens are…
Read StoryWhen you develop decentralized applications, you quickly stumbled upon this weird concept of "gas". That's very confusing for a lot of developers... But it's actually not that hard, if you ask the right questions. In this article, I will explain gas with 6 super easy questions and answers. https://youtu.be/ROBSk8DmWiE 1.…
Read StoryLet's say we have 2 smart contracts. A and B. A calls B, and B throws an error. What happen in A? Not sure? haha, that's a tricky one! Actually it depends on how B was called. If B was called the normal way, the whole transaction get reverted: contract A {…
Read Story