Stop a theft before it happens.
Open a test account, make a payment, then watch a thief use your stolen key. You stop the theft with your recovery key. No commands and no real money: everything runs on a small test ledger inside your browser.
Real rules, test money: this page runs the same ledger rules and post-quantum signatures as the ECRE nodes. It sends nothing to any server.
How ECRE protects an account
An ECRE account has two keys. The spending key signs everyday payments. The recovery key stays offline, for example in a safe. Every payment waits a short time before it becomes final, and during that time the recovery key can cancel it.
Step 1 of 4
Your test account is open
It holds 1,000 test coins. Two post-quantum keys were created in your browser:
Rule of this account: every payment waits 5 blocks before it is final.
Step 2 of 4
Make a normal payment
Pay 100 coins to a shop. Your spending key signs the payment, then the ledger waits 5 blocks before it is final.
Your account
- Balance
- Shop received
- Block
Step 3 of 4
A thief copies your spending key
Imagine malware on your phone. The thief now holds a copy of your spending key and signs a payment of 800 coins to themselves. With an ordinary wallet, that money would be gone.
Step 4 of 4
Stop the theft with your recovery key
The ledger accepted the thief's payment, because it was signed with your real key. But it is not final yet:
Your account
- Balance
- Thief received
- Block
Your recovery key cancels every payment that is still waiting and replaces both keys with new ones. The thief's copy becomes useless.
Theft stopped
Too late: the thief got the coins
Your account
- Balance
- Shop received
- Thief received
- Key changes
What if the thief tries again with the stolen key?
The record holds every signed operation and block of this test. Developers can replay it with the ecre-pq ledger to check each signature and balance.
A waiting time, and a second key.
ECRE Recovery does not try to stop a key from being stolen. It makes a stolen key worth much less.
Payments wait
Every payment is reserved first and becomes final only after the account's waiting time. Normal payments are not affected, only delayed.
Recovery has priority
A recovery signed with the offline recovery key cancels every waiting payment, even one that would become final in the same block.
Checked by a model
The rules are a formal model checked with the TLC model checker. An automated test replays this page's steps in the Python ledger and compares every balance and hash.
Status: test network. ECRE Recovery is not yet connected to any public blockchain or bank system. To see it on the two live ledger nodes, open the live ledger or check it yourself.