forked from rango-exchange/rango-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
40 lines (36 loc) · 1.06 KB
/
Copy pathconstants.ts
File metadata and controls
40 lines (36 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import type { ProviderMetadata } from '@rango-dev/wallets-core';
import type { BlockchainMeta } from 'rango-types';
import { xrplBlockchain } from 'rango-types';
import getSigners from './signer.js';
export const XRPL_PUBLIC_SERVER = 'wss://xrplcluster.com/';
export const WALLET_ID = 'gemwallet';
export const info: ProviderMetadata = {
name: 'GemWallet',
icon: 'https://raw.githubusercontent.com/rango-exchange/assets/main/wallets/gemwallet/icon.svg',
extensions: {
chrome:
'https://chromewebstore.google.com/detail/gemwallet/egebedonbdapoieedfcfkofloclfghab',
homepage: 'https://gemwallet.app/',
},
properties: [
{
name: 'namespaces',
value: {
selection: 'multiple',
data: [
{
label: 'XRPL',
value: 'XRPL',
id: 'XRPL',
getSupportedChains: (allBlockchains: BlockchainMeta[]) =>
xrplBlockchain(allBlockchains),
},
],
},
},
{
name: 'signers',
value: { getSigners: async () => getSigners() },
},
],
};