Jainil Sutaria
@jainilsutaria.eth
71 Following
13 Followers
Casts
Casts + replies
Jainil Sutaria
@jainilsutaria.eth
Hmm can you try this out? I believe it should print the current authorized contract address. const code = await publicClient.getCode({ address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', // Your EOA address }) if (!code || code.length === 0) console.log("Address has not been activated with 7702.") else console.log("current account implementation address is:" code.split('0xef0100')[1]) Here’s an example of the Zerodev SDK running this check to see whether or not it should run the authorization step! https://github.com/zerodevapp/sdk/blob/0ef509b177b9691afd021db87572420d6ffe18d7/plugins/ecdsa/account/create7702KernelAccount.ts#L243
1 reply
0 recast
1 reaction
Jainil Sutaria
@jainilsutaria.eth
You can use our `createViemAccount` function and call `signAuthorization` from the wallet client! Docs on viem for server wallets here: https://docs.privy.io/wallets/using-wallets/ethereum/web3-integrations#viem-2
1 reply
0 recast
1 reaction
Jainil Sutaria
@jainilsutaria.eth
You can get the current delegation status by making an eth_getCode request! Using viem: ``` const bytecode = await publicClient.getCode({ address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2', }) ``` Where address is the address of the EOA! It will return `0x0` if the address hasn’t been delegated.
1 reply
0 recast
2 reactions
Jainil Sutaria
@jainilsutaria.eth
Repping ⌐◨-◨ in machu picchu :)
0 reply
0 recast
3 reactions
Linda Xie
@linda
New job posting up by @privy @skerskerr.eth hiring for a fullstack software eng on Bountycaster! https://www.bountycaster.xyz/job/53d8d2fb-de87-4884-8f16-2daa55327fa7 Check out all job postings here bountycaster.xyz/jobs
2 replies
7 recasts
30 reactions
Max
@segall
Looking to build a consumer app at the ethCC hackathon this weekend?! Come hack with us (both people in this photo are privy engineers @colfax and @jainilsutaria.eth who are here to help!!!)
3 replies
5 recasts
18 reactions