找到约 14 条结果

文章 图解Sui Move标准库——代币核心三件套(balance、coin、pay)

... TxContext` | 创建新的货币类型 | | | `mint_and_transfer` | `c: &mut TreasuryCap, amount: u64, recipient: address, ctx: &mut TxContext` | 铸造币并转移给接收者 | | **元数据操作** | `update_name` | `_treasury...

文章 利用区块链代币化革新商品交易

... - **基于数据的资产**:个人数据、发票和工资 根据[Algorand Foundation](https://www.algorand.foundation/news/what-are-real-world-assets-rwas)的说法,通过在区块链上**代币化**这些资产,投资者可以获得以前流动性不足且难以进入的市场,同时受...

问题 ERC20父类 Context里面的_msgSender()与msg.sender,我在非GSN合约里使用msg.sender测试全部通过,全部替换成_msgSender()有部分测试报错

...t other exception was thrown: Error: Transaction reverted without a reason and without a valid sourcemap provided by the compiler. Some line numbers may be off. We strongly recommend upgrading solc and always using revert reasons. 我定位到了错误代码 //涉及到的存储变量 mapping(a...

文章 椭圆曲线与离散对数问题

...tcoin》代码库的链接。 C++ 中的实现包含在《Pro Cryptography and Cryptanalysis》的第 9 章中。 2. 如果上面的资源太详尽,你可以查看我的 [存储库](https://github.com/enigbe/pbjs)。它占用的空间要小得多,并且包含与从《Programming Bitcoin》学习...

文章 SUI CLI最全命令详解5——Keytool之zkLogin类 @SUI Move开发必知必会

...rnblockchain.cn/article/7858) ## 2 zkLogin类 ### 2.1 `zk-login-sign-and-execute-tx `:zkLogin登录、验签、执行接口 #### (1)说明 这个命令行参数感觉没有实际意义,只是用来体验`zkLogin`的整个流程,包括: - 创建`OAuth`授权连接 - ...

文章 关于如何考虑 Token 薪酬

...takeholders](https://a16zcrypto.com/posts/article/structuring-token-rights-and-avoiding-predatory-deals), and engage distributed communities. And, over the last decade, they’ve also become a way to attract, compensate, and reward talent — from third-party developers and open source contributors ...

文章 NFT投资中的风险管理

...、你的资产和你的声誉 - 艺术品和收藏品》](https://www.artsandcollections.com/the-legal-side-of-nft-investing-protect-yourself-your-assets-and-your-reputation/) 中强调的那样,参与与 NFT 交易相关的私人纠纷或政府行为可能会带来不必要的关注,并对一...

文章 每周以太坊进展 2023/9/23

...5pmPXFQ/SJ0nuzD1T) * [指南:将预编译添加到 Revm](https://alessandromazza.notion.site/P256VERIFY-Precompile-in-Revm-ca2f782a91214b7d99f130cba8ceaed5)(和 Reth),示例添加P256VERIFY * 由于潜在的优势,[集成 MEV-Boost 构建者](https://twitter.com/MaxResnick1/status/17...

文章 关于发行政策的务实终局 - 权益证明/经济学

由 [Anders Elowsson](https://x.com/weboftrees) 撰写 **感谢 [Vitalik Buterin](https://x.com/VitalikButerin), [Caspar Schwarz-Schilling](https://x.com/casparschwa) 和 [Ansgar Dietrich](https://x.com/adietrichs) 的反馈。** ## 1. 引言 本文介绍了一种关于增发策略的实用**终...

文章 Gelato 与 Connext 合作,为 L2 链带来模块化互操作性

...安全的智能合约钱包相结合。 ``` Subscribe to our newsletter and turn on your [Twitter](https://twitter.com/gelatonetwork) notifications to get the most recent updates about the Gelato ecosystem! If you are interested in being part of the Gelato team and building the future of the Intern...

文章 Starknet开发指南:如何使用Cairo实现和测试存储合约

...simple_storage" version = "0.1.0" edition = "2023_11" # See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html [dependencies] starknet = "2.8.2" [dev-dependencies] snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag =...

文章 Sudoswap 正在升级 ♨️

...place has a protocol fee of only 0.5% which goes to the protocol treasury, and users can buy & sell their NFTs in one bulk transaction which helps save on gas!\\ \\ 1:07 PM · Jul 1, 2022\\ \\ * * *\\ \\ 47 Likes](https://twitter.com/sudoswap/status/1542917752733634560) ``` - 一个活跃...

文章 Sui Move 合约升级与权限定制

...x_context::sender(ctx), }); } public entry fun guess_between_zero_and_hundred(count: &mut Count, number: u8, clock: &Clock, ctx: &mut TxContext) { let des_number = ((clock::timestamp_ms(clock) % 11) as u8); if (number == des_number) { send_prize(count.total, number, ctx);...

文章 Polocolo介绍:一种利用查找表的PLONK零知识友好型哈希函数(第一部分)

...案已经涌现,成为先进的 ZK 友好哈希函数。 ### Sponge Construction(海绵结构) 设计 ZK 友好哈希函数的常用方法是首先构造一个置换(一个双射函数 $F_p^t \rightarrow \mathbb{F}\_p^t$, 其中 $t$ 表示置换的大小),然后使用 [海绵结构...