fbpx
October 12, 2021

The 3 most important smart contracts in DeFi

It’s so exhausting to keep up with all these new DeFi projects. 

But very few DeFi projects are really original.…

Read Story
June 28, 2021

How To Perform Custom Ethereum Flash Loans Using Solidity (ERC 3156 Standard)

What 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 Story
April 6, 2020

How to manipulate strings in Solidity?

Manipulating 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 Story
April 3, 2020

How to generate a random number in smart contract?

Generating 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 Story
November 21, 2019

Ethereum Tokens explained to Developers – Full Guide (9 tokens covered)

ERC 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 Story
October 27, 2019

What is Ethereum Gas? Dead simple explanation

When 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

Never miss a minute

Get great content to your inbox every week. No spam.

[contact-form-7 id=”217″ title=”Simple Subscribe Form”]

Free 14 day trial • No set-up costs • Cancel any time
Arrow-up