Problem
Client endpoints exist for CheckProofState (NUT-07) and Restore (NUT-09) but the Wallet type doesn't expose methods for:
- Checking and cleaning up spent proofs
- Recovering orphaned signatures after crash
Fix
Wallet.CheckAndRemoveSpentProofs() — batch check proofs, delete SPENT ones
Wallet.Restore() — regenerate blinded messages, batch restore (25/batch per Nutshell)
References
Nutshell Python: wallet.invalidate(), wallet.restore_tokens_for_keyset()
Discovered by
TollGate ecosystem audit (July 2026).
Problem
Client endpoints exist for CheckProofState (NUT-07) and Restore (NUT-09) but the Wallet type doesn't expose methods for:
Fix
Wallet.CheckAndRemoveSpentProofs()— batch check proofs, delete SPENT onesWallet.Restore()— regenerate blinded messages, batch restore (25/batch per Nutshell)References
Nutshell Python:
wallet.invalidate(),wallet.restore_tokens_for_keyset()Discovered by
TollGate ecosystem audit (July 2026).