-
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.
feat: Add TokenPocket Wallet support
- Loading branch information
1 parent
00716ee
commit 7a9f892
Showing
5 changed files
with
70 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
27 changes: 27 additions & 0 deletions
27
packages/connectkit/src/wallets/connectors/tokenPocket.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,27 @@ | ||
import { WalletProps } from '../wallet'; | ||
|
||
import { isTokenPocket } from '../../utils'; | ||
import Logos from '../../assets/logos'; | ||
|
||
export const tokenPocket = (): WalletProps => { | ||
const isInstalled = isTokenPocket(); | ||
|
||
return { | ||
id: 'tokenPocket', | ||
name: 'TokenPocket Wallet', | ||
logos: { | ||
default: <Logos.TokenPocket /> | ||
}, | ||
logoBackground: '#2980FE', | ||
scannable: false, | ||
downloadUrls: { | ||
website: 'https://www.tokenpocket.pro/en/download/app', | ||
download: 'https://www.tokenpocket.pro/en/download/app', | ||
android: 'https://play.google.com/store/apps/details?id=vip.mytokenpocket', | ||
ios: 'https://apps.apple.com/us/app/tp-global-wallet/id6444625622', | ||
chrome: | ||
'https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii', | ||
}, | ||
installed: 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