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

Earn Passive and Active Income ($200/h) as a Chainlink Validator and Freelance Consultant

Just stumbled upon this opportunity and freelancing niche that could be highly profitable in the Blockchain industry, fun, and sustainable for decades to come. Do you want to grab this opportunity? References from the video: Official website Chainlink: https://chain.link/ Run a Chainlink node: https://docs.chain.link/docs/running-a-chainlink-node/ The gap — nobody on Upwork offers their focused Chainlink services: … Read more

Bollinger Bands Algorithm – Python Binance API for Crypto Trading

A Bollinger Band consists of three lines: a simple moving average, an upper band, and a lower band. The assumption is that if the real price crosses over one of the bands, this can be seen as a signal to trade in or our of a given asset. For cryptocurrencies, breakout trades are more frequently … Read more

Moving Average Convergence Divergence (MACD) – Python Binance API for Crypto Trading

MACD is a trend-following momentum indicator used for trading. It consists of two lines: This article is based on the full trading tutorial on the Not-Satoshi blog. Introduction Before we begin, I would like to make a small request ##################### Disclaimer!! ################################### # The bots built here with python should be used only as a … Read more

Simple Moving Average (SMA) – Python Binance API for Crypto Trading

A simple moving average (SMA) is calculated by summing over a fixed number of last prices, say k, and dividing this by the number of prices k. Depending on the selection k, you can obtain short-term or long-term SMAs. Short-term SMAs respond quickly whereas long-term SMAs respond slowly to changes in the prices. You can … Read more

A RegEx to Match Bitcoin Addresses

What regular expressions can be used to match Bitcoin addresses? A regular expression for validating Bitcoin addresses must check that the string is 26-35 characters long, start with “1” or “3” or “bc1” consists of uppercase or lowercase alphabetic and numeric characters, and ensure it doesn’t contain ambiguous characters. Not allowed are the uppercase letter … Read more

The $31,000,000 Bitcoin Valuation Thesis

In this article, I’ll develop a simple model of how to value Bitcoin. Valuation Thesis Bitcoin will replace the SWIFT bank-to-bank settlement protocol. Valuation Methodology Bitcoin is now the largest, most decentralized, and most secure international monetary network in the world. This makes it a perfect candidate for bank-to-bank settlements of high-value transactions (whitepaper). Currently, … Read more

Arbitrage Opportunity? Staking ETH 2.0 vs Buying BETH on Binance

πŸ‘‰ Disclaimer: NOT investing advice! What is Staking with ETH 2.0? Ethereum moves from a proof-of-work to a proof-of-stake Blockchain technology with its upcoming launch of ETH 2.0. This means that the network is secured by ETH “stakers” rather than ETH miners or validators. Staking will be the ETH 2.0 equivalent of mining. As a … Read more

Bitcoin – Where Are the Women?

A recent Binance Research study shows that approximately 95% of all Bitcoin holders are men. Redistribution of Wealth to Men When reading the Bitcoin whitepaper and the transformation towards a new decentralized, digital monetary system, I realized that we’re in the middle of one of the greatest redistributions of wealth and power in the last … Read more