Skip to main content

Uploading Files

The upload screen is at https://evobin.xyz/dashboard/upload. It accepts a file up to 1,000,000 bytes and publishes it to Dash Platform testnet.

The flow​

  1. Select a file. Drag-and-drop or use the file picker. The UI checks the size and supported MIME types.
  2. Prepare the documents. EvoBin creates one manifest document and one media document per 20 KB chunk. It fetches the identity's contract nonce before deriving the document IDs.
  3. Confirm. The confirmation modal shows the file details. Nothing is signed until you confirm.
  4. Sign the manifest. The wallet signs and broadcasts the manifest state transition.
  5. Wait three seconds. The app waits between transitions.
  6. Sign each media chunk. The wallet signs and broadcasts one media state transition per chunk (up to 50).
  7. Open the file. After the final signature, the dashboard opens /dashboard/file/<manifestId> for a single file. Use that page for the public viewer, raw link, and SHA-256 panel.

What gets written​

DocumentContents
ManifestName, MIME type, size, SHA-256, chunk metadata
MediaparentId = manifest ID, payload arrays, chunk metadata

The current UI writes up to 50 media documents (chunkCount: 1–50). The viewer and raw route reassemble them.

Limits​

ItemValue
File size1,000,000 bytes
Payload array size5,120 bytes
Payload arrays per media doc4
Chunks written by the UIUp to 50 (20,000 bytes each)
NetworkTestnet

Verify the upload​

  • Open /view/<manifestId> and check the SHA-256 shown in the viewer.
  • Fetch /raw/<manifestId> and hash the bytes locally.
  • Fetch /view/<manifestId>/meta to inspect the manifest and media metadata.
curl -sL https://evobin.xyz/raw/<manifestId> -o downloaded.bin
sha256sum downloaded.bin

The uploaded file is public to anyone with the manifest ID. There is no encryption, ACL, password, or expiry. Do not upload secrets or private user data.

If the upload fails​

See Troubleshooting. The most common causes are an unfunded identity, a rejected signature, a file above the limit, or a browser without cross-origin isolation for the WASM worker.