找到约 13 条结果

问题 bytes 怎么传参 一直失败

https://kovan.etherscan.io/tx/0x95a0a5c31d94f089f8c19b481b0e22d3e399eb140509c35c47a1f9a6e603dd13 这个是我手动兑换的结果 let path = ethers.utils.arrayify("0x31eeb2d0f9b6fd8642914ab10f4dd473677d80df000bb8d0a1e359811322d97991e03f863a0c30c2cf029c0001f41f9840a85d5af5bf1d1762f925bdaddc4201f...

文章 Celestia治理参数

## Celestia Governance Params(Celestia治理参数) These are the parameters for mainnet. Note that not all of these parameters are changable via governance. This list also includes parameter that require a hardfork to change due to being manually hardcoded in the application or they are blocke...

文章 区块链中的数学-二次剩余和欧拉准则

...面 上一节讲了[secp256k1点压缩和公钥恢复原理](https://learnblockchain.cn/article/1526),在讲压缩格式的时候,有一点个人认为需要补充: 例如非压缩格式04 + x + y, 如果不知道x,y各自的长度也无法解析。 补充说明的是:secp256k1曲线...

文章 调用,预编译和编译器到底是怎么工作的

--- title: A call, a precompile and a compiler walk into a bar(调用,预编译和编译器到底是怎么工作的) author URL: "" original URL: https://blog.theredguild.org/a-call-a-precompile-and-a-compiler-walk-into-a-bar/ translator: "张云帆" reviewer: "" --- 写于2024...

文章 Web3系列教程之入门篇---8. Dapp白名单

...的白名单,所以在这里你要为`Crypto Devs`创建一个白名单dapp ![](https://hicoldcat.oss-cn-hangzhou.aliyuncs.com/img/20220710135551.png) ## 要求 - 白名单访问应该免费提供给想要进入的前10个用户。 - 应该有一个网站,人们可以去那里进入白...

文章 深入探讨 Go 语言中的自定义 Zap 日志

# 深入探讨 Go 语言中的自定义 Zap 日志 [zap 日志](https://github.com/uber-go/zap): zap 包提供快速、结构化、分级的日志记录。 ## 一、日志写入文件 - `zap.NewProduction`、`zap.NewDevelopment` 是预设配置好的。 - `zap.New` 可自定义配置 ...

文章 CTFProtocol-2022 题解

***由简入难*** ### The Lost Kitty #### 1. question > Lucas is a scientist who lives with his cat in a big house that has 2^256 rooms. His cat likes to play hide and seek and jumps to a random room whenever it hears a door opening in another one. Can you find Lucas' cat? Set the variable...

文章 小心那些利用Etherscan招摇撞骗的人

...供交易记录,其通常被称为“区块浏览器”,比如Etherscan。但恶意合约可以表现得无比“正常”,却会污染这些事件,从而欺骗区块浏览器,向毫无戒备的用户提供关于代币来源的误导性信息。 例如,恶意用户可以部署一个...

文章 Rust 智能合约养成日记(5)合约安全之重入攻击

...约养成日记(1)合约状态数据定义与方法实现](https://learnblockchain.cn/article/3745) * [Rust智能合约养成日记(2)编写Rust智能合约单元测试](https://learnblockchain.cn/article/3746) * [Rust智能合约养成日记(3)Rust智能合约部署,函数调用及E...

文章 Lightning Loop:Musig2 如何助力闪电网络流动性分布

...-powering-lightning-liquidity-with-loop/#%E6%9B%B4%E4%BD%8E%E7%9A%84%E4%BB%A3%E4%BB%B7%EF%BC%8C%E5%AF%B9%E5%BC%80%E5%8F%91%E8%80%85%E6%9B%B4%E5%8F%8B%E5%A5%BD%E7%9A%84%E7%94%A8%E6%88%B7%E4%BD%93%E9%AA%8C "更低的代价,对开发者更友好的用户体验")更低的代价,对开发者更友好...

文章 功能加密简介

>原文:https://www.leku.blog/fe/ >作者:Enrico >译者:Kurt Pan 功能加密 (FE) 可以看作是对公钥加密 (PKE) 的推广, 允许对第三方的解密能力进行更细粒度的控制。 在公钥加密中,使用公钥$p_k$隐藏值$x$于密文(加密算法)而私钥$s_k...

文章 逆向 EVM - 解析原始Calldata数据

# 逆向 EVM - 解析原始Calldata数据 ![逆转EVM:原始的Calldata](https://img.learnblockchain.cn/pics/20230103083911.png) 你可能想知道如何破译和读取evm的calldata,并尝试读取以太坊智能合约的交易calldata,EVM(和其他L1分叉)以特定的方式对...

文章 以太坊生态中的智能合约设计模式(一)

> **Abstract—** The idea to digitally facilitate contract law and business practices through computer programs has led to the notion of smart contracts. Today’s most prominent smart contract ecosystem is Ethereum, a blockchain based distributed computing platform. Due to the inherent nature of b...