Onboarding: Two Ways to Connect
Bullbit offers two distinct onboarding paths to cater to both new users and Web3 natives.
Option A: The "Invisible" SmartWallet (Recommended for New Users)
This flow utilizes the Full Account Abstraction stack to deliver a Web2-like experience.
A. The 30-Second Start (Registration)
User Action: Enter Email or use Social Login (Google/Gmail)
System Action: Calls Passkey API. User scans FaceID/TouchID.
Result: Account created. User enters the main interface immediately.
Under the hood: We use CREATE2 to pre-calculate the AA Wallet address (Counterfactual Address).
Lazy Deployment: The contract is NOT deployed immediately to save gas. It is deployed "just-in-time" along with the first deposit transaction.
B. Re-login (Trusted Device)
User Action: Open Bullbit App/Web.
System Action: Detects existing Passkey credential. Displays "Login as $$User Name$$"
User Action: Tap button -> Login successful.
Under the hood: Client calls
navigator.credentials.get()to check for local credentials. Server verifies the signature against the stored Public Key.
C. Adding a New Device (Visual Challenge)
Used when switching to a new phone or PC. Prevents phishing.
On New Device (Device B): Enter Email. System prompts setup. User scans FaceID to generate a new key pair. Screen displays a Matching Code (e.g., 58). Status: "Waiting for approval...".
On Old Device (Device A): Receives Push Notification. Asks: "What code is shown on the other device?" (Options: 24, 58, 99).
Approval: User selects 58 on Device A -> Confirms with FaceID.
Execution: Device B automatically logs in.
Option B: Standard Web3 Wallet (For DeFi Natives)
If you already possess a self-custodial wallet, you can connect directly without creating a Passkey account.
Connect Wallet
Click "Connect Wallet" on the Bullbit homepage.
Select your provider (MetaMask, Trust Wallet, SafePal, etc.).
Sign the connection request in your wallet extension/app.
Once connected, your wallet address serves as your identity. You can immediately proceed to deposit funds.
Last updated