Blockchain Development Programming Tutorials, Guides & Best Practices
Explore 30+ expertly crafted blockchain development tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.
Adblocker Detected
It looks like you're using an adblocker. Our website relies on ads to keep running. Please consider disabling your adblocker to support us and access the content.
Tutorial
ETH vs WETH: Understanding the Difference and Their Roles in Ethereum
- ETH: Used for gas fees, transactions, and interacting directly with the Ethereum network.
- WETH: Primarily used within decentralized applications and protocols that require ERC-20 tokens, such as decentralized exchanges (e.g., Uniswap) or lending platforms.
- ETH can be wrapped into WETH and vice versa. There is no change in value—1 ETH always equals 1 WETH.
Oct 24, 2024
Read More Tutorial
javascript nodejs
Tracking Newly Created Tokens on Ethereum
- Etherscan API: We use the
tokentxaction from Etherscan's API to fetch token transfer events. The API returns a list of token transactions, including newly created tokens. - Filter for New Tokens: We filter transactions where the
fromaddress is0x0000000000000000000000000000000000000000, indicating a token creation event. This address is used as a placeholder for the "zero address" in token contracts. - Display Information: We log the name, symbol, and contract address of each newly created token.
Step 4: Monitor for New Tokens
Aug 09, 2024
Read More