kernl API
    Preparing search index...

    Function createAccountFileServers

    • Follow the active account's file-server list (BUD-03) and save a new one.

      Uploads go to these servers in order: the first gets the file, the rest mirror it. An account with no published list uses the defaults. Saving signs the list and publishes it to the account's outboxes and the lookup servers; it succeeds when any of them accepts it (D-028).

      Parameters

      Returns AccountFileServers

      The account's file servers.

      const files = createAccountFileServers({ store, pool, load, pubkey$, pubkey, lookupRelays, outboxes, signer });
      await files.current(); // ['https://blossom.primal.net/', …]