Phantom Developer Docs
HomeDeveloper Forums
  • ๐Ÿ‘ปIntroduction
    • Introduction
  • ๐ŸŸฉSolana
    • Getting Started With Solana
    • Detecting the Provider
    • Establishing a Connection
    • Sending a Legacy Transaction
    • Sending a Versioned Transaction
    • Signing a Message
    • Error Messages and Codes
  • ๐Ÿ”ทEthereum, Monad Testnet, Base, & Polygon
    • Getting Started with EVM networks
    • Detecting the Provider
    • Establishing a Connection
    • Sending a Transaction
    • Signing a Message
    • Provider API Reference
      • Properties
        • isPhantom
        • chainId
        • networkVersion
        • selectedAddress
        • _events
        • _eventsCount
      • Events
        • Connect
        • Accounts Changed
        • Disconnect
        • Chain Changed
      • Methods
        • isConnected
        • request
      • Error Messages & Codes
  • ๐ŸŒŠSui
    • Getting Started with Sui
    • Detecting the Provider
    • Establishing a Connection
    • Sending a Transaction
    • Signing a Message
  • ๐ŸŸ Bitcoin
    • Getting Started With Bitcoin
    • Detecting the Provider
    • Establishing a Connection
    • Sending a Transaction
    • Signing a Message
    • Provider API Reference
  • โ›“๏ธPhantom Deeplinks
    • Phantom Deeplinks
    • Provider Methods
      • Connect
      • Disconnect
      • SignAndSendTransaction
      • SignAllTransactions
      • SignTransaction
      • SignMessage
    • Other Methods
      • Browse
      • Fungible
      • Swap
    • Handling Sessions
    • Specifying Redirects
    • Encryption
    • Limitations
  • ๐Ÿ› ๏ธDeveloper Powertools
    • Auto-Confirm
    • Domain and Transaction Warnings
    • Mobile Web Debugging
    • Phantom Blocklist
    • Shortcuts
    • Sign-In-With (SIW) Standards
    • Solana Actions & Blinks
    • Solana Priority Fees
    • Solana Token Extensions (Token22)
    • Solana Versioned Transactions
    • Testnet Mode
    • Token Pages
    • Wallet Standard
  • โœ…Best Practices
    • Launching a Dapp
    • Displaying Apps within the Activity Tab
    • Displaying Apps within Dialogs
    • Displaying Tokens on Solana
      • Fungibles
      • NFTs & Semi-Fungibles
      • Supported Media Types
  • ๐Ÿ™‹Resources
    • FAQ
    • Demo Applications
    • Community Guides & SDKs
    • Logos & Assets
Powered by GitBook
On this page
  • Direct Integration
  • Wallet Standard

Was this helpful?

  1. Bitcoin

Getting Started With Bitcoin

PreviousSigning a MessageNextDetecting the Provider

Last updated 1 year ago

Was this helpful?

The Phantom browser extension and mobile in-app browser both support interacting with Bitcoin and Ordinals dapps. As Phantom version 23.19, users can enable Bitcoin by going to Settings > Active Networks and enabling Bitcoin like so:

There are two main ways to integrate Phantom into your web application:

Direct Integration

The most direct way to interact with Phantom is via the provider that Phantom injects into your web application. This provider is globally available at window.phantom and its methods will always include Phantom's most up-to-date functionality. This documentation is dedicated to covering all aspects of the provider.

Wallet Standard

When adding a Phantom button to your dappโ€™s wallet modal, we recommend using the name โ€œPhantomโ€ with an SVG/PNG icon which can be found .

Applications can also integrate Phantom by adding support for . The Bitcoin-specific extensions for Wallet Standard can be found .

๐ŸŸ 
here
Wallet Standard
here
A example Phantom button in a wallet modal