const tx = await arweave.createTransaction( { data: JSON.stringify(data) }, key ); console.log(tx); tx.addTag("App-Name", "demo"); tx.addTag("App-Version", "0.0.1"); tx.addTag("Unix-Time", Math.round(new Date().getTime() / 1000)); tx.addTag("Type", "publish"); console.log(tx); await arweave.transactions.sign(tx, key); console.log(tx.id); let { status } = await arweave.transactions.post(tx);