This QA automation script uploads a file to the Arweave network using ArDrive CLI and validates its on-chain status using ViewBlock.
- Upload files to a decentralized, permanent storage (Arweave)
- Capture the transaction ID (TXID)
- Verify the TXID is live and publicly accessible
- Useful for validating decentralized file uploads in dApps or Web3 storage flows
-
Install ArDrive CLI
-
Clone the repository:
git clone https://github.com/yourusername/qa-arweave-file-validation.git
cd qa-arweave-file-validation- Set up the environment:
Create a
.envfile based on.env.example
FILE_PATH=./yourfile.txt
ARDRIVE_CLI=/usr/local/bin/ardrive- Run the script:
node qa-arweave-file-validation.js- Shows upload success and TXID
- Checks availability on Arweave and ViewBlock
✅ File uploaded successfully. Transaction ID: abc123...
✅ Transaction is live on Arweave and accessible on ViewBlock:
https://viewblock.io/arweave/tx/abc123...
This project is part of Raúl Casado's Web3 QA portfolio, focused on decentralized systems, distributed storage and on-chain verification practices.
Raúl Casado – GaslessQA
🔗 https://www.linkedin.com/in/gaslessqa/
MIT