Applesauce
    Preparing search index...
    • Recovers tokens from a couch by checking if they exist in the wallet, verifying they are unspent, and creating token events for any recoverable proofs. Once every token has been processed the couch is cleared, so tokens that are already in the wallet or have been spent are cleaned out too. Any token whose recovered token event failed to publish is left in the couch so it can be retried on a later run.

      Parameters

      • couch: Couch

        the couch interface to recover tokens from

      • Optionaloptions: { getCashuWallet?: CashuWalletProvider }
        • OptionalgetCashuWallet?: CashuWalletProvider

          optional provider returning a cached cashu Wallet for a mint

      Returns Action