Using a script

How to compose list of Arweave URLs per vault without adding manifest file?

You can generate a list of all the Arweave URLs for your NFT assets by using the Vault ID with the following example script.

const { Akord, Auth } = require("@akord/akord-js");

const email = 'here_goes_your_account_email'
const password = 'here_goes_your_account_password'
const vaultId = 'here_goes_your_vault_id'
const arweaveGatewayUrl = "https://arweave.net/";

async () => {
  const { wallet } = await Auth.signIn(email, password);
  const akord = await Akord.init(wallet);

  const stacks = await akord.stack.listAll(vaultId);
  const files = stacks.map((stack) => {
    const { name, uri } = stack;
    const fileName = name.slice(0, -4);

    const url = ${arweaveGatewayUrl}/${uri};

    return {
      name: fileName,
      url,
    };
  });
  console.log(files)
}

Last updated