Upload files to the permaweb. Pay once, store forever.
To calculate fees based on file size, check out: Arweave Fee Calculator
Files < 250KB: 0.000061137561 AR (fixed)
0.000061 AR = $0.00183 (US$30/AR)
Use Arweave Block Explorer to view transaction history: https://viewblock.io/arweave
npm i
to install packages from package.json
If you already have an existing Arweave account, store your Arweave key file (.json file) in the root directory of the folder & rename it to key.json.
ArUpload will automatically create an Arweave account if it doesn't detect a key.json.
After creating an account, the Arweave key file will be stored in the root folder as key.json.
Do fund your account before proceeding to the next step:
- Buy AR from Centralized Exchange & deposit
- Get free AR tokens
To be on the safe side, deposit 0.1 AR (=$3) to your wallet
Replace "samples/image.jpg" with the file path of your file.
Console output should look as such:
URL to the uploaded file is at the last line.