找到约 15 条结果

文章 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....

文章 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...

文章 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...

文章 如何创建一个 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. ...

文章 Sui Move 学习:Object & 四种能力

...ate an instance of the `IgnoreMe` struct and ignore it. // Even though we constructed the instance, we don't need to unpack it. fun test_ignore() { let no_drop = NoDrop {}; let _ = IgnoreMe { a: 1, b: 2 }; // no need to unpack // The value must be unpacked for the code to compile....

文章 单向函数算法深入丨区块链技术培训课程#5

...lles Van Assche设计。Keccak采用了一种称为"海绵结构"(sponge construction)的设计,这种设计使得它在安全性和性能上都有独特的优势。 输出长度为 X 位的 SHA-3 哈希函数表示为:SHA3-X(M) 下面以输出长度为 256 位的函数为例...

文章 Ordinal NFT实现原理及Bitcoin Regtest测试网Mint教程

...//docs.lightning.engineering/the-lightning-network/taro/taro-protocol) - [constructing-and-spending-taproot-outputs](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#constructing-and-spending-taproot-outputs) - [tapscript-example-with-tap](https://github.com/bitcoin-core/btcdeb/blob/...

文章 sui-move基础(四):letsmove-task3

...e attribute can be a field on the object that defines the NFT itself. This construct provides a much more straightforward process for accessing metadata for the NFT as the smart contract that wants the information can just return the name from the object itself. 翻译一下(来自gpt): ...