找到约 12 条结果

文章 每周以太坊进展 2020/05/24

... demo](https://www.reddit.com/r/CryptoCurrency/comments/gonjm3/tldr_moons_and_bricks_go_brrr/),可将交易手续费降低 60 倍 * Loopring 的 zk rollup 侧链[在上线 3 个月以内执行超过 100 万笔交易](https://medium.com/loopring-protocol/one-millionth-trade-on-loopring-exchange-a-...

文章 逐行代码解读Solana的Hello world程序

...unt { /// number of greetings pub counter: u32, } // Declare and export the program's entrypoint entrypoint!(process_instruction); // Program entrypoint's implementation pub fn process_instruction( program_id: &Pubkey, // Public key of the account the hello world program was ...

文章 在 ECDSA 之上使用 Lamport Signature 签名比特币交易

...,请给我发邮件。任何错误都归属于我自己。 [^1]: “Constructing Digital Signatures from a One Way Function”, Leslie\ Lamport (1979),\ [^2]: “A Certified Digital Signature”, Ralph C. Merkle (1979),\ [^3]: “Timelocked Proof of Work via signature length”, Robi...

文章 跟我学 Solidity :开发环境

...击“Activate”将其激活,并执行相同的操作以添加“Deploy and run transactions(部署并运行交易)”插件。 “ Solidity compiler(编译器)”选项卡将允许你配置编译器参数并编译智能合约,而“Deploy and run transactions(部署并运行交易...

文章 姚期智 - 姚氏百万富翁

...J =4 I =5 ``` 接下来,我们选择一个随机数 U: ``` U=randint(0,2000) ``` 并计算 C 值(这是 RSA 加密过程): ![](https://img.learnblockchain.cn/2025/04/27/0VZewm7sQDp3PzHdk.png) 现在 Alice 计算: ``` C - J + 1 ``` 她与 Bob 分享这个,然...

文章 02.slither基本使用

...mary, inheritance, inheritance-graph, slithir, slithir-ssa, pausable, vars-and-auth, require, variable-order ``` https://github.com/crytic/slither/wiki/Printer-documentation 这里使用7个基本的打印模块进行演示。 - 合约摘要 contract-summary - 函数摘要 function-s...

文章 区块链中的隐私问题与新兴解决方案

...目录 [Toggle](https://blockapps.net/blog/privacy-concerns-in-blockchain-and-emerging-solutions/#) ## 区块链数据的透明性和不变性 区块链技术的核心特征之一是其透明性。公共区块链上的所有交易对任何人都是可见的,从而实现了高度的责任性和...

文章 签名延展性攻击

...ill allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v...

文章 深入解析sui::package模块:Move语言中的包发布与升级

... - **Publisher**:用于声明包的发布者,提供`claim`、`claim_and_keep`和`burn_publisher`等函数。 - **UpgradeCap**:控制包的升级能力,提供`upgrade_package`、`version`和`upgrade_policy`等函数。 - **UpgradeTicket**:授权特定升级的许可,提供`ticket_packa...

文章 ChatGPT Solidity 智能合约

... contract owner address public owner; // Events for token purchase and refund event TokenPurchase(address indexed purchaser, uint256 amount); event TokenRefund(address indexed refundee, uint256 amount); // Mapping from user address to their token balance mapping(address => uint...

文章 以太坊智能合约安全建议和最佳实践

...loom-network/how-to-secure-your-smart-contracts-6-solidity-vulnerabilities-and-how-to-avoid-them-part-2-730db0aa4834 1. 链接中的第 4 点:使用合约地址调用 selfdestruct,会将以太币发送到该地址,而无需调用合约 fallback 函数,因此永远不要基于余额做出...

文章 Rust 实战:构建实用的 CLI 工具 HTTPie

...] name = "httpie" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.71" # 错误处理 clap = { version = "4.3.9", features = ["derive"] } c...