-
Notifications
You must be signed in to change notification settings - Fork 144
Home
kyranjamie edited this page Apr 21, 2022
·
11 revisions
This documentation covers the StacksProvider, a JavaScript object that is injected into web pages of users with the Hiro Wallet web extension installed.
Looking to integrate the Hiro Wallet with your app? Check out @stacks/connect
→
When the Hiro Wallet is installed, a script is injected to the page, and a new object StacksProvider
assigned to the global window
.
if (window.StacksProvider) {
// User has Hiro Wallet installed 🥳
} else {
// User does not have Hiro Wallet installed
}