Frak Labs
Building content monetization with Web3: pioneering account abstraction, WebAuthn wallets, extreme frontend optimization, cost-effective infrastructure.
19 articles
Giving a Smart Wallet a Bank Account With Monerium
Why we plugged the wallet straight into a regulated e-money issuer instead of building our own rails, and how the integration actually works: browser-side OAuth2 with PKCE, an nginx proxy that defeats a broken CORS preflight, ERC-1271 address linking, delegated KYC, and a signed SEPA off-ramp
19 min read
Engineering
Shopify i18n: One Metaobject Source for Four Runtimes
Why we moved merchant-editable text out of metafields and into a merchant-owned metaobject, how a three-tier Liquid cascade resolves it, and the self-healing sync that never overwrites a merchant's edits
11 min read
Engineering
Rebuilding the Wallet's CI: From 9 Minutes to 2
Killing Dockerfile.base, sharing cache mounts across six images, and what really moves the needle in Docker build pipelines
17 min read
DevOps
A Self-Hosted Hetzner CI Platform for the Frak Stack
In-cluster GitHub runners, mTLS BuildKit, an OCI cache nobody pays egress for, and the pulumi-Bun saga
20 min read
DevOps
Ring Architecture: A Wallet That Costs Nothing to Embed
Preact, vanilla-TS bootstraps, headless RPC, and the discipline of a 3-chunk eager bundle
20 min read
DevOps
Rich Native Share Sheets for Tauri on iOS and Android
Typed activity items on iOS, FileProvider thumbnails on Android, and a 2-second race against the share sheet
14 min read
Mobile
Passkey Recovery That Survives App Uninstalls in Tauri
iCloud KV + Keychain on iOS, Google Block Store + SharedPreferences on Android, and never storing anything sensitive
14 min read
Mobile
A Fast WordPress + WooCommerce Plugin in Production
Context-aware bootstrapping, manifest-based block registration, delegating webhooks to WooCommerce's native pipeline, and deleting every line of code we didn't need
15 min read
Engineering
Replacing MongoDB With libSQL and RustFS on Kubernetes
One lingering collection, zero cloud lock-in
18 min read
DevOps
Bun Memory Leak on Kubernetes: 3 Days to a Pod Restart
Two-pass builds, forced GC, --smol flags, and a health endpoint that lies to Kubernetes
9 min read
DevOps
Native WebAuthn Passkeys for Tauri on iOS and Android
Replacing simplewebauthn with platform-native passkey APIs - and surviving iOS attestation objects
9 min read
Mobile
DevX Overhaul: Cutting Build Times by 10x at Frak
From Next.js to TanStack Start, Rollup to Rolldown, and 5-minute builds to 30 seconds
8 min read
DevOps
How We Cut Our Wallet Size by 30%: Frontend Optimization
From Jotai to Zustand, AWS to Kubernetes, and achieving faster load times without a CDN
17 min read
DevOps
Why We Chose SST and Pulumi over Terraform for IaC
Escaping the HCL Trap
21 min read
DevOps
Replacing the Paywall: Our WebAuthn Smart Wallet POC
A biometric check instead of a subscription funnel, running on Polygon Mumbai with ERC-4337 accounts and passkeys
11 min read
Solidity
Cost-Effective Blockchain Infrastructure: eRPC and Ponder
How Frak runs automated on-chain reward distribution on Arbitrum within a tight budget, using eRPC for RPC routing and Ponder for on-chain indexing.
8 min read
DevOps
WebAuthn Signatures for ERC-4337 Smart Wallets
How we validate ERC-4337 user operations with WebAuthn signatures: P256 passkeys, the FCL on-chain verifier, and paymaster gas simulation.
10 min read
Solidity
Account Abstraction on Polygon With ERC-4337
Embracing the Future of Blockchain: Frak Leads with Account Abstraction, Redefining User Empowerment and Decentralization on Polygon.
10 min read
Solidity
Migrating Solidity Testing from Hardhat to Foundry
Evaluating the performance difference of Hardhat and Foundry for Solidity contract unit testing & reason behind the switch
5 min read
Solidity