make phantom default wallet

This commit is contained in:
Maximilian Schneider 2021-08-09 20:01:56 +02:00
parent 5ad10efdfb
commit cd0c090f81
1 changed files with 6 additions and 6 deletions

View File

@ -6,6 +6,12 @@ const ASSET_URL =
'https://cdn.jsdelivr.net/gh/solana-labs/oyster@main/assets/wallets'
export const WALLET_PROVIDERS = [
{
name: 'Phantom',
url: 'https://www.phantom.app',
icon: `https://www.phantom.app/img/logo.png`,
adapter: PhantomWalletAdapter,
},
{
name: 'Sollet.io',
url: 'https://www.sollet.io',
@ -18,12 +24,6 @@ export const WALLET_PROVIDERS = [
icon: `${ASSET_URL}/sollet.svg`,
adapter: SolletExtensionAdapter as any,
},
{
name: 'Phantom',
url: 'https://www.phantom.app',
icon: `https://www.phantom.app/img/logo.png`,
adapter: PhantomWalletAdapter,
},
]
export const DEFAULT_PROVIDER = WALLET_PROVIDERS[0]