Products
DApp Connection
description: Connect DropFi to decentralized applications
DApp Connection
🔗 How DApp Connection Works
DropFi injects the window.xrpl
object into every webpage, allowing seamless interaction with XRPL DApps without exposing your private keys.
🚀 Connecting to a DApp
Automatic Detection
When you visit an XRPL DApp:
- DApp detects DropFi via
window.xrpl
- Shows "Connect Wallet" button
- Click to initiate connection
- DropFi popup appears for approval
Connection Flow
What DApps Can Access
✅ Can Access:
- Your public address
- Network you're connected to
- Request signatures (with approval)
- Listen for account changes
❌ Cannot Access:
- Your private keys
- Your password
- Other connected sites
- Your transaction history
🎯 Popular DApps
DEX & Trading
- Sologenic DEX: Trade tokens
- XRP Toolkit: Portfolio management
- XRPL DEX: Native decentralized exchange
DeFi Protocols
- XRP Liquidity Hub: AMM pools
- Lending protocols: Borrow/lend
- Yield farms: Earn rewards
NFT Marketplaces
- XRP.CAFE: NFT trading
- onXRP: NFT marketplace
- XPmarket: Buy/sell NFTs
Gaming & Metaverse
- XRPL Games: Various games
- Metaverse projects: Virtual worlds
- Play-to-earn: Gaming rewards
🔒 Managing Connections
View Connected Sites
- Click DropFi icon
- Go to Settings → Connected Sites
- See all active connections:
Disconnecting Sites
To revoke access:
- Find site in Connected Sites
- Click "Disconnect"
- Site must request permission again
Connection Permissions
Each connection allows the DApp to:
- See your current address
- Request transaction signatures
- Detect when you switch accounts
- Know your current network
🛡️ Security Best Practices
Before Connecting
- Verify URL: Check for typos/phishing
- HTTPS only: Never connect on HTTP
- Research DApp: Check community reviews
- Start small: Test with small amounts
Red Flags 🚩
- Asks for your seed phrase
- Requests password access
- Unusual permission requests
- Poor grammar/spelling
- Too-good-to-be-true offers
Safe Connection Checklist
- URL matches official site
- HTTPS lock icon visible
- Site has good reputation
- Permissions seem reasonable
- You understand what you're connecting to
🔄 Connection States
Active Connection
- Green dot in extension
- DApp shows "Connected"
- Can request transactions
- Receives account updates
Disconnected
- No access to wallet
- Must reconnect to use
- Previous permissions revoked
- Clean slate
Network Mismatch
- DApp on different network
- Transactions will fail
- Switch networks to match
- Or disconnect
💡 Advanced Features
Multiple Accounts
DropFi supports multiple accounts:
- Each DApp connection is per-account
- Switching accounts updates DApp
- DApps only see current account
- Previous account hidden
Session Management
- Connections persist across browser restarts
- Clearing browser data removes connections
- Extension uninstall revokes all
- Password change doesn't affect connections
Developer Mode
Enable in Settings → Advanced:
- See detailed connection logs
- View raw transaction data
- Debug connection issues
- Not for regular users
🚨 Troubleshooting
DApp Can't Find Wallet
- Ensure DropFi is installed
- Refresh the DApp page
- Check extension isn't disabled
- Try in new tab
Connection Rejected
- User cancelled connection
- Try connecting again
- Check for popup blockers
- Ensure DropFi unlocked
Transactions Failing
- Check network matches DApp
- Ensure sufficient XRP balance
- Verify transaction details
- Try reconnecting
Lost Connection
- DropFi auto-locked
- Browser/extension updated
- DApp session expired
- Simply reconnect
🎯 Pro Tips
Organize Connections
- Disconnect unused DApps
- Name accounts by purpose
- Regular connection audit
- Use separate accounts for testing
Stay Safe
- Bookmark trusted DApps
- Never rush connections
- Read transaction details
- When in doubt, disconnect
Optimize Experience
- Pin DropFi for quick access
- Use expanded view for DeFi
- Enable notifications
- Keep extension updated
🔐 Security Note: DropFi never shares your private keys with DApps. All sensitive operations require your explicit approval. You're always in control!