When you develop a Dapp, you need the Solidity ABI of your smart contract in order to configure web3 to interact with your contract. This Solidity ABI is a json document produced by the Solidity compiler. You could just copy paste it to the frontend, but it can get very…
Read StoryERC20 tokens are a key component of many Ethereum Dapps. They usually represent some sort of ownership over a product, service or asset. They largest use case has been for ICOs but recently their use has been expended to other area like game assets for example. As an Ethereum /…
Read StoryIn the last episode I gave you an introduction to Drizzle and we built a simple Dapp using Drizzle, Truffle and React. To speed up development, we used a package of pre-built drizzle / react components called drizzle-react-components. That's very handy to kickstart your Dapp quickly. However, once your Dapp…
Read StoryIn this episode I am going to introduce you Drizzle, a frontend framework for Ethereum Dapps. We will also build a simple Dapp using this framework, Truffle and React. This will cover: What is drizzle? When do you need it? Integrating Drizzle with other frameworks (React, Truffle, Redux & Saga)…
Read StoryYou know Rock paper scissors right? If you don't, that's a simple game where in each round 2 players make one of 3 moves: rock paper scissors Paper beats rock, scissors beat paper, and rock beats scissors. You can also bet money in each round, to make it more interesting.…
Read StoryHave you heard of Fomo3D? This is a famous lottery Dapp on Ethereum where the last player to invest in a round win the jackpot! By the way, don't freak out if you visit the page of Fomo3d and see references to "scam". This is just some provocative marketing. This…
Read StoryThis video is a tutorial to build a lottery smart contract in Solidity. The rules are simples. In each round of the lottery, anybody can send Ether to the smart contract. When enough participants have sent their money, the lottery will determine a winner and send him/her a prize. The…
Read StoryIn this video, I will teach you how to build a smart contract to organize events.There will be 2 types of users: event organizers customers Event organizers will be able to organize events and sell tickets. Customers will be able to not only buy tickets from the event organizers but…
Read StoryIn this video we will create a loan smart contract with Solidity. There will be 2 kind of parties interacting with the smart contract: investors borrowers The investor will send Ether at the beginning of the loan, and at the end the borrower will reimburse the investor of the initial…
Read StoryDates are a bit weird in Solidity. Solidity does have some keywords for working with dates, like now, or 1 day, but it does not have a native date type. Instead, dates are represented as integers, using timestamps in seconds. In our Truffle tests, we need to be able to…
Read Story