DeveloperBreeze

Cryptocurrency Development Tutorials, Guides & Insights

Unlock 10+ expert-curated cryptocurrency tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your cryptocurrency skills on DeveloperBreeze.

How to Query ERC-20 Token Balances and Transactions Using Ethers.js and Etherscan API

Tutorial October 24, 2024

To use the Etherscan API, you’ll need to get an API key. Here’s how:

We will use Ethers.js to interact with the Ethereum blockchain and Axios to make HTTP requests to the Etherscan API.

Understanding and Using the Etherscan API to Query Blockchain Data

Tutorial October 24, 2024

In this tutorial, you'll learn how to use the Etherscan API to query blockchain data such as Ethereum wallet balances, transaction details, token balances, and more. This guide will help you set up your Etherscan API key, make API requests, and interact with the Ethereum blockchain programmatically.

By the end of this tutorial, you will be able to retrieve blockchain information such as transaction history and token balances through simple API calls.

Getting Wallet Balance Using Ethers.js in Node.js

Tutorial October 24, 2024

Wallet Address: 0xYourEthereumAddress
Wallet Balance: 2.345 ETH
  • Ethers.js: We are using Ethers.js to interact with the Ethereum blockchain. Ethers.js simplifies the process of querying the blockchain and formatting the data for developers.
  • Provider: Whether you use Infura or a public node, the provider allows us to connect to the Ethereum network. Infura is commonly used because of its reliability and scalability, but public nodes can work as well if you're looking for a simple alternative.
  • getBalance(): This function queries the Ethereum network for the balance of the wallet in wei (the smallest unit of ETH). We then use ethers.utils.formatEther() to convert the balance from wei to Ether.

Understanding 0x000000000000000000000000000000000000dead Address and Token Burns in Ethereum

Tutorial October 24, 2024

The Ethereum address "0x000000000000000000000000000000000000dead" is a special placeholder address, often referred to as a burn address. It is not used for transactions or wallet management, but for a specific function in the cryptocurrency ecosystem—burning tokens.

Burning tokens refers to the process of sending cryptocurrency tokens to an address from which they cannot be retrieved. Tokens sent to this address are effectively removed from circulation forever. The address ends with "dead," signaling its purpose of making tokens unreachable.

Advanced Pybit Tutorial: Managing Leverage, Stop-Loss Orders, Webhooks, and More

Tutorial August 14, 2024
python

This function places a stop-loss order at $29,000 for a buy order of 0.01 BTC.

Webhooks can be used to receive real-time notifications about specific events, such as order executions. Although Pybit doesn't directly manage webhooks, you can easily integrate webhooks into your Python application using Flask or Django.