Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "db/seeds/simnet"

Index

Variables

Variables

Const currencies

currencies: { decimalPlaces: number; id: string; swapClient: SwapClientType; tokenAddress?: undefined | string }[] = [{ id: 'BTC', swapClient: SwapClientType.Lnd, decimalPlaces: 8 },{ id: 'LTC', swapClient: SwapClientType.Lnd, decimalPlaces: 8 },{id: 'ETH',swapClient: SwapClientType.Connext,decimalPlaces: 18,tokenAddress: '0x0000000000000000000000000000000000000000',},{id: 'USDT',swapClient: SwapClientType.Connext,decimalPlaces: 6,tokenAddress: '0x6149AA6798a75450EFb0151204513ce197f626Ce',},{id: 'DAI',swapClient: SwapClientType.Connext,decimalPlaces: 18,tokenAddress: '0x69C3d485623bA3f382Fc0FB6756c4574d43C1618',},/*{id: 'XUC',swapClient: SwapClientType.Connext,decimalPlaces: 18,tokenAddress: '0x468ee988fD0228A79f6CcC33fEc04249cdfD809E',},*/] as db.CurrencyAttributes[]

Const nodes

nodes: ({ addresses: Address[]; lastAddress?: Address; nodePubKey: string } & { addressesText: string; banned: boolean; id: number; lastAddress: Address; lastAddressText: string })[] = [{nodePubKey: '03ece33a30db1dbce4b62fa96a5e9541138a24997ef5672eebed2d332270e39542',addresses: [{ host: 'xud1.simnet.exchangeunion.com', port: 28885 },{ host: 'hsfkqybnlkql5fgm3h72mqnrl5rh543hulkp7j6tzs7thq3fznjrkcid.onion', port: 28885 },],},{nodePubKey: '03df4f36fa35bd242263e8d09d6b422108dab1f08d91237bb3aa2dad957cf08a71',addresses: [{ host: 'xud.kilrau.com', port: 28885 },{ host: 'ri3khz45h25dzxh32z2r7f3s2fgque6f77zygtanldio3z3ps3b3s3id.onion', port: 28885 },],},] as db.NodeAttributes[]

Const pairs

pairs: ({ baseCurrency: string; quoteCurrency: string } & { id: string })[] = [// { baseCurrency: 'BTC', quoteCurrency: 'DAI' },{ baseCurrency: 'BTC', quoteCurrency: 'USDT' },{ baseCurrency: 'ETH', quoteCurrency: 'BTC' },// { baseCurrency: 'ETH', quoteCurrency: 'DAI' },// { baseCurrency: 'ETH', quoteCurrency: 'USDT' },{ baseCurrency: 'LTC', quoteCurrency: 'BTC' },// { baseCurrency: 'LTC', quoteCurrency: 'DAI' },// { baseCurrency: 'LTC', quoteCurrency: 'USDT' },{ baseCurrency: 'USDT', quoteCurrency: 'DAI' },// { baseCurrency: 'XUC', quoteCurrency: 'BTC' },// { baseCurrency: 'XUC', quoteCurrency: 'ETH' },// { baseCurrency: 'XUC', quoteCurrency: 'DAI' },// { baseCurrency: 'XUC', quoteCurrency: 'USDT' },] as db.PairAttributes[]

Generated using TypeDoc