Skip to content
This new developer portal is under construction. For complete documentation, please refer to the old developer portal.

Algorand Wallet Reach Browser Spec

Abstract

A common convention for DApps to discover Algorand wallets in browser code: window.algorand. A property algorand attached to the window browser object, with all the features defined in ARC-0010.

Specification

1
interface WindowAlgorand {
2
enable: EnableFunction;
3
enableNetwork?: EnableNetworkFunction;
4
enableAccounts?: EnableAccountsFunction;
5
signAndPostTxns: SignAndPostTxnsFunction;
6
getAlgodv2Client: GetAlgodv2ClientFunction;
7
getIndexerClient: GetIndexerClientFunction;
8
signTxns?: SignTxnsFunction;
9
postTxns?: SignTxnsFunction;
10
}

With the specifications and semantics for each function as stated in ARC-0010.

Rationale

DApps should be unopinionated about which wallet they are used with. End users should be able to inject their wallet of choice into the DApp. Therefore, in browser contexts, we reserve window.algorand for this purpose.

Security Considerations

None.

Copyright and related rights waived via CCO.