Content pfp
Content
@
https://warpcast.com/~/channel/frames-v2
0 reply
0 recast
0 reaction

Harris pfp
Harris
@harris-
If you’re a guy in your early 20s, repeal your token approvals. go into https://www.repeal.cash if you have to. Testing some more in-depth onchain + frame interactions here, inspired by a cast @kmacb.eth posted ~2 weeks ago to build a frame-native version of revoke.cash which I also highly recommend. Uses svelte frontend + rust backend / indexer + pg for database. Indexing is slow on free-tier RPCs but we make do (~80-98% synced across mainnet / base / optimism approval logs, token info still way behind for the 28k out of 1.3mil+ records to fill on base let alone other chains)
7 replies
1 recast
9 reactions

kompreni πŸš‚ pfp
kompreni πŸš‚
@kompreni
This is awesome. Cant get enough security hygiene in crypto. One request: can you show the token names? Idk the token by the contract address
1 reply
0 recast
2 reactions

Harris pfp
Harris
@harris-
Ah yes, I started to index the token names alongside the approvals after the fact, but they're going slow as and base has like 1.2 mil unique ones or something so I might have to throw those calls into the frontend as well just for now
1 reply
0 recast
0 reaction

kompreni πŸš‚ pfp
kompreni πŸš‚
@kompreni
I recommend useReadContract from wagmi to pull them in dynamically - if your frontend is in react!
1 reply
0 recast
1 reaction

Harris pfp
Harris
@harris-
It's svelte but I'm pretty sure I can use $effect to launch async requests to get them, should only be 5-10 tokens per regular user I would imagine. The wagmi/core library has the read contract calls but I'd just have to manage them myself which shouldn't be too bad
1 reply
0 recast
0 reaction

Harris pfp
Harris
@harris-
added that in now @kompreni should be live in a couple mins
0 reply
0 recast
0 reaction