A single Web3 / Algorand provider solution for all Wallets.
AlgorandWalletSelector is an easy-to-use library to help developers add support for multiple providers in their apps with a simple customizable configuration.
By default AlgorandWalletSelector Library supports injected providers like (AlgoSigner, MyAlgoWallet, etc) and WalletConnect (Official AlgorandWallet, etc). You can also easily configure the library to support more wallets.
You can test the library on: https://xbacked.io/
Open a PR to add your project to the list!
- Install AlgorandWalletSelector NPM package
npm install --save algorand-wallet-selector
# OR
yarn add aweb3wallet
- Add algorand-wallet-selector to your Dapp as follows
import AlgorandWalletSelector from "algorand-wallet-selector";
const provider = new AlgorandWalletSelector({
network: "mainnet",
});
const wallet = await provider.connectTo("walletconnect");
Do you want to add your provider to Web3Modal? All logic for supported providers lives inside the src/providers directory. To add a new follow the following steps here.
MIT