Skip to content

Instantly share code, notes, and snippets.

@Clonescody
Clonescody / Emitter.ts
Last active January 6, 2025 17:42
Ponder flush fail example
ponder.on('EmitterOld:AccountDeployed', async ({ event, context }) => {
await Promise.all([
context.db
.insert(user)
.values({
adress: event.args.owner,
})
.onConflictDoNothing(),
context.db.insert(account).values({
account: event.args.account,
@Clonescody
Clonescody / README.md
Created December 29, 2024 17:10
Fraxtal multicall error demo

Fraxtal multicall error

This is a simple example to reproduce the multicall error happening on Fraxtal.

  1. Replace RPC_URL in index.ts with your own RPC URL
  2. Install dependencies : bun i
  3. Run : bun run index.ts

You should see the error : Details: {"code":-32601,"message":"Unsupported method on FRAX_MAINNET"}

@Clonescody
Clonescody / update.md
Last active August 27, 2024 16:20
Bonsai ecosystem update