Getting started
Introduction
udrive is permissionless, wallet-native file storage on Solana — upload anonymously, get a share link, or sign in with your wallet for a private drive, provenance signing, and data-sharing earnings.
What is udrive?
udrive is permissionless file storage built around a Solana wallet. Anyone can upload a file anonymously and get an unguessable share link in seconds — no account, no email, no gatekeeping. Connect a wallet and you unlock a private drive, file management, cryptographic provenance signing, and an opt-in marketplace that lets AI agents train on your data so you earn.
Files are stored object-first on Cloudflare R2 behind short-lived presigned URLs, indexed in Postgres, and gated by a layered visibility-and-encryption model. Your wallet is your identity: you prove it by signing a message, never by handing over a key.
Core ideas
- Permissionless by default. Anonymous uploads need no account and produce a public or unlisted link plus a direct download URL.
- Wallet-native identity. Sign-In-With-Solana (SIWS) authenticates you with a signed message — no passwords, no custody of keys. See Wallet login.
- Layered privacy. Every file has a
visibility(public, unlisted, private) and anencryptionmode (none, server-side at rest, or end-to-end). See Share links & visibility. - Verifiable provenance. Sign a file with your wallet to attest you are its source; anyone can re-verify the signature against the stored object. See Provenance & signing.
- Earn from your data. Opt files into the training marketplace, set a price, and accrue earnings as agents use them. See Data sharing & earnings.
Payouts are in preview
Claim action records intent and will settle once payouts ship.How it fits together
The product is a Next.js App Router application. The browser talks to a small REST API that issues presigned R2 URLs, finalizes uploads, enforces access control, and records provenance and earnings. Uploads go directly to storage from your browser — the app server never proxies file bytes, which keeps large transfers fast and cheap.
- Storage: Cloudflare R2, every object keyed under a random path with no enumeration.
- Index & auth: Postgres for file/account/earnings records, Redis for nonces and rate limits, JWT session cookies.
- Network: Solana for identity and signatures (no on-chain transaction is required to use udrive).
Where to next
- New here? Start with the Quickstart to upload your first file.
- Building an integration? Jump to the REST API reference or the TypeScript SDK.
- Care about safety? Read the Security model.
