找到约 13 条结果

文章 无状态性:基于键值对的见证数据方案

...生成 “[默克尔多值证明](https://medium.com/@jgm.orinoco/understanding-sparse-merkle-multiproofs-9b9f049e8f08)” ([中文译本](https://ethfans.org/posts/understanding-sparse-merkle-multiproofs))。 本文研究了另一种区块见证数据的建构方法,它基于一个键值...

文章 常见比特币失盗情形

...受诈骗邮件攻击](https://blog.bitbox.swiss/en/staying-secure-understanding-and-identifying-scam-emails/)》。 ## 键盘记录器 我们要提到的最后一种但是不可小觑的攻击是一种更加 “传统” 的攻击手段,打从我们开始使用 “键盘” 开始,这种攻...

文章 Web3系列教程之入门篇---1:了解React (Next.js)

... Grapes ); } ``` [运行代码](https://codesandbox.io/s/icy-water-xrm2ch?file=/src/App.js) 很好,但这与HTML没有什么区别。但是,如果你想根据一个数组来呈现一个项目的列表呢? ```jsx function ShoppingList() { const items = ...

文章 教程: 利用Gelato搭建自动Uniswap交易

...命令提交任务: ```bash yarn submit-task-uniswap-self-provider-and-monitor ``` 执行这个脚本会发送2个交易: 1. `approve(授权)`代理合约`GelatoUserProxy`可以转移3 DAI,因为之后代理合约要使用 Dai在uniswap上交易。 2. 将`任务`提交`GelatoCo...

文章 关于加密货币质押你需要知道的一切 - 黄金质押

.../how-to-achieve-validator-node-redundancy-in-crypto-staking-best-practices-and-strategies/) - [加密质押:成功质押需要哪些硬件?](https://blockapps.net/blog/staking-in-crypto-what-hardware-do-you-need-for-successful-staking/) - [加密质押:探索 2024 年顶级流动性质押平...

文章 a/(b+c) + b/(c+a) + c/(a+b) = 4 的一个简单解释

...码: ``` from sympy import symbols, Poly, solve, simplify, Rational, expand from math import lcm def find_third_point(a1, b1, a2, b2): """ 找到三次曲线 a(a+1)(a+b) + b(b+1)(a+b) + (a+1)(b+1) = 4(a+1)(b+1)(a+b) 上通过点 (a1, b1) 和 (a2, b2) 的线的第三个交点。 Args...

文章 Solidity 布尔

...果才为 `true`。 ```solidity pragma solidity ^0.8.0; contract LogicalAnd { function andOperation() public pure returns (bool) { bool a = true; bool b = false; bool result1 = true && true; // true bool result2 = true && false; // false bool resul...

文章 构建、探索和扩展你的代币化项目:成功实践指南 - 第一部分(共两部分)

...on/352903703_The_Tokenization_of_Everything_Towards_a_Framework_for_Understanding_the_Potentials_of_Tokenized_Assets)中,(2021 年 7 月)作者 Roger Heines、Christian Dick、Christian Pohle 和 Reinhard Jung 认为,几乎所有具有价值或合同权利的东西都可以被通证化。这...

文章 托管证明

...21/10/19/uEXH2OM9Rzj6fQ8.png) 然后把前 10 位输入到逻辑函数 `AND`。然后它会给你一个比特,在预期的 1024 次中有 1 次是 1。 如果不知道秘密和数据,就无法计算出这个函数的结果。 (因为我们确实想实现在验证者间共享秘密,...

文章 Gitcoin 二次融资第三轮回顾

...里](https://blog.ethereum.org/2019/08/26/announcing-ethereum-foundation-and-co-funded-grants/) 和 [这里](https://blog.ethereum.org/2019/02/21/ethereum-foundation-grants-program-wave-5/))往往过于关注技术,只有一小部分关注教育和社区资源,而在 Gitcoin 的资助中,虽...

文章 Rust Web实战:构建优雅的 Actix Web 统一错误处理

...该类型 3. 为自定义错误类型实现 ResponseError trait 4. 在 handler 里返回自定义错误类型 5. Actix 会把错误转化为 HTTP 响应 ### 项目目录 ```bash ws on  main [✘!?] via 🦀 1.67.1 via 🅒 base ➜ tree -a -I target . ├── .env ├── .git...

文章 权益证明与错误的工程思维

...文章](https://medium.com/@hugonguyen/proof-of-stake-private-keys-attacks-and-unforgeable-costliness-the-unsung-hero-5caca70b01cb)_ ( [中文译本](https://learnblockchain.cn/article/18308/))。) * * * 结论是,具备正确的思维对比特币和区块链协议发展来说是非常重...

文章 最全的以太坊开发工具指南

..., [autocomplete-solidity](https://atom.io/packages/autocomplete-solidity), and [language-solidity](https://atom.io/packages/language-solidity) 等包。 * [Vim solidity](https://github.com/tomlion/vim-solidity) - Vim 语法文件支持Solidity。 * [Visual Studio Code](https://marketplace.visualst...