Algorand Wallet Reach Browser Spec
Abstract
Section titled “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
Section titled “Specification”interface WindowAlgorand { enable: EnableFunction; enableNetwork?: EnableNetworkFunction; enableAccounts?: EnableAccountsFunction; signAndPostTxns: SignAndPostTxnsFunction; getAlgodv2Client: GetAlgodv2ClientFunction; getIndexerClient: GetIndexerClientFunction; signTxns?: SignTxnsFunction; postTxns?: SignTxnsFunction;}With the specifications and semantics for each function as stated in ARC-0010.
Rationale
Section titled “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
Section titled “Security Considerations”None.
Copyright
Section titled “Copyright”Copyright and related rights waived via CCO.