HomeCase studiesMulti-Chain Digital Collectibles Social Discovery & Provenance...

Case study · Gothenburg, Sweden

Multi-Chain Digital Collectibles Social Discovery & Provenance Platform

Web3 and digital collectibles — social discovery rather than trading

Most Web3 interfaces treat digital collectibles purely as financial ticker symbols, leaving collectors without an engaging mobile space to curate galleries and verify provenance across chains. We architected a social discovery platform centered on a native Swift iOS experience, an Express and Node.js ingestion API, and PostgreSQL normalized metadata storage backed by AWS S3 media caching, JWT wallet authentication, and Firebase activity streams. Collectors connect multiple wallets read-only, showcase cross-chain holdings in curated feeds, and discuss provenance without custodial key risk.

Industry
Web3 and digital collectibles — social discovery rather than trading
Solution
A non-custodial multi-chain digital collectibles social network built with Swift for iOS, Node.js, Express, PostgreSQL, AWS S3, Firebase, and JWT.
Platforms
iOS · Web & API
Stack
Node.js · Express · PostgreSQL · Swift · Firebase · AWS
Location
Gothenburg, Sweden · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Gothenburg, Sweden. Names withheld by agreement.

Project Overview

Collectors of digital art and on-chain artifacts rarely lack marketplaces, yet they frequently lack a dedicated social environment designed around appreciation rather than floor-price speculation. Existing explorers scatter a collector's holdings across separate browser tabs per blockchain, render sluggish feeds over unreliable decentralized storage gateways, and bury artistic context beneath order-book clutter.

We engineered a non-custodial social discovery platform built in Gothenburg for collectors who want to curate cross-chain galleries, follow creators, and discuss provenance from a native mobile interface. A Swift iOS application delivers fluid visual browsing, powered by a Node.js and Express backend over PostgreSQL, AWS media normalization workers writing to S3, JWT session security, and Firebase for live social interactions.

Discovery & Multi-Chain Indexing Bottlenecks

Building a consumer-grade social network atop public blockchains exposes four persistent engineering obstacles:

  • Heterogeneous token metadata: Different blockchains and legacy contracts encode traits, creator royalties, and media pointers inconsistently, breaking naive feed queries when left unnormalized.
  • Unpredictable media gateways: Rendering raw IPFS hashes or oversized uncompressed GIFs directly inside a mobile scroll view causes blank tiles, memory spikes, and dropped frames.
  • Custodial friction vs. mobile UX: Requiring desktop browser extensions alienates mobile-first collectors, while holding private keys on app servers introduces unacceptable security liability.
  • Stale ownership states: Social badges and collector leaderboards lose credibility quickly if off-chain caches fail to reflect on-chain transfers or burned tokens.

Architectural Strategy

Our architecture treats blockchains strictly as read-only provenance sources and keeps all social velocity off-chain. Users link one or more public wallet addresses across supported networks by signing challenge messages externally; the backend never touches private keys or transaction signing flows.

Once a wallet connects, Node.js ingestion workers pull holdings through chain-specific adapters, normalize token attributes into PostgreSQL, and offload media fetching to AWS background processors. Those processors sanitize and transcode artwork into Amazon S3 so the Swift client fetches predictable, CDN-backed thumbnails rather than wrestling with congested public gateways. Social activity—comments, gallery curations, and follow alerts—flows through Firebase and JWT-authenticated Express endpoints.

Core Capabilities

  • Multi-Wallet Provenance Aggregation: Collectors link multiple EVM and non-EVM addresses under a single profile, unifying scattered holdings into cohesive themed galleries.
  • Native Swift Gallery & Provenance Viewer: High-framerate iOS views support pinch-to-zoom inspection, animated media playback, on-chain mint history, and trait breakdowns.
  • Curated Social Feeds & Collections: Users follow creators and fellow collectors, assemble thematic exhibitions without transferring assets, and filter discovery streams by medium or chain.
  • Spam-Filtered Token Management: Collectors hide unwanted promotional airdrops from public showcases while preserving transparent verification badges on authentic pieces.
  • Real-Time Community Discussions: Item-level comment threads, reactions, and mention notifications keep collector conversations active without reloading feeds.

Technical Architecture

Authentication begins when Swift requests a single-use nonce from Express and hands the payload to the user's mobile wallet app for cryptographic signing. Express verifies the signature, binds the wallet address to a collector profile in PostgreSQL, and returns signed JWT access and refresh tokens. Background AWS workers then query chain RPC nodes, normalize token metadata into PostgreSQL, and stream remote media through sanitization filters into S3. When users browse feeds, comment, or curate collections, Swift communicates over JWT-guarded Express routes while Firebase synchronizes live thread updates and APNs push notifications.

Flow: Wallet Signature Auth (Swift → Express → JWT) → Multi-Chain RPC Adapters → PostgreSQL Canonical Asset Graph + AWS S3 Media Pipeline → Swift Curated Feeds & Firebase Live Social Events

Keeping media transcoding and blockchain polling entirely asynchronous ensures feed scrolling and social interactions remain decoupled from external node latency.

Technology Stack

Category Technology detail
iOS Native Client Swift application for curated feeds, high-res asset viewing, and wallet linking
Backend API & Indexer Node.js with Express for graph feeds, wallet signature verification, and RPC orchestration
Relational & Trait Store PostgreSQL with relational social tables and JSONB token metadata indexing
Authentication JWT (short-lived access and rotating refresh tokens bound to cryptographic signatures)
Media Ingestion & Storage AWS workers normalizing IPFS/Arweave assets into Amazon S3 buckets
Real-Time Social Layer Firebase for comment threads, reaction counters, and APNs push notifications
Cloud Infrastructure AWS compute, CDN edge delivery, and background metadata synchronization jobs
Chain Connectivity Multi-chain read-only RPC adapters normalizing ERC-721/1155 and alternate token standards

Engineering Trade-offs & Solutions

Engineering Challenge Solution & Trade-off
Handling malformed or hostile external NFT metadata Built defensive schema parsers and sandboxed SVG sanitization before caching assets in S3, trading delayed display on brand-new mints for strict client safety.
Combining relational social graphs with arbitrary token traits Modeled followers, galleries, and ownership in normalized PostgreSQL tables while indexing variable attributes in GIN-indexed JSONB columns, avoiding separate document databases.
Detecting on-chain ownership transfers promptly without burning RPC quotas Prioritized active-profile refresh triggers and webhook/log subscriptions for popular contracts, pairing them with staggered background sweeps for dormant accounts.
Securing persistent mobile sessions across wallet switches Issued short-lived stateless JWT access tokens paired with revocable database-backed refresh tokens, letting users unlink compromised devices immediately.

Security & Reliability

Zero-custody verification is foundational to platform trust. Challenge nonces carry explicit domain bindings, expiration timestamps, and replay protection inside PostgreSQL so intercepted signatures cannot be reused across sessions. Every Express route validates JWT claims, scopes profile mutations strictly to the authenticated collector ID, and applies strict CORS and payload-size limits.

Because third-party NFT contracts occasionally point to malicious scripts or tracking pixels inside token URIs, AWS media workers never execute embedded JavaScript, strip unsafe SVG elements, verify binary magic bytes against declared MIME headers, and serve cached media from isolated S3 origins without cookies or elevated permissions.

Performance & Scale

Visual social apps live or die by first-paint speed on cellular networks. AWS media pipelines generate multi-resolution WebP thumbnails, progressive JPEGs, and hardware-friendly H.264/HEVC video derivatives stored in S3, allowing Swift image caches to prefetch upcoming feed cards without exhausting device RAM.

On the API tier, stateless Express instances scale behind AWS load balancers while PostgreSQL read replicas absorb heavy discovery queries, leaderboard aggregations, and JSONB trait filters. Idempotent ingestion queues retry failed RPC calls with exponential backoff and dead-letter alerting whenever an upstream blockchain node experiences chain reorganizations or rate throttling.

Operational Outcomes

Focusing strictly on social curation and resilient media engineering unlocked an accessible collector experience across ecosystems:

  • Fluid mobile artwork presentation: Caching normalized assets in AWS S3 eliminates stalled spinners from congested decentralized gateways inside Swift feeds.
  • Unified multi-chain identity: Collectors present holdings from disparate networks inside a single authenticated profile without relinquishing custody of their keys.
  • Dependable provenance visibility: Asynchronous reconciliation keeps displayed ownership badges aligned with on-chain state while honoring historical curation context.
  • Clean, community-safe discovery: Automated spam-contract filtering and sanitized media ingestion protect users from unsolicited airdrops and hostile token payloads.

01 — Questions

asked about this kind of project

How do you verify wallet ownership without asking users for private keys or seed phrases?

Express generates a time-bound cryptographic nonce per login attempt. The Swift iOS app delegates signing to the user's external wallet via deep links, and Node.js recovers the public address from the signature before issuing scoped JWT credentials.

Why mirror IPFS and Arweave media onto AWS S3 instead of loading token URIs directly on iOS?

Decentralized gateways frequently throttle requests, time out, or serve multi-megabyte unoptimized files that stutter mobile feeds. Background AWS workers fetch, validate MIME types, transcode animated media, and serve responsive variants from S3 over CDN.

How does PostgreSQL normalize collectibles across incompatible blockchain standards?

Chain-specific adapters translate disparate contract formats into a unified canonical asset record—storing chain ID, contract address, token ID, and owner address relationally while indexing arbitrary trait arrays in PostgreSQL JSONB columns.

What happens to a collector's curated showcase if they transfer or sell a piece on-chain?

Periodic reconciliation workers poll ownership deltas and listen to transfer events. If an asset leaves every linked wallet for an account, PostgreSQL marks the piece as historical provenance rather than active ownership, preserving social history accurately.

How do you defend the platform against spam airdrops and malicious SVG payloads?

Ingestion pipelines sanitize SVG scripts, enforce strict Content-Type checks before S3 persistence, and allow users to mute unverified contracts while default discovery feeds filter flagged airdrop spam collections.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.