Skip to content

Commit

Permalink
chore: update coin98 wallet provider and support EIP-6963 (#1782)
Browse files Browse the repository at this point in the history
* fix: update coin98 provider

* chore: changeset

* chore: tweak changeset

---------

Co-authored-by: Daniel Sinclair <d@niel.nyc>
  • Loading branch information
magiziz and DanielSinclair committed Feb 22, 2024
1 parent d623428 commit 1a08977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wild-suns-vanish.md
@@ -0,0 +1,5 @@
---
"@rainbow-me/rainbowkit": patch
---

Added EIP-6963 support for `coin98Wallet` wallet connector
Expand Up @@ -12,9 +12,10 @@ export const coin98Wallet = ({
walletConnectParameters,
}: Coin98WalletOptions): Wallet => {
const isCoin98WalletInjected = hasInjectedProvider({
namespace: 'coin98Wallet',
namespace: 'coin98.provider',
flag: 'isCoin98',
});

const shouldUseWalletConnect = !isCoin98WalletInjected;
return {
id: 'coin98',
Expand All @@ -23,6 +24,7 @@ export const coin98Wallet = ({
installed: isCoin98WalletInjected,
iconAccent: '#CDA349',
iconBackground: '#fff',
rdns: 'coin98.com',
downloadUrls: {
android:
'https://play.google.com/store/apps/details?id=coin98.crypto.finance.media',
Expand Down

0 comments on commit 1a08977

Please sign in to comment.