找到约 15 条结果

文章 EIP712实践

...2Practice.getTypedDataHash(permit); // signing with private key and typed data hash. (v, r, s) = vm.sign(aPrivateKey, digest); // call smart contrat with signature eip712Practice.permitDoSomething( permit.signer, permit.message1, ...

文章 Sig Engineering - 第四部分 - Solana 账本和区块存储

...释文章](https://learnblockchain.cn/article/16835/#basics-of-validators-and-validator-clients)。 ## Solana 的账本 在 Solana 中,账本是一个包含每笔交易历史记录的数据库。 为了促进共识,大量交易被组合在一起形成区块。这引入了一个潜在的网络...

文章 DeFi借贷概念 #3:奖励

...辑,请看他们的[文档](https://docs.liquity.org/faq/stability-pool-and-liquidations)。 Liquity 通过发行协议代币(LQTY)的奖励来进一步激励对稳定池的参与。让我们来看看分配逻辑: ```Solidity pragma solidity ^0.8.13; function _getLQTYGainFromSnapsh...

文章 如何在比特币上验证零知识证明(ZK证明)?

...](https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Double-and-add) 算法,这会需要数百条指令。 另一个被禁用且在 Twitter 上成为热点话题的操作码是 OP\_CAT。你可能会看到一些比特币爱好者在他们的 Twitter 资料中包含 OP\_CAT,以展...

文章 Michael.W基于Foundry精读Openzeppelin第45期——ERC20FlashMint.sol

...ockERC20FlashMint is ERC20FlashMint { bool private _customizedFlashFeeAndReceiver; constructor( string memory name, string memory symbol, address richer, uint totalSupply ) ERC20(name, symbol) { _mint(richer, totalSupply); ...

文章 使用Motsu测试Arbitrum Stylus智能合约

...这个名字巧妙地引用了“手持手写笔(holding a stylus in our hand)”—— 这对于一个让你可以控制 Stylus 合约测试的工具来说,是一个恰当的比喻。 ## **设置你的项目** 在深入研究 Motsu 之前,请确保你的项目已正确配置。以下是本项...

文章 Rust不寻常的语法

...应谨慎使用。 现在,考虑以下代码: ```rust pub fn encode_and_decode(_ctx: Context) -> Result { // 创建`Person`结构的新实例 let init_person: Person = Person { name: "Alice".to_string(), age: 27, }; // 将`init_person`结构编码为字节向...

文章 关于空投

...[关于Axie Infinity的文章](https://www.decentralised.co/p/to-infinity-and-beyond),当时他们的规模还很小,而且[Nansen的Alex](https://www.decentralised.co/p/alpha-leak-generators)在他们募集到7500万美元之前很久就接受了采访。 今天,我带着一个类似的故...

文章 计算去中心化物联网(DePINs)的理由

...的用户体验,能够按需访问和支付资源。作为参考, [Grandview Research](https://www.grandviewresearch.com/industry-analysis/cloud-computing-industry) [预测](https://www.grandviewresearch.com/industry-analysis/cloud-computing-industry) 全球云计算市场规模预计将在2030...

文章 FCHAIN验证者和质押合约审计

...概述](#system-overview) - [安全模型和信任假设](#security-model-and-trust-assumptions) - [特权角色](#privileged-roles) - [正在开发的ICM合约](#icm-contracts-under-development) - [严重性关键](#critical-severity) - [锁定的许可证可以转移](#locked-in-licenses-...

文章 The Graph 与 Bitquery 区块链数据方案对比

> * 来源:https://bitquery.io/blog/thegraph-and-bitquery 作者: BitQuery > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) > * 本文永久链接:[learnblockchain.cn/article…](https://learnbloc...

文章 Zetachain:构建全链理论

...拟机、Cosmos 和其他生态系统上运行它们。Axelar 使用“hub-and-spoke”拓扑,其中各个区块链连接到其中心 hub,从而简化了跨链开发。 总之,全链基础设施旨在无缝地互连任何区块链网络,从而允许数字资产和数据在区块链之间自...

文章 在 EVM 中公开信标链根-EIP4788

...oot)        );        // Fetch state root and assert the result        bytes32 result = beaconReader.getBeaconStateRoot(slot);        assertEq(result, mockStateRoot, "Beacon state root mismatch");    } } ``` ### ...

文章 如何在Arbitrum Nova上创建1万个NFT集合

... 首先,我们将使用以下 [link](https://docs.ipfs.tech/install/command-line/#install-official-binary-distributions) 安装 IPFS。你可以通过多种方式访问 IPFS;但是,我们将通过 [Kubo binary](https://docs.ipfs.tech/how-to/command-line-quick-start/#take-your-node-online) 安...

文章 理解区块链 Rollups 的指南:零知识 Rollups 与乐观 Rollups

...(https://www.cyfrin.io/blog/what-are-blockchain-rollups-a-full-guide-to-zk-and-optimistic-rollups) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~