Quickstart in 60 seconds
Three paths. Pick one.
Path A — Browser (no install)
- Open prova.network/upload.
- Drag a file in.
- Done. Copy the
piece-cidand the retrieval URL.
That's the whole quickstart. Read Web upload for the limits.
Path B — CLI
bash
# Install
npm i -g @prova-network/cli
# or: curl -fsSL https://get.prova.network | sh
# Sign in (email only, no password)
prova auth
# Store
prova put ./dist.tar.gz
# Retrieve
prova get bafy…q4kr -o ./dist.tar.gzPath C — HTTP API
bash
# 1. Mint a token
TOKEN=$(curl -s -X POST https://prova.network/api/auth/signup \
-H "content-type: application/json" \
-d '{"email":"[email protected]","label":"my-app"}' \
| jq -r .token)
# 2. Hash your file (sha-256 → base32)
HASH=$(shasum -a 256 ./file.bin | awk '{print $1}')
CID="bafy<base32-of-$HASH-truncated-to-52-chars>"
# 3. Upload
curl -X POST "https://prova.network/api/upload?cid=$CID" \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/octet-stream" \
-H "x-filename: file.bin" \
--data-binary @./file.bin
# 4. Retrieve
curl -O https://prova.network/p/$CID(In practice, use the SDK so you don't have to do the cid math yourself.)
What you've just done
- Created a Prova account tied to your email.
- Stored a file under a content-addressed
piece-cid. - Got a permanent retrieval URL (for the term of the deal).
- Locked a Prova prover into a daily proof obligation. They'll prove your file is still there every 30 seconds for the next 30 days.
Where to go next
- How Prova works — the three roles, the deal lifecycle.
- Authentication — token scopes, rotation, revocation.
- Building on Prova — the TypeScript SDK.