Skip to content

Commit

Permalink
Android side
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Aug 23, 2024
1 parent 31f5b75 commit e1d271e
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions example/dapp/lib/utils/sample_wallets.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import 'dart:io';

class WCSampleWallets {
static final List<Map<String, dynamic>> sampleWallets = [
{
'name': 'Swift Wallet',
'platform': ['ios'],
'id': '123456789012345678901234567890',
'schema': 'walletapp://',
'bundleId': 'com.walletconnect.sample.wallet',
'universal': 'https://lab.web3modal.com/wallet',
},
{
'name': 'Flutter Wallet',
'platform': ['ios', 'android'],
'id': '123456789012345678901234567891',
'schema': 'wcflutterwallet://',
'bundleId': 'com.walletconnect.flutterwallet',
'universal': 'https://lab.web3modal.com/flutter_walletkit',
},
{
'name': 'Flutter Wallet (internal)',
'platform': ['ios', 'android'],
'id': '123456789012345678901234567895',
'schema': 'wcflutterwallet-internal://',
'bundleId': 'com.walletconnect.flutterwallet.internal',
'universal': 'https://dev.lab.web3modal.com/flutter_walletkit_internal',
},
{
'name': 'RN Wallet',
'platform': ['ios', 'android'],
'id': '123456789012345678901234567892',
'schema': 'rn-web3wallet://',
'bundleId': 'com.walletconnect.web3wallet.rnsample',
'universal': 'https://lab.web3modal.com/rn_walletkit',
},
{
'name': 'RN Wallet (internal)',
'platform': ['ios', 'android'],
'id': '1234567890123456789012345678922',
'schema': 'rn-web3wallet://',
'bundleId': 'com.walletconnect.web3wallet.rnsample.internal',
'universal': 'https://lab.web3modal.com/rn_walletkit',
},
{
'name': 'Kotlin Wallet',
'platform': ['android'],
'id': '123456789012345678901234567893',
'schema': 'kotlin-web3wallet://',
'bundleId': 'com.walletconnect.sample.wallet',
'universal':
'https://web3modal-laboratory-git-chore-kotlin-assetlinks-walletconnect1.vercel.app/wallet_release',
},
{
'name': 'Kotlin Wallet (Internal)',
'platform': ['android'],
'id': '123456789012345678901234567894',
'schema': 'kotlin-web3wallet://',
'bundleId': 'com.walletconnect.sample.wallet.internal',
'universal':
'https://web3modal-laboratory-git-chore-kotlin-assetlinks-walletconnect1.vercel.app/wallet_internal',
},
];

static List<Map<String, dynamic>> getSampleWallets() {
return sampleWallets.where((e) {
return (e['platform'] as List<String>).contains(Platform.operatingSystem);
}).toList();
}
}

0 comments on commit e1d271e

Please sign in to comment.