找到约 15 条结果

文章 入门 Sui Move 开发:8. PTB 以及 Sui TS SDK 的使用

...l. --make-move-vec Given n-values of the same type, it constructs a vector. For non objects or an empty vector, the type tag must be specified. --merge-coins Merge N coins into the provided coin. --move-call Make a move call to a function....

文章 开发一款Substrate应用 - 抛硬币游戏(一)

...dule::Trait for Runtime { type Event = Event; } ``` * 添加模块到`construct_runtime!`宏: ```rust construct_runtime!( pub enum Runtime with Log(InternalLog: DigestItem) where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic ...

文章 Poseidon哈希作为EVM预编译合约的计算成本分析

...添加。 Poseidon 是一种相对较新的哈希函数,基于 [sponge construction](https://keccak.team/files/CSF-0.1.pdf),它使用遵循 [Hades strategy](https://eprint.iacr.org/2019/1107) 构建的置换。 先前的研究 ([Grassi et al. 2021](https://eprint.iacr.org/2019/458.pdf)) 表明...

文章 BTC Lisp 作为 Script 的一种替代

... atom 元素,则返回 nil | | `b`(二叉树) | 0x20 | ENV… | | construct a balanced, left-biased binary tree consisting of each of the arguments构造一棵由所有参数组成的、平衡的、左偏的二叉树 | | `not`(与非门) | 0x09 | A B … | `not` | 如果 A、B … 全都...

文章 Deep Dive into the TON Smart Contract Compilation Process: Compiling Func and Tact Languages

...a `TactCompilerConfig` object and the name of the contract. The function constructs a virtual file system using `OverwritableVirtualFileSystem` and configures the build settings. After the compilation is completed, it extracts the compiled BOC (Block of Code) from the virtual file system and ret...

文章 BTC Lisp 作为 Script 的一种替代

...二叉树) | 0x20 | ENV… | | construct a balanced, left-biased binary tree consisting of each of the arguments构造一棵由所有参数组成的、平衡的、左偏的二叉树 | | `not`(与非门) | 0x09 | A B … | `not` ...

文章 SUI CLI常用命令解析2——Client PTB @SUI Move开发必知必会

...ve-vec Given n-values of the same type, it constructs a vector. For non objects or an empty vector, the type tag must be specified. --merge-coins Merge N coins into the provided coin. --move-call Make a move call to a function....

文章 TLUV 限制条款操作码简介

...00) \[3\] [https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing\_and\_spending\_Taproot\_outputs](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing_and_spending_Taproot_outputs) \[4\] [https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-Aug...

文章 Unlocking the Power of Debugging in TON Smart Contracts: The FunC Debug Toolkit

... Contracts and FunC TON smart contracts are written in FunC (Functional Constructors), a domain-specific language that allows developers to create complex, stateful logic on the blockchain. FunC is designed to be both expressive and secure, enabling developers to write smart contracts that are ef...

文章 如何创建一个 ZK 智能合约

..., "circuits/quadratic.wasm", "circuits/quadratic.zkey"); // Construct the raw calldata to be sent to the verifier contract const rawcalldata = await snarkjs.groth16.exportSolidityCallData(proof, publicSignals); jsonCalldata = JSON.parse("["+rawcalldata+"]") }) ...

文章 区块链中的数学 - Halo2 Circuit

...用来构造table column和gate 约束。 ``` impl FieldChip { fn construct(config: ::Config) -> Self { Self { config, _marker: PhantomData, } } fn configure( meta: &mut ConstraintSystem, advice: [Column; 2], ...

文章 Dilithium(又名ML-DSA)与菲亚特-沙米尔方法的美妙世界

...anathan, V. (2008, May). Trapdoors for hard lattices and new cryptographic constructions. In **加粗**Proceedings of the fortieth annual ACM symposium on Theory of computing** (pp. 197–206). >- 原文链接: [billatnapier.medium.com/...](https://billatnapier.medium.com/the-wonderful-world-of-d...

文章 如何使用 Runes API 在 Bitcoin 网络上开发 Web3 应用

...THE•MOON' # This should match the exact identifier used in the API # Construct the complete API request URL url = f'{base_url}/btc/rune/{rune_identifier}' # Send an HTTP GET request and retrieve the response response = requests.get(url) # Check the response status code if response.sta...

文章 sui-move进阶:vec_map

...eys_values(map); ``` #### 从键和值向量构造映射 ```move /// Construct a new `VecMap` from two vectors, one for keys and one for values. /// The key value pairs are associated via their indices in the vectors, e.g. the key at index i /// in `keys` is associated with the value at inde...

文章 Deep Dive into TON Smart Contracts: Implementing Proof-of-Work in the TestGiver Contract

... based on the input complexity level. * **Build New State**: The function constructs a new contract state with the updated seed and PoW complexity, and the current time as the timestamp of the last successful attempt. * **Return Result**: The function returns the updated contract state. ### 6. ...