-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Infinity Wallet * Update Infinity Wallet * Update logos.tsx --------- Co-authored-by: arons1 <[email protected]> Co-authored-by: Lochie Axon <[email protected]>
- Loading branch information
1 parent
3dca685
commit 17a076b
Showing
5 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
packages/connectkit/src/wallets/connectors/infinityWallet.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { WalletProps } from './../wallet'; | ||
|
||
import { isInfinityWallet } from '../../utils'; | ||
import Logos from './../../assets/logos'; | ||
|
||
export const infinityWallet = (): WalletProps => { | ||
const isInstalled = isInfinityWallet(); | ||
|
||
return { | ||
id: 'infinityWallet', | ||
name: 'Infinity Wallet', | ||
logos: { | ||
default: <Logos.InfinityWallet />, | ||
mobile: <Logos.InfinityWallet />, | ||
transparent: <Logos.InfinityWallet />, | ||
appIcon: <Logos.InfinityWallet />, | ||
connectorButton: <Logos.InfinityWallet />, | ||
}, | ||
logoBackground: '#08a1d5', | ||
scannable: false, | ||
downloadUrls: { | ||
download: 'https://infinitywallet.io/download', | ||
website: 'https://infinitywallet.io/download', | ||
chrome: 'https://infinitywallet.io/download', | ||
firefox: 'https://infinitywallet.io/download', | ||
brave: 'https://infinitywallet.io/download', | ||
edge: 'https://infinitywallet.io/download', | ||
}, | ||
installed: Boolean(isInstalled), | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17a076b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
connectkit-vite – ./
connectkit-vite-git-main-lfe.vercel.app
connectkit-vite-lfe.vercel.app
connectkit-vite.vercel.app
17a076b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
connectkit-cra – ./
connectkit-cra.vercel.app
connectkit-cra-git-main-lfe.vercel.app
connectkit-cra-lfe.vercel.app
17a076b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
connectkit-testbench – ./
connectkit-testbench.vercel.app
connectkit-testbench-lfe.vercel.app
connectkit-testbench-git-main-lfe.vercel.app
17a076b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
connectkit-nextjs – ./
connectkit-nextjs-lfe.vercel.app
connectkit-nextjs.vercel.app
connectkit-nextjs-git-main-lfe.vercel.app