Skip to content

Deploy Your Application

Varity Team Core Contributors Updated March 2026

Deploy your application to Varity with one command. Your app will be live in under 2 minutes.

  1. Install the CLI

    Terminal window
    pip install varitykit
  2. Build your project

    Terminal window
    npm run build
  3. Deploy

    Terminal window
    varitykit app deploy
  4. Your app is live!

    Varity will output your live URL:

    ✓ Deployed successfully!
    ✓ URL: https://your-app.varity.app
    ✓ Build time: 1m 23s
    ✓ Status: Live

When you run varitykit app deploy:

  1. Detects your framework - Automatically identifies Next.js, React, Vue, etc.
  2. Builds your app - Runs your build command (npm run build)
  3. Uploads your files - Stores them securely with automatic backups
  4. Makes your app live - Generates a public URL
  5. Enables free operations - Users never pay usage fees

All of this happens automatically in under 2 minutes.

Choose the right hosting for your application type:

Static Sites

Best for: React, Vue, Next.js static exports, documentation, landing pages

Features:

  • Free hosting with global CDN
  • Instant cache invalidation
  • Automatic SSL certificates
  • 99.9% uptime
Terminal window
varitykit app deploy

Dynamic Apps

Best for: Full-stack apps, APIs, real-time applications, databases

Features:

  • Container-based compute
  • Automatic scaling
  • Database support
  • WebSocket support
Terminal window
varitykit app deploy --hosting dynamic

Credentials are managed automatically by Varity. Optionally set your app ID:

.env.local
# Optional: Your Varity App ID
NEXT_PUBLIC_VARITY_APP_ID=<your-app-id>
# Optional: Custom domain
VARITY_CUSTOM_DOMAIN=your-domain.com

See Environment Variables for the complete list and Managed Credentials for how credential auto-provision works.

Always test your build works locally:

Terminal window
npm run build
npm run start

Visit http://localhost:3000 and verify everything works.

List your app in the Varity App Store for users to discover:

Terminal window
varitykit app deploy --submit-to-store

This will:

  1. Deploy your app
  2. Submit it for listing in the App Store
  3. Make it discoverable by users
  4. Enable payments and subscriptions (optional)

When users purchase your app or subscribe:

  • 90% goes to you (the developer)
  • 10% goes to the Varity platform

All payment processing is handled automatically. You receive payouts monthly.

View your deployment history:

Terminal window
varitykit app list

Output:

ID Status URL Deployed
deploy-1737491000 live https://your-app.varity.app 2 hours ago
deploy-1737484800 archived https://v2.your-app.varity.app 1 day ago
deploy-1737398400 archived https://v1.your-app.varity.app 2 days ago

Revert to a previous deployment:

Terminal window
varitykit app rollback deploy-1737484800

Your app will instantly switch to the selected version.

Check the details of a specific deployment:

Terminal window
varitykit app info deploy-1737491000

View overall deployment status:

Terminal window
varitykit app status
  1. Verify your build works locally:

    Terminal window
    npm run build
  2. Check the build output directory exists:

    • Next.js: .next/ or out/
    • React: dist/ or build/
    • Vue: dist/

Credentials are auto-provided. If you see this error, run varitykit doctor to check your setup.

Check your internet connection:

Terminal window
varitykit doctor

If issues persist, try deploying with verbose output:

Terminal window
varitykit app deploy --verbose
OptionDefaultDescription
--hostingstaticHosting type: static or dynamic
--submit-to-storefalseSubmit to Varity App Store after deploy
--tier-Pricing tier: free, starter, growth, enterprise
--path.Project directory
Advanced: Technical Architecture

Varity runs on dedicated infrastructure optimized for application deployment:

PropertyValue
Chain ID33529
RPC URLhttps://rpc-varity-testnet-rroe52pwjp.t.conduit.xyz
Explorerhttps://explorer-varity-testnet-rroe52pwjp.t.conduit.xyz
Native TokenBridged USDC (6 decimals, NOT 18!)
Usage FeesSponsored (free for users via ERC-4337)
StatusBeta - Production launch post-MVP

Pre-deployed on Varity’s infrastructure:

ContractAddressPurpose
TemplateMarketplace0x5EfAF2219F9957461125485Eae49Bac07505bB3490/10 Revenue Split
TemplateRegistry0x1697055bf6d135934F1F533f43eCE8CA469325EdTemplate metadata
VarityAppRegistry0xbf9f4849a5508e9f271c30205c1ce924328e5e1cApp Store submissions
SimplifiedPaymaster0x579772Bfa5Ec1e8f33B81F304ffDbC55135db154Fee sponsorship (ERC-4337)
VarityWalletFactory0x23dcca8E063CB0Eea8Ec6e56657c07E11fFa4E78Smart accounts (ERC-4337)

Static deployments use:

  • IPFS for content-addressed storage
  • Filecoin for long-term archival
  • CDN for global distribution

Dynamic deployments use:

  • Akash Network for distributed compute
  • Persistent volumes for databases
  • Load balancing across multiple providers
  1. Build - CLI detects framework and runs build
  2. Upload - Files uploaded to IPFS, deployment ID generated
  3. Register - App registered via VarityAppRegistry
  4. Paymaster - Free operations enabled via SimplifiedPaymaster
  5. CDN - Files propagated to global CDN