Skip to content

DogeGage/Rivara-Wallet

Repository files navigation

Rivara Wallet

A non-custodial, privacy-focused multi-chain cryptocurrency wallet built with SvelteKit. Your keys, your crypto.

🌐 Live: rivarawallet.xyz

⚠️ License: Source Available β€” not Open Source. You can view, fork, and modify for personal use. You cannot host as a public service or redistribute commercially. See LICENSE.

Supported Chains

  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Polygon (POL)
  • Dogecoin (DOGE)
  • Litecoin (LTC)
  • Solana (SOL)
  • Tezos (XTZ)
  • Tron (TRX)

Features

  • Non-custodial β€” private keys never leave your device
  • Multi-chain β€” 8 cryptocurrencies in one wallet
  • AES-GCM 256-bit encryption β€” PBKDF2 with 100k iterations
  • Duress password β€” shows a decoy wallet under coercion
  • Private keys tab β€” password-gated access to all derived keys
  • Address book β€” auto-detects chain from address format
  • Tuffbackup β€” encrypted backup with HMAC integrity verification, includes address book
  • Built-in exchange β€” swap via ChangeNOW
  • Portfolio tracking β€” real-time balances and price charts
  • Proxied RPC β€” all API calls route through Cloudflare Worker, no keys exposed client-side
  • No KYC, no tracking, no registration
  • BIP39 compatible β€” import/export with any standard wallet

Tech Stack

  • Frontend: SvelteKit + TypeScript + Tailwind CSS
  • Crypto: Ethers.js, BitcoinJS, TweetNaCl, Web Crypto API
  • Backend: Cloudflare Worker + KV (price caching, RPC proxy)
  • APIs: CoinGecko, ChangeNOW, Helius, Ankr, Blockchair, BlockCypher
  • Hosting: Cloudflare Pages
  • Package Manager: Bun

Running Locally

bun install
bun run dev

Open http://localhost:5173

Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ routes/          # SvelteKit pages
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ services/    # Blockchain & crypto services
β”‚   β”‚   β”œβ”€β”€ stores/      # Svelte stores
β”‚   β”‚   └── components/  # UI components
β”‚   └── app.html
β”œβ”€β”€ static/              # Static assets & crypto libs
β”œβ”€β”€ worker.js            # Cloudflare Worker (RPC proxy + price cache)
└── wrangler.toml        # Cloudflare config

Security

  • AES-GCM 256-bit encryption, PBKDF2 100k iterations
  • Min 12 char passwords with complexity requirements
  • Rate limiting on unlock attempts with exponential backoff
  • Checksum address validation for all chains
  • HMAC integrity verification on backup files
  • No server-side storage β€” everything stays in the browser

See SECURITY.md for reporting vulnerabilities.

License

Source Available β€” See LICENSE


Rivara is a product of DogeGage.

About

No updates until I fix my pc 😒

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors