push-protocol/push-sdk

๐Ÿ˜ˆ [Improvement Proposal] - <Implement Transaction Simulation in Frames>

Siddesh7 opened this issue ยท 0 comments

Proposal name

Frames Tx Simulation

Describe the Proposal

To implement a simulator for any action that involves user to sign a transaction to avoid users interact with malicious transactions/contracts. The idea is to show a simulated outputs and security score for any transaction action in a frame.

can use something like blowfish which is used by Farcaster for their frame transaction simulation.

Use Case

Prevents users from interacting with malicious contracts and spammy transactions.
Also lets user know what transaction they're actually about to make. (now its ambigous)

Current Limitations

Right now, user has to trust that the frame server is giving them the right and safe transaction. User not really has a way to verify a transaction before signing it except for seeing the hex data in their wallet popups.