hackquest logo

UOMI Finney

视频

描述

"The data submitted to Ethereum mainnet consists of blob data (for L2 transactions) and commitments to validity proofs (e.g., KZG commitments), not the full zk-SNARK proof itself."

This aligns with Ethereum's Proto-Danksharding design and the role of rollups in handling cryptographic proofs.

技术栈

React
Java
Rust
Solidity

融资状态

// Import Ethers.js const { ethers } = require("ethers"); // Replace with your Ethereum provider (e.g., Infura, Alchemy, or a local node) const provider = new ethers.JsonRpcProvider("https://eth-mainnet.g.alchemy.com/v2/your-api-key"); // Replace with the wallet address you want to check const walletAddress = "0xYourWalletAddressHere"; async function checkBalance() { try { // Get the balance in wei const balanceWei = await provider.getBalance(walletAddress); // Convert to ETH const balanceEth = ethers.formatEther(balanceWei); console.log(`Wallet Address: ${walletAddress}`); console.log(`Balance: ${balanceEth} ETH`); } catch (error) { console.error("Error fetching balance:", error); } } checkBalance();

队长
PPrime_xp
赛道
SocialFiDeFiDAO