jw 馃 ERC6551

@0xjw.eth

Perpetually learning. Building primitives: /tokenbound /perma fp.inc

363 following291 followers

Latest casts

jw 馃 ERC6551@0xjw.eth路

thanks @ted! https://per.ma/photo/0xE2fcf827B04A1C0E351363019576a3457a4755FE-403?ref=0x56ADc5BeCc8686164Ddfb4d200f9975403928189

jw 馃 ERC6551@0xjw.eth路
Reply

Tried this (immediately firing a chainChanged event after approving the session), but Privy still requests a signature for the first chain in the optionalChains list (arbitrum). Is there a way to signal support for all optionalChains but have Privy choose the correct one for signing?

jw 馃 ERC6551@0xjw.eth路
Reply

You can verify it is a TBA by computing the TBA address with the expected input values and comparing it with the actual address. The alternative would be to pre-compute the addresses for all/a subset of TBAs and index them

jw 馃 ERC6551@0xjw.eth路
Reply

This is very cool!

jw 馃 ERC6551@0xjw.eth路
Reply

Very cool - had been wondering if there was an easy way to check for opcode support like this

jw 馃 ERC6551@0xjw.eth路

Excited to roll out cross-chain support for TBAs today! So many cool use cases to be built now that your NFT can do anything on any chain https://twitter.com/tokenbound_/status/1768323785739141449

jw 馃 ERC6551@0xjw.eth路
Reply

That said, this approach is ultimately working around not being able to render an iframe

jw 馃 ERC6551@0xjw.eth路
Reply

Mostly (a) using dynamically generated SVGs because it's more convenient than rendering a png/jpeg.

jw 馃 ERC6551@0xjw.eth路
Reply

This is very helpful, thank you!