找到约 15 条结果

文章 (十七)学习笔记:Sui 网络中的赞助交易以及gas station使用场景介绍

...indBytes = await tx.build({ provider, onlyTransactionKind: true }); // construct a sponsored transaction from the kind bytes const sponsoredtx = Transaction.fromKind(kindBytes); // you can now set the sponsored transaction data that is required sponsoredtx.setSender(sender); sponsoredtx.s...

文章 零知识证明 - zkEVM源代码分析(EVM Circuit)

...束(减法也转化为加法) ``` let add_words = AddWordsGadget::construct(cb, [a.clone(), b.clone()], c.clone()); ``` 3/ 确定是加法还是减法操作,查看opcode是ADD还是SUB ``` let is_sub = PairSelectGadget::construct( cb, opcode.expr(), OpcodeId::SUB.expr(), ...

文章 椭圆曲线深入研究(第八部分)

...制为 [_r-挠点_](https://learnblockchain.cn/article/15567#:~:text=to%20construct%20pairings.-,Torsion%20Groups,-Torsion%20groups%20are)。我们将在几分钟内看到原因。 我们知道的另一件事是,我们可以通过在处理 [莫德尔-韦伊群](https://learnblockchain.cn/article/...

文章 如何使用 NFTScan NFT API 在 Viction 网络上开发 Web3 应用

...ons" contract_address = "0xebfd99e37c70bc95a27b2558563bd377cdb8b27d" # Construct API request URL url = f"{api_endpoint}/{contract_address}" # Make an HTTP GET request response = requests.get(url) # Check if the request was successful if response.status_code == 200: # Get the return...

文章 有状态哈希还是无状态哈希——这是后量子问题

...法的稳健性的情况下。 ### 参考文献 \[1] Lamport, L. (1979). Constructing digital signatures from a one-way function (Vol. 238). Technical Report CSL-98, SRI International. \[[论文](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.228.2958&rep=rep1&type=pdf)] \[2] Buchmann,...

文章 ERC20相关业务的合约开发与合约安全

...t is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decr...

文章 如何使用 NFTScan NFT API 在 Fantom 网络上开发 Web3 应用

...ons" contract_address = "0x8313f3551c4d3984ffbadfb42f780d0c8763ce94" # Construct the API request URL url = f"{api_endpoint}/{contract_address}" # Make an HTTP GET request response = requests.get(url) # Check if the request was successful if response.status_code == 200: # Get the re...

文章 optimism sequencer背后的魔法(三):libp2p在op-stack中的使用

...ay(), // host will start and listen to network directly after construction from config. libp2p.ListenAddrs(listenAddr), libp2p.ConnectionGater(connGtr), libp2p.ConnectionManager(connMngr), //libp2p.ResourceManager(nil), // TODO use res...

文章 Can the Issue of Invoice Reimbursement in China be Solved Completely through the Integration of Blockchain and IoT Technology?

...and technical framework, the non-inductive invoice reimbursement system is constructed to reduce the overall reimbursement costs and promoting the improvement of the taxation system in China. Keywords Blockchain, No reimbursement, Invoice, The Internet of Things, Taxation system. 1. INTRODU...

文章 Merkle化和哈希根树 - 深入探讨以太坊中的SSZ Merkle化

...unking):** 将序列化数据分成32字节块。 - **树构建(Tree Construction):** 将块配对,并哈希每对以形成下一层的树。重复此步骤,直到只剩下一个哈希:Merkle根。 - **填充(Padding):** 如果块的数量不是2的幂,则添加额外的零...

文章 如何使用 NFTScan NFT API 在 Gnosis 网络上开发 Web3 应用

...m_value" } # Enter your NFTScan API key api_key = "YOUR_API_KEY" # Construct the request headers headers = { "Accept": "application/json", "Authorization": f"Api-Key {api_key}" } # Send the GET request response = requests.get(base_url + endpoint, headers=headers, params=param...

文章 如何使用 NFTScan NFT API 在 PlatON 网络上开发 Web3 应用

.../own" account_address = "lat1cghxn3j8j4h7sxw0rey9jzc9388tp7aede4870" # Construct API request URL url = f"{api_endpoint}/{account_address}" # Make an HTTP GET request response = requests.get(url) # Check if the request was successful if response.status_code == 200: # Get the returne...

文章 Polkadot Xcm -- 从基础到实践(实现跨链转账)

...e runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic, { // ...... Tokens: orml_tokens::{Pallet, Storage, Event, Config}, XTokens:...

文章 Taproot Assets:协议、闪电网络兼容性

...分支包含的都是空的叶子,可以用 nil 哈希值来代表。 ![constructing-a-sparse-merkle-tree](https://img.learnblockchain.cn/2025/07/13/constructing-a-sparse-merkle-tree.png) \- 构造一棵稀疏默克尔树 - 举个例子,我们可以使用一种虚构的哈希函数 sha002 来...

文章 BOLT 3:比特币交易和脚本格式

...nsactions) * [Dust Limits](#dust-limits) * [Commitment Transaction Construction](#commitment-transaction-construction) * [密钥](#keys) * [密钥推导](#key-derivation) * [`localpubkey`, `remotepubkey`, `local_htlcpubkey`, `remote_htlcpubkey`, `local_delayedpubkey` 和 `remot...