Skip to content
Projekte

Über uns

The Bull Bitcoin Mobile Wallet and Exchange App

Lernen und Bildung

So werden diese Zahlen gemessen

What you can do

  • Create, import and switch between multiple Bitcoin and Liquid wallets, including wallets with BIP39 passphrases.
  • View amounts in BTC, sats or your preferred fiat currency.
  • Send and receive Lightning payments through swap services, including payments to LNURL-pay requests and Lightning addresses.
  • Transfer between Bitcoin and Liquid, including external wallet destinations.

Gemessener Sternzuwachs

in 24h
0
in 7 days
-2
in 15 days
-1
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

About BULL Wallet

BULL Wallet is a self-custodial Bitcoin and Liquid Network wallet which offers non-custodial atomic swaps across Bitcoin, Lightning and Liquid. The wallet philosophy is to provide advanced features that give users the maximum control, while still being easy to use for beginners. Our goal is to make sure that anyone can take self-custody of their Bitcoin, even in a high fee environment. Our driving principle is to create a user experience which nudges the user into implementing best practices.

Following the cypherpunk ethos, the BULL Wallet is fully open-source and trustless.

Wallet basics

During setup, BULL creates two default wallets that share the same mnemonic:

  • Secure Bitcoin Wallet: a Bitcoin wallet using native SegWit addresses.
  • Instant Payments Wallet: a Liquid wallet using confidential SegWit addresses.

Lightning invoices can be paid from either wallet; incoming Lightning payments are received into the Instant Payments Wallet. These payments and Bitcoin/Liquid transfers use the configured swap service.

Features

  • Create, import and switch between multiple Bitcoin and Liquid wallets, including wallets with BIP39 passphrases.
  • View amounts in BTC, sats or your preferred fiat currency.
  • Send and receive Lightning payments through swap services, including payments to LNURL-pay requests and Lightning addresses.
  • Transfer between Bitcoin and Liquid, including external wallet destinations.
  • Configure automatic transfers of excess funds from the default Liquid wallet to a Bitcoin wallet, with balance and fee limits.
  • Export wallet transaction history as CSV.

Transaction fees

Bitcoin fee estimates come from the source chosen under Settings → Wallet → Bitcoin fee source: your configured Electrum server, which is the default, or your configured Mempool server. Either gives three presets (Fast, Economy and Slow) and a custom fee; when the selected source cannot answer, the estimate is reported as unavailable instead of being taken from the other source. Liquid transactions use the network's 0.1 sat/vB minimum relay rate. Use replace-by-fee (RBF) to increase fees on eligible unconfirmed Bitcoin transactions. Warnings highlight high fees and potentially slow Bitcoin-funded Lightning payments.

Wallet security

  • Protect access to the app with an optional 4-to-8-digit PIN.
  • Private keys and BIP39 passphrases are stored in secure storage on the device.
  • Back up recovery phrases manually, or save an encrypted RecoverBull vault of the default mnemonic to Google Drive or a file.
  • Sensitive mnemonic screens have screen-capture protection enabled by default; phrase entry uses an in-app keyboard.

RecoverBull stores the encrypted vault separately from its password-encrypted vault key, which is kept on a key server accessed over Tor.

Hardware wallets and watch-only wallets

  • Import watch-only wallets using QR codes or extended public keys (xpub/ypub/zpub).
  • Connect supported Ledger and BitBox devices directly via USB or Bluetooth, depending on the device and platform.
  • Create partially signed Bitcoin transactions (PSBTs) for external signing, then import and broadcast signed transactions. QR-based workflows support Coldcard, Jade, Passport, Keystone, SeedSigner, Specter and Krux; supported Coldcard models also offer NFC.

Privacy and UTXO management (coin selection)

  • Label addresses and transactions, and import or export labels using BIP-329.
  • Select the UTXOs to spend or freeze coins to exclude them from automatic selection.
  • Send the full wallet balance or sweep selected UTXOs, deducting fees from the amount sent.
  • Use Payjoin v2 for Bitcoin payments and supported exchange interactions.
  • Connect to custom Electrum servers, including .onion servers through embedded Tor or a local SOCKS5 proxy. RecoverBull key-server connections also use Tor.

Integration with the Bull Bitcoin exchange

Our mission is to facilitate and encourage the self-custody of Bitcoin by providing an integrated experience that combines a Bitcoin Wallet, Bitcoin Payments service and a Bitcoin Exchange (on-ramp, off-ramp). For this reason, the wallet will be fully integrated with the Bull Bitcoin API. Users will be able to manage their Bull Bitcoin accounts, buy Bitcoin and sell Bitcoin. This integration will be fully open-source. Use of the Bull Bitcoin exchange is fully optional. Users do not need to register for a Bull Bitcoin account to use all wallet features.

Non-custodial Bitcoin exchanges and payment processors such as Bull Bitcoin have existed for over a decade. When a user purchases Bitcoin, the user must first provide a Bitcoin address to the exchange. The exchange will send the Bitcoin directly to the user’s own Bitcoin wallet as soon as the Bitcoin purchase is confirmed.

The primary issue with non-custodial exchanges is that they require users to set up a Bitcoin Wallet using a separate mobile, desktop or web app before being able to purchase Bitcoin. This creates a sub-optimal and confusing user experience, forcing the end-user to use two separate applications, sharing data (bitcoin addresses) back-and-forth between the two. Custodial exchanges provide a cleaner and more friendly user experience by providing a Bitcoin balance, a fiat balance, and a mechanism to move funds from a fiat balance to a Bitcoin balance within the same user interface. BULL Wallet solves the problem of having a single, integrated experience within a single mobile application without requiring the user to give up self-custody.

When installing the BULL Wallet app, a self-custodial wallet will be created, regardless of whether the user is a Bull Bitcoin user or not. The user will access the Bull Bitcoin exchange from the same application. When purchasing Bitcoin, the mobile app will automatically create a Bitcoin receiving address and provide it to Bull Bitcoin’s servers as a new payout address and Bull Bitcoin will send the Bitcoin directly to the mobile wallet. There is no need to share the xpub of the wallet to Bull Bitcoin’s servers. Users of BULL Wallet can also specify an external Bitcoin address, they do not need to use the Bull Bitcoin wallet.

When spending or selling Bitcoin, the exchange will create a payment invoice (BIP21) that will automatically be opened by the same application. All the user has to do is to confirm or reject that transaction. The experience will be functionally the same as that of a custodial exchange, with the exception that the user will have to do a backup of the Bitcoin wallet.

Roadmap

Development is tracked in GitHub issues. To suggest a feature or report a bug, see the contribution guidelines.

Technical resources

Acknowledgements

image

Explicit regtest development profile

Regtest is offered in developer mode only, on the regtest stack selected by the build.

Hosted stack

Every build, including release, beta and CI builds, carries the shared hosted regtest stack: one TLS Electrum endpoint per chain, the Esplora APIs, Boltz, the RecoverBull onion service and the Ark server. Its endpoints are the defaults of RegtestHostedDefines and of the Ark profile in lib/init.dart, mirrored in tools/regtest/hosted.json; a test keeps them equal. Each BULL_REGTEST_HOSTED_* or BULL_ARK_REGTEST_* define overrides one endpoint.

make regtest-hosted-check   # read-only reachability check of the hosted endpoints

The check covers the RecoverBull onion service only when TOR_SOCKS=host:port names a Tor SOCKS proxy. The hosted stack offers no Payjoin: its mailrooms do not relay OHTTP, so the Payjoin runtime reports itself unavailable there.

Local stack

BULL_REGTEST_HOST selects a local stack instead of the hosted one, as the CI integration tests do. Build a deliberately configured development app, for example:

fvm flutter run --dart-define=BULL_REGTEST_HOST=stack.example

Use --dart-define=BULL_REGTEST_HOST=127.0.0.1 explicitly when the intended stack is forwarded to loopback; localhost forwarding is not selected automatically. Use a host only, without a scheme, port, path or credentials. The configured stack must expose plaintext Electrum TCP on ports 50000 (Bitcoin) and 50001 (Liquid), Boltz HTTP on 9001 (/v2), websocket on 9004, and local explorers on 3000/3001. Configure forwarding and access separately; this build setting does not change network routing or TLS trust.

For regtest Payjoin, the same host routes the fixture's logical HTTPS endpoints localhost:8040 and 127.0.0.1:8041; additionally pass --dart-define=BULL_PAYJOIN_CERT_DER_BASE64=<certificate-DER-base64> and --dart-define=BULL_PAYJOIN_CERT_SHA256=<approved-certificate-sha256> for the approved fixture certificate. The certificate and pin must match; a missing/mismatched pin refuses Payjoin rather than weakening TLS. Existing explicit service profiles and separately configured Ark endpoints remain independent and must be preserved.

If an installation was saved on regtest and is rebuilt without a valid host profile, its regtest services cannot start. Rebuild with the explicit profile to recover that context; no mainnet/testnet or loopback fallback is selected. Liquid regtest receive QR codes and links contain the bare address: the displayed requested amount and note are not encoded until an interoperable regtest URI/asset contract is supported.

Ähnliche Projekte entdecken

Wird geladen…