找到约 15 条结果

文章 引介 Constantine - 用于证明系统和区块链协议的高性能密码学开源库

...否认它 **图例** - :white_check_mark:: 完全支持 - :building_construction:: 部分支持: - 在 C 中,未提供某些 API。 - 在 Rust 中,只有低级 constantine-sys API 可用,但没有高级包装器。 - :see_no_evil:: 缺少支持 #### 协议 Constantine 在...

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

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

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

文章 DOT 钱包开发详细教程丨区块链技术培训课程 #17

... 离线签名 - https://wiki.polkadot.network/docs/build-transaction-construction - 代币精度:10 ``` const metadataRpc= "调用 state_getMetadata 返回的数据填充到这里" const {Keyring} = require("@polkadot/api"); const { methods, getRegistry, construct} = require("@sub...

文章 Move 高阶语法 | 共学课优秀笔记

...以资源的形式储存在 account 账户下面 **How to use?** - construct a capability resource and `move_to` the receiptor. - 定义一个 Capability 的 type,比如 ownerCapability 表示是一个 module 的拥有者,把这个资源对象发送给其他人,别人有了这个资源...

文章 如何使用 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...

文章 Casper CBC,简化版!简明概述... | 作者:Aditya Asgaonkar | Medium

## Casper CBC,简化版! ### 正确性构造(Correct-By-Construction)Casper 共识机制简化概述 ## 引言 如果你一直在关注 Casper 的研究,那么你可能听说过在 devcon4 上发布的 [**Casper CBC 草案论文**](https://github.com/cbc-casper/cbc-casper-paper/blob/mas...

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

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

文章 Rollup节点规范

...reum-optimism/optimism/blob/master/specs/proposals.md#l2-output-commitment-construction)。 [SSZ]: https://github.com/ethereum/consensus-specs/blob/dev/ssz/simple-serialize.md #### 输出方法 API 这里的输入和返回类型由[引擎 API 规范][engine-structures]定义。 [engine-structure...

文章 一种基于区块链的泛用型数据隐私保护的安全多方计算协议

...tment linked schnorr protocol for multi-party computation, BPLSM). Through constructing the structure of the protocol and carrying out formal proof calculations, it is confirmed that the protocol can be integrated into the blockchain network to merge different private messages for efficient signing ...

文章 如何创建一个 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+"]") }) ...

文章 Chainlink--CCIP--NFT 讲解

...Lane Manager(通道管理) ```js class LaneManager { constructor() { this.lanes = new Map(); this.limits = new Map(); } // 检查通道状态 async checkLane(sourceChain, destChain) { const lane = this.getLane(sou...

问题 bsc链上的erc20合约,要求只有一点买卖的时候2%兑换成bnb发送到营销钱包,现在的问题是添加流动性会一直报错Fail with error 'TransferHelper::transferFrom: transferFrom failed'

...ansferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { retur...

文章 密码学 - SM2曲线 - Asecuritysite

...Y_keygen_init(kctx); OSSL_PARAM params[3]; params[0] = OSSL_PARAM_construct_utf8_string(OSSL_PKEY_PARAM_GROUP_NAME, curve_name, 0); params[1] = OSSL_PARAM_construct_end(); EVP_PKEY_CTX_set_params(kctx, params); EVP_PKEY_generate(kctx, &pkey); printf("Curve Parameters:\n")...

文章 揭秘 0xGasless:利用Gas 抽象和账户抽象实现的 AI 增强型 Web3 策略

... Agent Raptor->>Bundler: Creates optimized route (e.g., Uniswap v3) & constructs UserOperation Bundler->>Paymaster: Requests gas sponsorship for the UserOperation Paymaster->>Paymaster: Validates sponsorship logic (e.g., budget, whitelist, RAG approval) Paymaster-->>Bundler: Retu...