πUsing RainbowKit
Banana wallet can be added to RainbowKit through rainbowkit plugin.
Installationβ
The plugin can be installed via the npm package @rize-labs/banana-rainbowkit-plugin
.
or
Usageβ
The wallet is then imported and added to the list of wallet connectors alongside the other RainbowKit wallets.
Parametersβ
chainsβ
Chains supported by the app. This is the same parameter as would be passed to other RainbowKit wallets.
connectβ
Connect options for Banana, includes the default network id where the wallet will attempt a connection.
Exampleβ
A demo app for Banana Wallet integration with the Rainbowkit plugin is available here
Compatible Networks
Optimism Goerli
Ethereum Goerli
Polygon Mumbai
Gnosis Mainnet
Chiado Testnet
Note: Our plugin works best with wagmi^0.9.x and @rainbow-me/rainbowkit^0.8.x PS: if after following these steps you are experiencing webpack polyfill issue please refer to this page
π§pageWebpack 5 Polyfill IssueIf you have any questions please post them Banana SDK Discord forum.
Last updated