How to Deploy a Smart Contract to Polygon in Brownie

This article will look at deploying a smart contract to Polygon using Brownie.  What is Polygon? Polygon is “a protocol and a framework for building and connecting Ethereum-compatible blockchain networks” (https://polygon.technology/). It started as Matic Network in 2017 to solve Ethereum’s scalability and user experience issues by using an ​off/side chain scaling solution. In 2021, … Read more

How Do ERC-1155 Tokens Work?

What is an ERC-1155 Token? An ERC-1155 token is a smart contract on Ethereum that implements the methods and events specified in the  EIP-1155: Multi Token Standard. As the name suggests, it is designed to represent any number of fungible and non-fungible token types in a single smart contract.  In the ERC-20 and ERC-721 standards, … Read more

How Do ERC-721 Tokens Work?

What is an ERC-721 Token? An ERC-721 token is a smart contract on Ethereum that implements the methods and events specified in the EIP-721: Non-Fungible Token Standard. It is designed to be used as a non-fungible token (NFT), meaning the token’s instances (or units) are distinct from one another.  The ERC-721 standard is based on … Read more

How Does the ERC-20 Token Work?

What is an ERC-20 token? An ERC-20 token is a smart contract on Ethereum that implements the methods and events specified in the ERC-20 standard. It is designed to be used as a fungible token, meaning each instance (or unit) of a token has the same value as another instance of the same token. It … Read more

Create Web Frontend using Brownie react-mix

In this article, we continue exploring the functionality of Brownie, a smart contract development and testing framework for Solidity and Vyper. We created a simple smart contract in the previous tutorials and deployed it to the Ropsten testnet. Please check the following articles if you haven’t done so. Brownie – Smart Contracts in Python How … Read more

Brownie – Smart Contracts in Python

This is an introductory article to Brownie, a smart contract development and testing framework for Solidity and Vyper, especially with Python developers in mind.  We first start with the installation process and then create a project with a simple smart contract. We will look at how to interact with the smart contract on a local … Read more

Introduction to Web3.py

This article will give you a quick overview of a Python library, Web3.py. By the end of this article, we will install it on our local computer and understand how to use the basic functionality, such as sending Ether, deploying a Smart Contract, and interacting with it in Python. What is Web3.py? Web3.py is a … Read more

How to Use FTX REST API in Python

This article explains how to use the REST API to access FTX in Python so that you can build your trading program. As you go through the article, you can also watch our article tutorial video: What is FTX? FTX is an exchange where users can trade various digital assets, such as cryptocurrencies, tokenised stocks … Read more

What is “payable” in Solidity?

In Solidity, we can use the keyword payable to specify that an address or a function can receive Ether. This article shows you how it works and how we can use it. Ethereum Accounts and Transactions Each Ethereum account, either an external account (human) or a contract account, has a balance that shows how much … Read more

Solidity Error Handling with assert(), require(), revert() – A Guide for Python Coders

In Solidity, you can use the require, revert, and assert functions to check error conditions and handle exceptions, but they look similar at first glance, and you might get confused about how to use them. This article will explain their differences, specifically to Python developers. We use a simple smart contract below, taken from the … Read more