@sky-mavis/tanto-connect
Version:
Tanto Connect
17 lines • 862 B
JavaScript
import {ChainIds}from'./chain.mjs';const RONIN_WALLET_RDNS = 'com.roninchain.wallet';
const DEFAULT_DELAY_TIME = 700;
const WAYPOINT_ORIGIN_STAGING = 'https://id.skymavis.one';
const WC_SUPPORTED_CHAIN_IDS = [ChainIds.RoninMainnet, ChainIds.RoninTestnet];
const WC_RPC_MAP = {
[]: 'https://api.roninchain.com/rpc',
[]: 'https://saigon-testnet.roninchain.com/rpc',
};
const WC_CAIP_CHAIN = 'eip155';
const WC_SUPPORTED_METHODS = [
'eth_sendTransaction',
'eth_sign',
'personal_sign',
'eth_signTypedData',
'eth_signTypedData_v4',
];
const WC_SUPPORTED_OPTIONAL_METHODS = ['eth_accounts', 'eth_requestAccounts'];export{DEFAULT_DELAY_TIME,RONIN_WALLET_RDNS,WAYPOINT_ORIGIN_STAGING,WC_CAIP_CHAIN,WC_RPC_MAP,WC_SUPPORTED_CHAIN_IDS,WC_SUPPORTED_METHODS,WC_SUPPORTED_OPTIONAL_METHODS};