Skip to content
kyranjamie edited this page Apr 21, 2022 · 11 revisions

App Developers' Guide

This documentation explains how developers can interact with the Hiro Wallet.

Looking to integrate the Hiro Wallet with your app? Check out @stacks/connect

Getting started

When the Hiro Wallet is installed, a script is injected to the page, and a new object StacksProvider assigned to the global window variable.

if (window.StacksProvider) {
  // User has Hiro Wallet installed 🥳 
} else {
  // User does not have Hiro Wallet installed
}

StacksProvider

The StacksProvider is a JavaScript object injected into web pages of users with the Hiro Wallet web extension installed.

Clone this wiki locally