Upload Your First File
This walkthrough publishes one file and gives you two links: a viewer for people and a raw endpoint for software.
Before you start
- A connected wallet (Connect a Wallet)
- A funded testnet identity (Set Up a Testnet Identity)
- A file no larger than 1,000,000 bytes (up to 50 media chunks)
Anyone with the manifest ID can read the file. Do not upload secrets, credentials, or private user data.
1. Open the upload screen
Go to https://evobin.xyz/dashboard/upload. The uploader accepts drag-and-drop or the file picker. Files above 1,000,000 bytes are rejected; larger files are split into up to 50 media chunks.
2. Review the confirmation
The app prepares one manifest plus one media document per chunk:
- A manifest document with the file name, MIME type, size, SHA-256, and chunk metadata.
- One media document per 20 KB chunk, each with its own SHA-256.
It fetches the identity's contract nonce and shows a confirmation modal. Review the file name and size, then confirm.
3. Sign the state transitions
The wallet signs and broadcasts the manifest state transition, then signs and broadcasts each media chunk (up to 50), waiting three seconds between transitions. Every transition pays Dash Platform network fees from the identity balance.
If the wallet rejects the manifest signature, nothing is published. If a later chunk is rejected, the manifest and earlier chunks are already on chain; the UI reports how many chunks were published.
4. Open and share the file
After the upload completes, the dashboard opens the file viewer for a single file. Use:
| Path | Purpose |
|---|---|
/view/<manifestId> | Human-readable viewer |
/raw/<manifestId> | Original bytes, original content type |
/view/<manifestId>/meta | Manifest and media metadata as JSON |
The legacy /view/<manifestId>/raw route returns 301 to /raw/<manifestId>.
5. Verify the bytes
The viewer shows the SHA-256 from the manifest. To verify locally:
curl -sL https://evobin.xyz/raw/<manifestId> -o downloaded.bin
sha256sum downloaded.bin
Compare the output with the hash shown in the viewer or returned by /meta.
Limits
| Item | Current value |
|---|---|
| Upload UI limit | 1,000,000 bytes |
| Chunks created by the UI | Up to 50 (20,000 bytes each) |
| Chunks read by the viewer/raw route | Multiple (verified: 3 docs / 44,889 B) |
| Network | Dash Platform testnet |
Multi-chunk writes are live: the UI splits files into up to 50 media documents.
The reader reassembles them, as the multichunk-test.txt fixture demonstrates.
Troubleshooting
If the upload fails, see Troubleshooting.