Overview
Receiving payments with Arkade is designed for instant, low-fee Bitcoin transfers. Your Arkade wallet generates an offchain address that allows anyone to send you Bitcoin instantly within the Arkade network, or through Lightning Network swaps.Getting Your Arkade Address
To receive payments, generate your offchain Arkade address:This is your primary receiving address for everyday payments. Share this address to receive instant, near-zero fee Bitcoin payments from other Arkade wallets.
Arkade Addresses
Arkade addresses start withark1
on Bitcoin mainnet or tark1
on testnet and regtest.
Understanding Arkade Addresses
Learn about the technical structure of Arkade addresses, how they’re generated, and the security guarantees they provide.
Receiving from Lightning Network
Your Arkade wallet can receive payments from the Lightning Network through submarine swaps. This allows Lightning users to pay you instantly, with the funds settling into your Arkade wallet as VTXOs.Lightning Swaps
Learn how to integrate Lightning Network payments with your Arkade wallet using submarine swaps.
Monitoring for Incoming Payments
To detect when payments are received, you can usewallet.notifyIncomingFunds()
for incoming VTXOs in real-time.
The
utxo
notification type is only relevant when using boarding addresses to onboard Bitcoin into Arkade. For everyday receiving, you’ll primarily work with vtxo
notifications.Best Practices
Error Handling
Error Handling
Always implement proper error handling for your subscription to ensure your application remains stable even if there are network issues.
Reconnection Logic
Reconnection Logic
Consider implementing reconnection logic if the subscription is interrupted due to network issues.
Deduplication
Deduplication
Implement deduplication logic to ensure you don’t process the same payment multiple times, especially if your application restarts.
Next Steps
- Check Balances - Learn how to verify your wallet balance
- Send Payments - Learn how to send payments within Arkade and to Lightning
- Ramps - Advanced: onboard Bitcoin from the blockchain or offboard to the blockchain