It’s so exhausting to keep up with all these new DeFi projects. But very few DeFi projects are really original.…
Read StoryWhat will I learn? Connecting and using an Ethereum testnet What is a flash loan (ERC 3156) Flash loan interfaces Flash loan wrappers Using a flash loan borrower contract Requirements Any chrome-based browser that allows Chrome extensions Metamask browser extension Internet connection (for using testnets) Difficulty Intermediary Introduction The DeFi…
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 Story[contact-form-7 id=”217″ title=”Simple Subscribe Form”]