Do all Solana wallets offer something similar or this unique to them? Had a few chats with
@vidor_solflare recently and came away really impressed. What he has done with Solflare has been impressive. Switching wallets is a pain, but stuff like this makes a difference.
SOLFLARE GUARDS
Did you know that what you see in a transaction simulation is not the guaranteed outcome of that transaction?
It's something that happens every day and almost nobody talks about it.
A simulation is a snapshot. It shows what your transaction would do against the state of the chain at that exact moment. But Solana produces a new block roughly every 400 milliseconds, and a lot can change between the moment you sign and the moment your transaction actually lands.
A simple example of how this gets abused: a malicious dapp asks you to sign a transaction with a program that reads a number stored in an account the attacker controls, then transfers that amount out of your wallet. When you sign, that account holds 10, so the simulation shows -10 USDC. Looks harmless. The moment you approve, the attacker changes the number to 1,000. Your transaction lands, the program reads 1,000, and 1,000 leaves your wallet. The simulation didn't lie. The state changed underneath it.
This is what Solflare Guards were built for. Every transaction you sign goes through three steps:
1. Simulate: we run the transaction and record the outcome you approved, balance changes and other significant state
2. Guard: we append assertion instructions to the transaction itself, on-chain checks like "this wallet's balance cannot decrease by more than 10 USDC"
3. Relay: we send the guarded transaction to the network
If reality no longer matches what you approved, the assertions fail and the whole transaction fails with them. Nothing leaves your wallet.
Keep safe.