Implements the base abstractions for the Algorand blockchain.
Wallets implemented so far:
Wallet | Link |
---|---|
Pera Wallet | https://perawallet.app |
Defly Wallet | https://defly.app |
Ledger | https://ledger.com |
The base Algorand wallet configuration allows setting the algorand node and indexer url and credentials, as well as setting a default account. Each wallet has also its own config options.
Example:
import { PeraWallet } from "@xlabs-libs/wallet-aggregator-algorand";
const pera = new PeraWallet({
node: {
url: "https://algo.node.io",
token: "a_token",
},
peraOptions: {
chainId: 416002,
},
});
The Algorand wallet transaction signing interface complies with the ARC-0001. While the base cases are supported by all wallets, some of them might implement the ARC only partially (e.g: they don't support signing multisig transactions). Some features can be implemented at adapter level (i.e. in the concrete wallet classes, like skipping transaction with empty signers
in the ledger HW wallet), but do not expect all functionalities to be there.