This was a great way to hit the ground running on Arweave and Bundlr! Thanks!! I had a question about tags, tried adding some more tags other than the content type but it doesn't work. Here's the code:
// replaces uploadImage in index.js
const uploadFile = async () => {
let transaction = await bundlrInst.createTransaction(selectedFile, [{ name: "Content-Type", value: JSON_TYPE }, { name: "Application", value: 'MY-COOL-APP' },
{ name: "slug", value: 'item-slug' }, { name: "category", value: 'news' }]);
await transaction.sign();
await transaction.upload();
setURI(`${ARWEAVE_DOT_NET}/${transaction.id}`);
getBalance();
}
The document is created and is accessible but when I query the transaction through the arweave graphql interface, the 'tags' field is empty. Tags reference: docs-bundlr-network / docs / client / tags
Thank you.