I Created a React Decentralized App to Sell eBooks – Here’s How (3/4)

This is part 3 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ We will connect the front end with the smart contract in this part of the series. The interaction with the smart contract will be done using ether.js. Move to the app.js file inside the source folder. We … Read more

I Created a React Decentralized App to Sell eBooks – Here’s How (2/4)

This is part 2 of our four-tutorial series on creating a decentralized web app to sell ebooks: πŸ‘‡ In the previous part, we built the smart contract and deployed it on the hardhat node for testing. Now it’s time to deploy the contract on the testnet. But before that, let’s install the react app first. … Read more

I Created a Counter Smart Contract with Ether.js — Here’s How

One of the presiding JavaScript libraries for interacting with the Ethereum blockchain is ether.js. The ether.js library, only 88 KB compressed in size, is remarkably smaller than the web3.js library. Because of that, web apps load more quickly if you use the ether.js API. This constantly improving library has already been popular among developers for … Read more

Breaking Down Solidity Expression Trees and Tuple Assignments

In this article, we’ll start familiarizing ourselves with the order of evaluating expressions in Solidity. Plus, you’ll learn about multiple assignments (tuple assignments). Let’s go! πŸ’ͺ It’s part of our long-standing tradition to make this (and other) articles a faithful companion or a supplement to the official Solidity documentation. Order of Evaluation of Expressions Some … Read more

Smart Contracts – Discover How To Create Them Directly and Indirectly!

In this article, we’ll take a closer look at how contracts are created, both directly, i.e. while being implicitly deployed on the blockchain, and indirectly, i.e. when their creation is triggered by another contract. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a supplement to the official … Read more

Learn to Build Smart Contracts in React with web3.js: Here’s How! (2/2)

Welcome to the second part of the series. In the first part, we have seen how web3.js helped the react frontend to connect to the smart contract. πŸ‘‰ Recommended Tutorial: Learn to Build Smart Contracts in React with web3.js: Here’s How! (1/2) We explored the power of the “web3.eth” attribute to call the data from … Read more

Learn to Build Smart Contracts in React with web3.js: Here’s How! (1/2)

A question often asked by newbie learners while developing the smart contract is, “How to connect my frontend code with the smart contract?”. The answer should be web3.js till day. web3.js has a collection of libraries that allows you to interact with a local or remote Ethereum node. Consider it an interface connecting the front … Read more

How to Sell Coupons on ETH? Integrate Frontend with Smart Contract (4/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the last part of the series. πŸ›‘ Note: This is just a training “fun” dApp that shows you how to use React, Truffle, and Solidity. It is not a real dApp with real functionality! Imaginary Scenario: Finxter academy has … Read more

How to Sell Coupons on ETH? Web3.js and Connect Frontend with Metamask (3/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Welcome to the front-end journey for the Finxter coupon Dapp. πŸ›‘ Note: This is just a training “fun” dApp that shows you how to use React, Truffle, and Solidity. It is not a real dApp with real functionality! Imaginary Scenario: Finxter … Read more