找到约 11 条结果

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

...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. --split-coins Split the coin into N coins as per the given arr...

文章 深度解析Solidity的17个坑及超详细避坑指南

...** 熵的来源必须是区块链的外部。这可以在具有诸如commit-reveal之类系统的对等体之间完成,或者通过将信任模型改变为一组参与者(例如在RandDAO中)来完成。不过区块变量不应该用做源熵,因为它们可以被矿工操纵。 **...

文章 Babylon 轻皮书:比特币质押 - 解锁 2100 万BTC保障PoS经济安全

...Stakechain:比特币支持的权益证明,2021 年 12 月。 [https://coins.github.](https://coins.github.io/stakechains.pdf) [io/stakechains.pdf .](https://coins.github.io/stakechains.pdf) [25] Gregory Maxwell。使用 scip 签名的 Coincovenants,一个有趣的坏主意,2013。 [https:...

文章 sui-cli使用指南

.... It also accepts an address by its alias pay Pay coins to recipients following specified amounts, with input coins. Length of recipients must be the same as that of amounts pay-all-sui Pay all residual SUI coins to the recipient with input coins, after dedu...

文章 Sui 链上数据查询 | Move dApp 极速入门(拾柒)

> **示例代码见:** https://github.com/NonceGeek/Web3-dApp-Camp/tree/main/move-dapp/sui/sui-data-fetch ## 0x01 通过ID / address直接查询 > **Related Link:** > > https\://docs.sui.io/sui-jsonrpc#sui_getObject 在sui中查询数据最直接的方式就是通过Object Id获取objec...

文章 跨链 vs 多链

...约应用主要在以太坊上,像 Compound、MakerDAO、Uniswap、EtherDelta 等 dApps 通过区块链基础设施完全改变了金融服务的使用方式。 然而,对以太坊智能合约的需求不断增长,增加了对网络区块空间的需求,这导致网络交易费用居高...

文章 Substrate 区块链应用开发之存证模块的功能开发

...确实由某个人创建 ## 实操 1. Open a terminal shell on your computer. 2. Clone the node template repository by running the following command: ``` git clone https://github.com/substrate-developer-hub/substrate-node-template ``` 3. Change to the root of the node template direc...

文章 瞬时存储可能存在的安全和编码错误分析

...ip-1153](https://learnblockchain.cn/docs/eips/EIPS/eip-1153?ref=calibersec.com) 和 [https://soliditylang.org/blog/2024/01/26/transient-storage/](https://soliditylang.org/blog/2024/01/26/transient-storage/?ref=calibersec.com) * * * ### 瞬态存储的应用: (eip 文档中列出了一...

文章 引介 Wrapped Native:Wrapped Ether 的现代替代品

>- 原文链接:https://medium.com/limit-break/introducing-wrapped-native-a-modern-replacement-for-wrapped-ether-cc0431c8a964 >- 译者:[AI翻译官](https://learnblockchain.cn/people/19584),校对:[翻译小组](https://learnblockchain.cn/people/412) >- 本文永久链接:[learnblockcha...

文章 SUI Move官方示例合约实践——游戏类:英雄游戏(hero)

...`remove_sword`)** ### 1.2 官方合约示例代码 https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/games/sources/hero.move > 合约较长,这里仅介绍一下对外的方法 #### (1)任何人都可以创建(`new_game`)新游戏 - 游戏的创建...

文章 签名哈希运算平方膨胀问题与隔离见证

...incode Lab 的 [比特币协议开发研讨会](https://learning.chaincode.com/)。本周,我们深入研究了 SegWit。SegWit 解决了一个叫作 “签名哈希运算平方膨胀(quadratic sighash)” 的问题。 简单来说,这个问题就是签名验证需要长达 O(n²) 的时间...