Best of EthereumJune 2024

  1. 1
    Article
    Avatar of techcentralTechCentral·2y

    Bitcoin takes pain

    The crypto market is experiencing significant losses, marking its second worst weekly drop of 2024 due to cooling demand for bitcoin ETFs and uncertainty over US monetary policy. Bitcoin fell below $63,000, and ether and solana have faced their longest weekly declines in recent memory. Fund companies are gearing up to launch the first US ETFs investing directly in ether, while concerns over the Federal Reserve's interest rates persist.

  2. 2
    Article
    Avatar of coinsbenchCoins Bench·2y

    A Simple Explanation of Ethereum Gas and Fees

    Understanding Ethereum gas and fees is crucial for efficient transactions on the network. Gas fees incentivize miners and validators, prevent spam, and manage network resources. Key components include gas price, gas limit, base fee, and priority fee, with the total fee calculated as Gas Used × (Base Fee + Priority Fee). The EIP-1559 update introduced a base fee burning mechanism to control supply and reduce inflation. Prioritizing transactions depends on network demand and appropriately setting the gas parameters helps ensure smooth operations.

  3. 3
    Article
    Avatar of coinsbenchCoins Bench·2y

    Learning to Call Smart Contract Functions with Web3.js

    This post explains how to use web3.js to interact with smart contracts on the Ethereum blockchain. It covers topics such as integrating web3.js into a project, fetching contract address and ABI, instantiating a contract, reading from a contract, and paying to a contract. It also mentions how to listen to events emitted by a smart contract.

  4. 4
    Article
    Avatar of coinsbenchCoins Bench·2y

    Building Blocks of Smart Contracts: Libraries in Solidity

    Solidity libraries are tools for organizing and reusing code, promoting modularity, reusability, and gas efficiency in Ethereum smart contracts. Libraries differ from standard contracts in that they don't store state variables and focus on 'pure' and 'view' functions. They can be deployed either internally or externally, the latter using delegate call for efficient updates and reduced gas costs. Examples include SafeMath for safe arithmetic operations and MerkleProof for data integrity checks.