找到约 14 条结果

文章 第5课 - 安全最佳实践

...策](#solana-runtime-policy) - [所有权和账户修改](#ownership-and-account-modification) - [不可变性](#immutability) - [零初始化](#zero-initialization) - [余额和交易一致性](#balance-and-transaction-consistency) - [原子性](#atomicity) - [内存管理](...

文章 番外篇:我在dacade赚了100SUI

...息由房东发布,包含租金押金等信息: ```rust //If the landlord wants to rent out a house, they first need to issue a rental notice struct RentalNotice has key,store { // uid of the RentalNotice object id: UID, // the amount of gas to be paid per month monthly...

文章 以太坊 Gossipsub 网络中的消息重复数量 - 网络

... 监听器和追踪器** ([GitHub - probe-lab/hermes: A Gossipsub listener and tracer.](https://github.com/probe-lab/hermes/))。Hermes 订阅所有相关的 pubsub 主题并跟踪所有协议交互。此处报告的结果来自 3.5 小时的跟踪。 **研究描述:** Gossipsub 的设计本质...

文章 基于Noir和Nextjs的ZK加法dApp

...](https://github.com/RareSkills/blog/blob/prod/zk-addition-dapp-with-noir-and-nextjs/zk-addition-dapp-with-noir-and-nextjs.md#run-dapp)运行 dapp。 我们将开始克隆 [noir-zk-fullstack-example](https://github.com/RareSkills/noir-zk-fullstack-example.git) 仓库到本地: ```bash git c...

文章 每周以太坊进展 2020/11/08

...inlink 教程:在一个 NFT 中获得随机数](https://blog.chain.link/random-numbers-nft-erc721/) * [BitQuery 对比自身与 TheGraph](https://bitquery.io/blog/thegraph-and-bitquery) * [通过阅读 GasToken 代码来理解 EVM](https://learnblockchain.cn/article/1707) ## 安全性 * [P...

文章 Jolt zkVM上的一个挑战 - ZKSECURITY

...& is_jump_instr == 1) constrain(rd_val == 4 * PC) -- let rd_nonzero_and_lookup_to_rd = -+ let _rd_nonzero_and_lookup_to_rd = + cs.allocate_prod(JoltIn::Bytecode_RD, JoltIn::OpFlags_LookupOutToRd); -- cs.constrain_eq_conditional( -- rd_nonzero_and_lookup_to_...

文章 Web3系列教程之入门篇---9. NFT集合

...ng URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. */ string _baseTokenURI; // _price is the price of one Crypto Dev NFT uint256 public _price = 0.01 ether; // _paused is used to pause the contract in case of an emer...

文章 货币的未来:加密货币在现代金融中的作用

...点!](https://www.reddit.com/r/CryptoCurrency/comments/11bu860/the_pros_and_cons_of_cryptocurrency/)。虽然这种波动性可能为投资者带来产生高回报的机会,但它也带来了巨大的风险,特别是对于那些不熟悉[加密货币市场](https://learnblockchain.cn/article/1...

文章 使用 Magicblock 从零到实时

...DelegateConfig; use ephemeral_rollups_sdk::ephem::{commit_accounts, commit_and_undelegate_accounts}; ``` ### 添加 `\#[ephemeral]` 宏 这会将你的程序标记为与 MagicBlock 的短暂执行层兼容: ``` ##[ephemeral] ##[program] pub mod anchor_counter { ... } ``` 这可确保该程序...

文章 从 Web3 开发者到智能合约审计员:数学、数组、Calldata 等中的开发者失误

...叉,以恢复被盗资金:[https://blog.chain.link/reentrancy-attacks-and-the-dao-hack/](https://blog.chain.link/reentrancy-attacks-and-the-dao-hack/) 2. 下一个重大事件涉及 Parity 的多重签名钱包。这些钱包使用 delegatecall(在调用合约的上下文中执行库代码)...

文章 03 Rust中的结构体

...种:单元结构体,元组结构体以及句名结构体,它代表`And`含义,在生成时必须为所有成员赋值。具体形式如下: ![3.1.png](https://img.learnblockchain.cn/attachments/2023/03/Cb8af0Jf6407552eb17c6.png) ## 3.2 结构体的内存排布 计算机按照字...

文章 加密货币质押:流动性质押代币详解

...…] 目录 [Toggle](https://blockapps.net/blog/staking-in-crypto-understanding-liquid-staking-tokens-explained/#) ## 理解流动性质押代币 ### 什么是流动性质押代币? 流动性质押代币 (LST) 代表了加密货币 **质押** 的革命性进步。 当用户通过专门的协...

文章 Solidity 最新 0.6.8 中文文档发布

...理解以太坊智能合约](https://learnblockchain.cn/2018/01/04/understanding-smart-contracts/) 及 [深入浅出以太坊虚拟机](https://learnblockchain.cn/2019/04/09/easy-evm/) [Solidity](https://learnblockchain.cn/docs/solidity/) 是静态类型语言,支持继承、库和复杂的用...

文章 赔付曲线序列化

...范德蒙德矩阵](https://en.wikipedia.org/wiki/Polynomial_interpolation#Constructing_the_interpolation_polynomial) 或 另一种替代方法,[差商](https://en.wikipedia.org/wiki/Newton_polynomial#Divided-Difference_Methods_vs._Lagrange) 方法。 请注意,虽然以下内容可能看起来...