Skip to content

Releases: OpenPeerX/Peerx-Web

PeerX v0.1.0 — Initial brand launch

Choose a tag to compare

@ameeribro4-sudo ameeribro4-sudo released this 09 Jul 11:08

PeerX v0.1.0 — Initial brand launch

The first tagged release of PeerX (formerly SwapTrade). This tag marks the
completion of a wide-ranging brand migration across the entire codebase and is
recommended as a known-good baseline for new collaborators.

How to pin to this baseline

git checkout v0.1.0

Highlights

  • Full rebrand from SwapTrade → PeerX across source, copy, configuration,
    storage keys, cookies, env vars, and documentation.
  • 191 commits on main, with original authorship preserved for all 36
    historical contributors.
  • Local repo size 1.8 MB (was ~22 MB after an accidentally committed
    stripe.exe binary — now removed from history and blocked by .gitignore).
  • Brand-portfolio consistency:
    • Package: swaptrade-frontendpeerx-web
    • Primary domain: swaptrade.compeerx.com
    • API domain: api.swaptrade.comapi.peerx.com
    • Discord handle: discord.gg/swaptradediscord.gg/peerx
    • Telegram handle: t.me/swaptradet.me/peerx
    • Sender email: noreply@swaptrade.comnoreply@peerx.com

Configuration changes

If you maintain a .env, update the following variables:

Old New
SWAPTRADE_SQLITE_PATH PEERX_SQLITE_PATH
SWAPTRADE_DATA_DIR PEERX_DATA_DIR
SWAPTRADE_DATA_KEY PEERX_DATA_KEY

Other identifiers that changed (no action needed unless you have local data
keyed by the old name):

Layer Old key New key
CSRF cookie __Host-swaptrade-csrf __Host-peerx-csrf
localStorage UID swaptrade_user_id peerx_user_id
localStorage A/B swaptrade_ab_* / swaptrade_ab_uid peerx_ab_* / peerx_ab_uid
localStorage notif swaptrade_notification_prefs peerx_notification_prefs
Cookie (consent) swaptrade_analytics_consent peerx_analytics_consent
Service worker peerx-static-v1 / peerx-dynamic-v1 / peerx-images-v1 (unchanged namespace, just brand-flush happened)
SQLite file .data/swaptrade.sqlite .data/peerx.sqlite

Backwards compatibility: None. The PeerX runtime will create a fresh
.data/peerx.sqlite on first boot — local waitlist records from previous
swaptrade-frontend installs will not migrate automatically.

Manifest / PWA

  • public/manifest.json (generated from src/app/manifest.ts):
    • name: "PeerX – Swap Crypto Smarter"
    • short_name: "PeerX"
    • theme_color / background_color unchanged
  • Service-worker cache namespaces re-flushed to the new brand so users on
    cached installs get a clean asset bundle.

Verification matrix

Check Result
grep -ri swaptrade across repo 0 matches in tracked files
npm install --legacy-peer-deps ✅ clean
npm test 53 / 61 passing; 8 pre-existing failures unrelated to the rebrand (see Known issues)
code-reviewer post-rebrand sweep ✅ approved

Known issues

  • useABTest.test.tsx — the weighted-distribution assertion
    (bCount > 0 after 100 trials) is failing intermittently. Root cause
    is preexisting and unrelated to the rebrand (see commit that introduced
    the experimental A/B harness). Tracked as a follow-up.
  • onboardingEmails.test.ts — one FOREIGN KEY constraint failure due
    to test fixture not pre-seeding the users table. Preexisting; tracked as
    a follow-up.
  • Some WaitlistForm tests emit React act() warnings about setCsrfToken
    inside async work. Cosmetic; preexisting.

Contributors

36 authors contributed to the codebase leading up to this tag. Top
contributors by commit count:

  1. Xuccessor — 84
  2. Usman Adamu — 28
  3. DevMuhdishaq — 14
  4. ykargeee — 10
  5. nafsonig — 9
  6. Wildflower-mariposa — 1
  7. Juan Camilo Peláez Machado — 1
  8. Rosemary Effiom — 1
  9. whiteghost.dev — 1
  10. EDOHWARES — 1
  11. Bug-Hunter-X — 1
  12. devjaja — 1
    • 24 additional contributors

Full list: git log --pretty=format:'%an' | sort -u

Installation

# Fresh install (post-tag)
git clone https://github.com/OpenPeerX/Peerx-Web.git
cd Peerx-Web
git checkout v0.1.0
npm install --legacy-peer-deps
cp .env.example .env   # then fill in PEERX_DATA_KEY, email creds, etc.
npm run dev

Upgrade from previous brand

There is no supported upgrade path from swaptrade-frontend to this
release. Treat it as a fresh install.

License

MIT — see LICENSE.


Released by the PeerX team. Questions? File an issue on GitHub.