agusti
@bleu.eth
is there technically no way to origin the creation of a cast onchain and have it execute fully onchain that cast right? you need a server some where reading from onchain data and executing that cast action ecds2019 smt not compatible w evm chatgpt said idk asking for a fren
4 replies
1 recast
4 reactions
Stephan
@stephancill
It is possible, but technically only on optimism (maybe neynar is mirroring on base) You need to pass the entire message, blake3 hash it, verify the eddsa signature of the hash, and check that the signer belongs to the fid
2 replies
0 recast
1 reaction
Stephan
@stephancill
Oops misread the question - that’s how you verify the origin of a cast To create a cast you need a relay. You would also need to sign the message in a smart contract which would imply that the private key is onchain so not really possible to my knowledge
2 replies
0 recast
2 reactions
agusti
@bleu.eth
Yep this what ChatGPT told me too 🥲 Onchain autonomous agents w cast capabilities impossible then rn without an off chain relayer
1 reply
0 recast
0 reaction
Stephan
@stephancill
Hm a smart contract can own an FID and if it can own an fid it can register new signers. Smart contract could generate a new signer, register it, sign the message, and emit an event with the message that any relayer can send to a hub Problem is that then the private key is public and the account is compromised. Could be a cool experiment though
1 reply
0 recast
2 reactions