teapawtteapawt
$
  • Timeline
  • Grid
  • Gallery
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptOct 12
Some additional security measures for EthereumJS...
Image from EthereumJS (@EFJavaScript)
2
183
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptSep 7
Gotcha #1 — validate vs build: Validating: missing contracts → invalid block. Building (generate: true): missing/failing call → empty request. Local demos can seed STOP bytecode; devnets ship full contract code.
Image from EthereumJS (@EFJavaScript)
1
4
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptSep 7
In @ethereumjs/vm: runBlock() on Hardfork.Amsterdam already calls accumulateRequests(). Builder requests append after deposit / withdrawal / consolidation. Read result.requests + result.requestsHash — same Prague+ pipeline, two new types.
Image from EthereumJS (@EFJavaScript)
1
5
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 31
Gotcha for 7997: Clients must NOT inject the factory at the fork boundary. In @ethereumjs/vm you seed it yourself — nonce 1 + runtime bytecode from the EIP — then call it like any contract.
Image from EthereumJS (@EFJavaScript)
1
6
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 31
On Hardfork.Amsterdam: maxCodeSize = 65536 maxInitCodeSize = 131072 Prague rejects 24,577 bytes. Amsterdam accepts it. Same initcode path — the EVM just stops reverting at the old limit.
Image from EthereumJS (@EFJavaScript)
1
10
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 27
Decode with @ethereumjs/evm: decodeEIP7708TransferLog(log) → { from, to, value } One value transfer → 1 log in our example. Burn logs use Burn(address,uint256) on balance-removal paths.
Image from EthereumJS (@EFJavaScript)
1
12
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 27
In @ethereumjs/vm: const result = await runTx(vm, { tx, block }) const logs = result.receipt.logs No new API beyond Hardfork.Amsterdam. If the tx reverts → empty logs (as today).
Image from EthereumJS (@EFJavaScript)
1
16
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 26
Then read: result.blockLevelAccessList One plain ETH transfer → 4 accounts in the BAL on our example. Header hash must match bal.hash(). Mismatch = invalid block.
Image from EthereumJS (@EFJavaScript)
1
10
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 26
Builder flow in @ethereumjs/vm: runBlock(vm, { block, generate: true, }) No extra flag beyond Amsterdam. The VM accumulates accesses automatically while executing.
Image from EthereumJS (@EFJavaScript)
1
12
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 25
You should print: regular: 21000 state: 183600 recommended gasLimit: 204600 That's the whole EIP in one transfer.
Image from EthereumJS (@EFJavaScript)
1
7
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 25
Same 1-wei transfer. Recipient never existed. regular: 21,000 state: 183,600 you must set gasLimit ≥ 204,600 183,600 = 120 bytes × 1,530 Use 21,000 → out of gas. Tx included, ETH doesn't move.
Image from EthereumJS (@EFJavaScript)
1
71
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 25
Three moments that make Amsterdam click: ⛽ A transfer is no longer always 21,000 gas 📋 Every block commits a Block-Level Access List 📜 Native ETH transfers emit logs
Image from EthereumJS (@EFJavaScript)
1
81
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptAug 25
EthereumJS implements the Amsterdam (execution) half. v10.1.3 — all 14 EIPs, aligned with glamsterdam-devnet-8. npm i @ethereumjs/[email protected] Same APIs: createVM(), runTx(), runBlock(), buildBlock(). Osaka and earlier: unchanged until you opt in.
Image from EthereumJS (@EFJavaScript)
1
131
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptJul 2
And at the very core of all this: EthereumJS. 😁
Image from EthereumJS (@EFJavaScript)
Feel Your Protocol (@FeelEthereum) profile pictureFeel Your Protocol
@FeelEthereumJul 2
Feel Your Protocol started as a side project to close the protocol↔app gap — hands-on explorations, real EthereumJS in the browser. Now we're designing the next leg: a deterministic API & MCP layer for the future Ethereum protocol. Nothing shipped yet. The plan is. (Bankr community: your role in this is spelled out further down ↓)
Feel Your Protocol Phase 3 hero card: gradient brand title, headline "Building an AI pipeline for the future Ethereum protocol", four feature tiles (Vision, Roadmap, Core Concepts, Monetization), roadmap.feelyourprotocol.org footer. Purple and cyan on white dot grid.

ALT Feel Your Protocol Phase 3 hero card: gradient brand title, headline "Building an AI pipeline for the future Ethereum protocol", four feature tiles (Vision, Roadmap, Core Concepts, Monetization), roadmap.feelyourprotocol.org footer. Purple and cyan on white dot grid.

173
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptJun 17
New website which better reflects the current state of the EthereumJS project: ethereumjs.github.io/
Image from EthereumJS (@EFJavaScript)
1
1
3
358
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptJun 11
If you want to refresh your #Ethereum "Event Logs" knowledge in preparation for EIP-7708 coming with the #Glamsterdam hardfork (bringing logs to all ETH transfers) there are now dedicated log examples for EVM/VM in the EthereumJS monorepo: github.com/ethereumjs/ethere…
Image from EthereumJS (@EFJavaScript)
1
1
2
2,080
EthereumJS (@EFJavaScript) profile picture
EthereumJS
@EFJavaScriptJun 3
You can run all three on the experimental Amsterdam fork in EthereumJS right now — no compiler needed, just raw bytecode. Here's DUPN / SWAPN / EXCHANGE moving real stack items (command + output in the image): 4/7
Terminal: from packages/evm, running "npx tsx examples/opcodes/0xe6-e8-eip8024-stack-opcodes.ts" on EthereumJS v10.1.2. Output shows three EIP-8024 cases — DUPN (0xe6), SWAPN (0xe7) and EXCHANGE (0xe8) — each printing the resulting stack (top last) and gas used, on Hardfork.Amsterdam.

ALT Terminal: from packages/evm, running "npx tsx examples/opcodes/0xe6-e8-eip8024-stack-opcodes.ts" on EthereumJS v10.1.2. Output shows three EIP-8024 cases — DUPN (0xe6), SWAPN (0xe7) and EXCHANGE (0xe8) — each printing the resulting stack (top last) and gas used, on Hardfork.Amsterdam.

1
21
Load more