Skip to content

Instantly share code, notes, and snippets.

@gayleQN
gayleQN / gist:ce5fb7c31032cccc050679d8bc3f48b8
Last active October 27, 2025 16:09
EVM Wallet Monitoring with Key-Value Store List
async function main(stream) {
const LIST_NAME = "wallets";
const TRANSFER_TOPIC =
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef";
// --- helpers ---
const toArray = (x) => (Array.isArray(x) ? x : []);
const lower = (s) => (typeof s === "string" ? s.toLowerCase() : null);
const normalizeAddr = (s) => (s ? lower(s) : null);
const topicToAddr = (topic) => {