@xlabs-libs/wallet-aggregator-react-init
v0.0.1-alpha.4
Published
A utility package to bootstrap the react context with all available wallets
Downloads
5
Keywords
Readme
Wallet Aggregator - React Init
A utility package to bootstrap the react context with all available wallets
Usage
import { CHAINS } from "@xlabs/wallet-aggregator-core";
import { WalletContextProvider } from '@xlabs/wallet-aggregator-react';
import { initWallets } from '@xlabs/wallet-aggregator-react-init';
const Main = () => {
const wallets = initWallets();
return (
<WalletContextProvider availableWallets={wallets}>
<App />
</WalletContextProvider>
);
};