Stacks
It is recommended to use the @stacks/connect connection modal to get all popular Stacks wallets at once, including Asigna Extension.
Due to the StacksProvider
conflict described in the Stacks Connect library issue, we decided not to override the standard provider in order to prevent any behaviour collisions with existing wallets, like Leather and Xverse.
Asigna Custom Provider:
Asigna prepared a custom provider that can be passed to all methods from Stacks Connect. Application developers are able to integrate Asigna easily: window.AsignaProvider
.
This custom provider can be passed to methods like doOpenAuth
, doContractCall
, doContractDeploy
, and doSTXTransfer
.
Recommendations:
It is recommended either to use custom providers for Xverse and Leather to avoid their internal collisions:
Xverse custom provider:
window.XverseProviders.StacksProvider
Leather custom provider:
window.LeatherProvider
A custom provider can be selected in the Connection window and then saved, for example, in local storage for further usage with other action methods.
Last updated