Stephan pfp
Stephan
@stephancill
what is the best way to index data in real time based on tx calldata suffix? /ponder-sh doesn't have this functionality out of the box cc @horsefacts.eth in case you guys are indexing frame txs for whatever reason (also can i get an invite to /evm pls)
2 replies
0 recast
7 reactions

Brock pfp
Brock
@runninyeti.eth
tl;dr - distributed JavaScript functions 😉 e.g. here's an quick start for decoding Uniswap logs: https://indexing-co.notion.site/Uniswap-Quickstart-19025f03105380c681cbd307845123de Instead of the for loop checking logs, you could literally write: `if (tx.input.startsWith('prefix')) { ... }` And then have all of that be send to your db, webhook, queue, etc
1 reply
0 recast
2 reactions

Garrett pfp
Garrett
@garrett
@indexsupply
1 reply
0 recast
1 reaction