找到约 15 条结果

文章 Web3系列教程之入门篇---2:什么是Gas?

...rever() public { // Here we run a loop until all of the gas are spent // and the transaction fails while (true) { i += 1; } } } ``` 使这一切成为可能的基本单位是气体。 ## 降低燃气费 如今,以太坊的高额费用是一个热门话题。以太坊社区已庄...

文章 什么是Paymaster ?(ERC-4337)

...易的费用。**validatePaymasterUserOp()** 在用户操作的 **paymasterAndData** 字段中提到。 **validatePaymasterUserOp()** 函数接受待验证的用户操作的字节表示、其 ID 和最大费用的参数。它返回一个名为 "context" 的 bytes32 变量,随后传递给 **post...

文章 区块链无关性:是什么、为什么以及如何实现?

...https://blog.chain.link/how-chainlink-supports-any-off-chain-data-resource-and-computation/)来构建去中心化的预言机网络。 Chainlink 的异构网络由许多并行运行且没有交叉依赖项的独立预言机网络组成。这意味着可以专门构建和优化专门的 Chainlink ...

文章 使用 Yellowstone gRPC Geyser 插件(Rust)监控 Solana 程序

...](https://www.quicknode.com/docs/solana/yellowstone-grpc/overview#endpoint-and-token-configuration)。 - `AUTH_TOKEN`:你的QuickNode Yellowstone实例的身份验证Token。 ``` #[tokio::main] async fn main() -> Result { setup_logging(); info!( "开始监控账户:{}", ...

问题 以太坊私链转账挖矿后仍然不成功,请高手指教;私链启动后ip不是127.0.0.1,不确定是否是这个原因,如果是这个原因怎么解决?

...clean=163.00MiB dirty=164.00MiB INFO [12-16|18:54:11.792] Allocated cache and file handles database=/home/yjh/ETHProject/chain_test/geth/chaindata cache=328.00MiB handles=524288 INFO [12-16|18:54:11.972] Opened ancient database database=/home/yjh/ETHProject/chain_test/geth...

文章 引介 micro-zk-proofs : 用于创建和验证零知识 SNARK 证明的开源库

...ry we can do small wasm runtime for it, but it depends on compiler version and can change! const c = await calc(read('output', 'sum_test_js', 'sum_test.wasm')); const binWitness = await c.calculateBinWitness(input, true); const wtns = await c.calculateWTNSBin(input, true); const witness0...

文章 Nervos x Gitcoin bounty 任务4:在 Layer1 发行一个 sUDT token,然后将他存到 Layer2 上面

...m/Kuzirashi/gw-gitcoin-instruction/blob/master/src/conceptual-explainers/standards.md#sudt) 标准,这是 Nervos 上最基础的资产形式。当通证移动到 Layer2 时,它被转换为 [ERC20](https://github.com/Kuzirashi/gw-gitcoin-instruction/blob/master/src/conceptual-explainers/standards...

文章 剖析DeFi交易产品之UniswapV4:添加/移除流动性

...三个字段: ```C++ struct ModifyPositionParams { // the lower and upper tick of the position int24 tickLower; int24 tickUpper; // how to modify the liquidity int256 liquidityDelta; } ``` 即要操作的头寸的 tick 下限和上限,以及要增加或减少的...

文章 椭圆曲线密码学中强大的基点(G)——什么是阶?

...atnapier.medium.com/the-mighty-base-point-g-in-elliptic-curve-cryptography-and-whats-an-order-afccf2f8b3a3) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 常见问题 - OpenZeppelin 文档

...tern](https://learnblockchain.cn/article/15711/proxies#transparent-proxies-and-function-clashes) 导致的。当使用 OpenZeppelin Upgrades Plugins 时,你不应该收到此错误,因为它使用 `ProxyAdmin` 合约来管理你的代理。 但是,如果你以编程方式使用 OpenZeppelin C...

文章 在币安智能链上构建使用安全数据输入的dApp

...个[ABI](https://ethereum.stackexchange.com/questions/234/what-is-an-abi-and-why-is-it-needed-to-interact-with-contracts)和合约地址。接口是用来获取合约的ABI的好方法 - `scripts`:我们创建的用于自动执行合约流程的脚本 - `tests`:测试 - `brownie-config.yaml`...

文章 支付通道演变史

...作者:Federico Tenga_ > > _来源: [https://blog.chainside.net/understanding-payment-channels-4ab018be79d4](https://blog.chainside.net/understanding-payment-channels-4ab018be79d4)_ 链下交易似乎是提高比特币可扩展性的最佳方案。虽然有多家公司正在构建和测试链...

文章 Tornado Cash是如何工作的?

...-docs.readthedocs.io/en/latest/iden3_repos/research/publications/zkproof-standards-workshop-2/pedersen-hash/pedersen.html) 和 [MiMC 哈希函数↗](https://eprint.iacr.org/2016/492)。我们分别将这两个函数表示为 H1 和 H2。合约有一个高度为 20 的 Merkle 树,其中每个非...

文章 正式验证指南

...元测试属性的正式规范。 - [**Ityfuzz:**](https://github.com/fuzzland/ityfuzz/tree/master) ItyFuzz是一种混合模糊测试工具,结合了符号执行和模糊测试,以查找智能合约中的错误。从技术上讲,它使用正式验证(合成执行),并辅以利用数...

文章 #1:利用 Flashbots 中继漏洞收割 MEV 机器人

...ective.flashbots.net/t/post-mortem-april-3rd-2023-mev-boost-relay-incident-and-related-timing-issue/1540) 中所示,该漏洞存在于中继的代码中。即使签名的区块头无效(签名本身有效),它也会将构建者的区块内容泄露给(恶意的)提议者。在这种情...