jLab|Ethereum builder (@jhfnetboy) header
jLab|Ethereum builder (@jhfnetboy) profile picture

@MushroomDAO1984 @AAStarCommunity @PlanckerDao Researcher/PhD Student of Chiang Mai University jLab/CMUBA.org

Chiang Mai
Joined February 2016
Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)Photo by jLab|Ethereum builder (@jhfnetboy)
Yeah, just busy on coding, hah
1
99
We are still Building!
2
51
Wow~ We are magicians~
1
96
Claude送了个宠物:叫小脏爪的猫猫,有啥用啊这个?谁知道告诉我😅
1
2
99
最近降智了?NND,气死我了。。。😂
1
65
忍不住分享一下,改善你的Claude Code使用现状:每次图书馆关门,我都是依依不舍,因为笔记本还在跑任务,不能关闭+离不开学校网络,总是端着笔记本走出来,一次9点关门,我在图书馆门口待到了10:30,才完成任务。现在有两个利器:合盖不休眠神器+Claude Code Remote Control,手机网页继续操作原对话!
1
176
Share a quick AI PPT flow with pandoc command: pandoc input.md -t beamer \ -V theme:metropolis \ -V aspectratio:169 \ --pdf-engine=xelatex \ -o output.pdf
1
70
Create another skill for my PhD paper, thanks AI😍
37
Wow, so funny, I search my nickname jhfnetboy in Google, got a list, I am the top 5 github contributor of Thailand😂,committers.top/thailand_publ…
1
46
faint, so density competing, drop to 7🤣
20
Use sonnet as default for simple project, use opusplan as default for main project! it is a secret!! you can't find this model until you type /model opusplan in cluade code.🤣
48
EIP-8130: #EIP8130 提出 Account Configuration 方案,打破 secp256k1 签名限制。通过结构化管理 InitialKey 与 AuthKey,支持 Passkey、多签及密钥轮换。引入协议级 Timelock 增强安全。账户从“签名工具”进化为“内嵌策略的智能执行环境”。AirAccount building on this #Ethereum #AccountAbstraction
1
306
预编译新Hash啥时候上线?估计得测试个几年,找到最合适的,加油小V🤠
Now, the quantum resistance roadmap. Today, four things in Ethereum are quantum-vulnerable: * consensus-layer BLS signatures * data availability (KZG commitments+proofs) * EOA signatures (ECDSA) * Application-layer ZK proofs (KZG or groth16) We can tackle these step by step: ## Consensus-layer signatures Lean consensus includes fully replacing BLS signatures with hash-based signatures (some variant of Winternitz), and using STARKs to do aggregation. Before lean finality, we stand a good chance of getting the Lean available chain. This also involves hash-based signatures, but there are much fewer signatures (eg. 256-1024 per slot), so we do not need STARKs for aggregation. One important thing upstream of this is choosing the hash function. This may be "Ethereum's last hash function", so it's important to choose wisely. Conventional hashes are too slow, and the most aggressive forms of Poseidon have taken hits on their security analysis recently. Likely options are: * Poseidon2 plus extra rounds, potentially non-arithmetic layers (eg. Monolith) mixed in * Poseidon1 (the older version of Poseidon, not vulnerable to any of the recent attacks on Poseidon2, but 2x slower) * BLAKE3 or similar (take the most efficient conventional hash we know) ## Data availability Today, we rely pretty heavily on KZG for erasure coding. We could move to STARKs, but this has two problems: 1. If we want to do 2D DAS, then our current setup for this relies on the "linearity" property of KZG commitments; with STARKs we don't have that. However, our current thinking is that it should be sufficient given our scale targets to just max out 1D DAS (ie. PeerDAS). Ethereum is taking a more conservative posture, it's not trying to be a high-scale data layer for the world. 2. We need proofs that erasure coded blobs are correctly constructed. KZG does this "for free". STARKs can substitute, but a STARK is ... bigger than a blob. So you need recursive starks (though there's also alternative techniques, that have their own tradeoffs). This is okay, but the logistics of this get harder if you want to support distributed blob selection. Summary: it's manageable, but there's a lot of engineering work to do. ## EOA signatures Here, the answer is clear: we add native AA (see eips.ethereum.org/EIPS/eip-8… ), so that we get first-class accounts that can use any signature algorithm. However, to make this work, we also need quantum-resistant signature algorithms to actually be viable. ECDSA signature verification costs 3000 gas. Quantum-resistant signatures are ... much much larger and heavier to verify. We know of quantum-resistant hash-based signatures that are in the ~200k gas range to verify. We also know of lattice-based quantum-resistant signatures. Today, these are extremely inefficient to verify. However, there is work on vectorized math precompiles, that let you perform operations (+, *, %, dot product, also NTT / butterfly permutations) that are at the core of lattice math, and also STARKs. This could greatly reduce the gas cost of lattice-based signatures to a similar range, and potentially go even lower. The long-term fix is protocol-layer recursive signature and proof aggregation, which could reduce these gas overheads to near-zero. ## Proofs Today, a ZK-SNARK costs ~300-500k gas. A quantum-resistant STARK is more like 10m gas. The latter is unacceptable for privacy protocols, L2s, and other users of proofs. The solution again is protocol-layer recursive signature and proof aggregation. So let's talk about what this is. In EIP-8141, transactions have the ability to include a "validation frame", during which signature verifications and similar operations are supposed to happen. Validation frames cannot access the outside world, they can only look at their calldata and return a value, and nothing else can look at their calldata. This is designed so that it's possible to replace any validation frame (and its calldata) with a STARK that verifies it (potentially a single STARK for all the validation frames in a block). This way, a block could "contain" a thousand validation frames, each of which contains either a 3 kB signature or even a 256 kB proof, but that 3-256 MB (and the computation needed to verify it) would never come onchain. Instead, it would all get replaced by a proof verifying that the computation is correct. Potentially, this proving does not even need to be done by the block builder. Instead, I envision that it happens at mempool layer: every 500ms, each node could pass along the new valid transactions that it has seen, along with a proof verifying that they are all valid (including having validation frames that match their stated effects). The overhead is static: only one proof per 500ms. Here's a post where I talk about this: ethresear.ch/t/recursive-sta… firefly.social/post/farcaste…
42
Working on Cos72 and Sin90
38