@arkade-os/sdk Documentation - v0.4.0-next.8
    Preparing search index...

    Function migrateWalletRepository

    • Migrate wallet data from the legacy storage adapter to the new one. It accepts both onchain and offchain addresses, make sure to pass both.

      Parameters

      • storageAdapter: StorageAdapter
      • fresh: WalletRepository
      • addresses: { offchain: string[]; onchain: string[] }

      Returns Promise<void>