找到约 15 条结果

文章 哪些受攻击的跨链桥:跨链漏洞的智能合约安全指南

...eppelin/contracts/token/ERC20/IERC20.sol"; // This is a HIGHLY simplified and INSECURE example. DO NOT USE IN PRODUCTION. // 这是一个**高度简化**且**不安全**的例子。**不要**在生产环境中使用。 contract BasicBridge { // The address of the token on the current blockch...

文章 Vitalik: 我的技术乐观主义

...i 志愿者和其他人对反馈和审查的贡献。* 上个月,Marc Andreessen 发表了他的“ [技术乐观主义宣言](https://a16z.com/the-techno-optimist-manifesto/) ”,主张对技术持续热情,并认为市场和资本主义是建设技术和推动人类走向更加光明未...

文章 Girault知识证明中的“冰冻之心”漏洞

...1-coordinated-disclosure-of-vulnerabilities-affecting-girault-bulletproofs-and-plonk/)中,我们披露了破坏零知识证明系统多个实现健全性的严重漏洞。这类漏洞,我们称之为 Frozen Heart(冰冻之心),是由 Fiat-Shamir 转换的不安全实现引起的,这些...

文章 如何在solidity中开始使用无gas元交易

...g) 图片来源:[tor.us](https://docs.tor.us/customauth/compatibility-and-common-patterns/gasless-meta-transactions) ## 在 Solidity 中实现无gas元交易 为了在Solidity智能合约中实现无gas元交易,我们需要做以下工作。 1. 创建一个函数,允许中继者...

文章 BOLT 9:已分配的特性标志

...02-simple-close]: 02-peer-protocol.md#closing-negotiation-closing_complete-and-closing_sig [bolt03-htlc-tx]: 03-transactions.md#htlc-timeout-and-htlc-success-transactions [bolt02-shutdown]: 02-peer-protocol.md#closing-initiation-shutdown [bolt02-quiescence]: 02-peer-protocol.md#channel-quiescence [b...

文章 LaserStream:下一代 Solana 数据流

... [计划和速率限制页面](https://www.helius.dev/docs/billing/plans-and-rate-limits)。 ## **如何开始使用 LaserStream** 下面是一个快速入门指南,展示了如何通过我们的 [LaserStream SDK](https://github.com/helius-labs/laserstream) 使用 gRPC 进行连接。 ###...

文章 每周以太坊进展 2022/8/27

...w.com/coins/overview-eth/ethereum-merge-upgrade-checklist-for-home-stakers-and-validators) * [Flashbots Protect](https://writings.flashbots.net/writings/flashbots-protect-merge-and-beyond/)将在合并期间关闭,直到 MEV-boost 在大约 10 个 epoch 完成后上线 * [mainnet-shadow-fork...

文章 Namada的生态系统与链间隐私的未来

...中在 [对屏蔽数据可用性的探索](https://namada.net/blog/namada-and-celestia-exploring-a-path-toward-shielded-data-availability),因为 Namada 以隐私为中心的屏蔽集架构。 在运行于 Celestia 上的 [privacy-enabled rollup](https://ethereum.org/en/developers/docs/scaling/zk...

文章 用 Rust 打造 Web3 区块链浏览器:从零开始的实战指南

... blocks. let sub = provider.subscribe_blocks().await?; // Wait and take the next 4 blocks. let mut stream = sub.into_stream().take(4); // let mut stream = sub.into_stream(); println!("Awaiting block headers..."); // Take the stream and print the block number upon ...

文章 从零开始的聚合器开发: Lotus Router 合约解析

...: 1. Uniswap v3 2. Uniswap v2 3. Uniswap Flashloan 4. ERC20 Transfer and TransferFrom 5. WETH Wrap and Unwrap 6. Dynamic Contract Call 实际上,看上去功能很多,但合约并不复杂。合约的核心功能主要聚集在使用内联汇编进行 Calldata 编码和解码上。我...

文章 Nervos x Gitcoin bounty 任务2: 在 Polyjuice 上部署一个简易的以太坊智能合约

...s://github.com/Kuzirashi/gw-gitcoin-instruction/blob/master/src/task-setup-and-requirements/task-setup-and-requirements.md)页面。 ```jsx cd ~/projects/gw-gitcoin-instruction/src/examples/2-deploy-contract/ yarn compile ``` 在这些命令完成了以后,你将会在 `build/contracts` ...

文章 每周以太坊 2024/03/16

...th-beta)(基于 Rust 的执行层客户端)现在处于测试版 - [Grandine](https://medium.com/@grandine/grandine-is-open-sourced-b1815cf0ae39)(基于 Rust 的共识层客户端)以 GPL v3.0 许可证开源 - Vitalik 文章:[量子紧急升级计划](https://ethresear.ch/t/how-to-hard-...

文章 Solidity 技巧:如何减少字节码大小及节省 gas

> * 链接:https://blog.polymath.network/solidity-tips-and-tricks-to-save-gas-and-reduce-bytecode-size-c44580b218e6 > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) > * 校对:[Tiny 熊](https://le...

文章 如何使用Ganache分叉以太坊区块链

...nache](https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat) 后与 Hardhat 建立了新的合作关系。你可以在我们这里找到 [与 Hardhat 相关的指南](https://learnblockchain.cn/tags/hardhat)。如果你想查看此指南的更新版本,...

文章 以太坊 - SUAVE 链 - Flashbots

...quest-serialization--signing) - [节点要求和设置](#node-requirements-and-setup) - [Gas 费用和交易费用](#gas-and-transaction-fees) - [安全考虑](#security-considerations) --- ### 概览 本文档概述了 SUAVE Rigil 链的规范。 在 SUAVE 协议的上下文中,SUAVE 链...