Skip to main content

Bitcoin Wallet Integration

This section provides documentation for integrating Babylon Bitcoin Staking with different types of Bitcoin wallets. Whether you're building a web application, mobile app, or hardware wallet, specific guides are provided for each wallet type.

Extension Wallets

This guide outlines the various approaches for integrating Babylon bitcoin staking functionality into browser extension wallets.

Option 1

Be added to a third party's bitcoin staking website as a wallet for either Bitcoin or Babylon or both. This requires collaboration with the host of the website and exposing compatible wallet APIs.

  • To be supported in the Babylon hosted staking website as a Bitcoin or Babylon wallet, please integrate with the Tomo Wallet Connect by following the docs.
    • This is the preferred method for wallet integration that will achieve the most timely results. The Babylon hosted website will also support native wallet integrations for select wallets with long-established support.

Option 2

Host your own bitcoin staking website that connects to your extension wallet and retrieves staking information from a backend you operate.

  • For information about developing/hosting your own bitcoin staking website, please check:
    • our reference web application implementation.
    • our TypeScript and Golang Bitcoin Staking libraries for creating bitcoin Staking transactions.
    • our documentation on the flow of bitcoin staking transaction creation and submission in conjunction with Bitcoin and Babylon Genesis blockchains.
  • For information about the reference Babylon staking backend, please read this document.

Option 3

Develop bitcoin staking as a feature on your extension wallet, which connects to either third party APIs (such as the Babylon Staking API) or a backend you operate.

  • For information about developing your own bitcoin staking as a feature, please check:

    • our reference web application implementation.
    • our TypeScript and Golang Bitcoin Staking libraries.
    • our documentation on the flow of bitcoin staking transaction creation and submission in conjunction with Bitcoin and Babylon Genesis blockchains.
  • For information about the reference babylon staking backend, please read this document.

Mobile App Wallets

This guide outlines the various options for integrating Babylon bitcoin staking functionality into mobile app wallets.

Option 1

Embed a third-party Bitcoin staking website to your mobile app wallet, which interacts with the Bitcoin and Babylon signers inside your wallet via the application window interface. To embed on the Babylon hosted staking website, please ensure that the interface of your mobile wallet (or a wrapper of it) adheres to the Injectable Wallet interface.

Option 2

Host your own Bitcoin staking website that connects to your extension wallet that retrieves staking information from a backend you operate. Then embed your own Bitcoin staking website to your mobile app wallet.

  • For information about developing/hosting your own Bitcoin staking website, please check:
    • our reference web application implementation.
    • our TypeScript and Golang Bitcoin Staking libraries for creating bitcoin Staking transactions.
    • our documentation on the flow of bitcoin Staking transaction creation and submission in conjunction with Bitcoin and Babylon blockchains.
  • For information about the reference Babylon staking backend, please read this document.

Option 3

Develop bitcoin staking as a feature of your mobile wallet, which connects to either third party APIs (such as the Babylon Staking API) or a backend you operate.

  • For information about developing your own bitcoin staking as a feature, please check:
    • our reference web application implementation.
    • our TypeScript and Golang Bitcoin Staking libraries.
    • our documentation on the flow of bitcoin staking transaction creation and submission in conjunction with Bitcoin and Babylon blockchains.
  • For information about the reference Babylon staking backend, please read this document.

Hardware Wallets

This guide outlines the various approaches for integrating Babylon bitcoin staking functionality into hardware wallets.

Option 1

Develop bitcoin staking as a feature of your hardware wallet, which connects to either third party APIs (such as the Babylon Staking API) or a backend you operate.

  • For information about developing your own bitcoin staking as a feature, please check:

    • our reference web application implementation.
    • our TypeScript and Golang Bitcoin Staking libraries.
    • our documentation on the flow of bitcoin staking transaction creation and submission in conjunction with Bitcoin and Babylon Genesis blockchains.
  • For information about the reference Babylon staking backend, please read this document.

Option 2

Integrate via a compatible software wallet (extension or mobile) that is bitcoin staking enabled.