config.ts
1 // @todo: update these with our contract 2 export const dappConfig = { 3 CONTRACT_NAME: 'PSM', 4 INSTANCE_PREFIX: ':published.psm.IST.', 5 INSTANCES_KEY: ':published.agoricNames.instance', 6 DAPP_PETNAME: 'LARI Finance UI', 7 }; 8 9 export const networkConfigs = { 10 mainnet: { 11 label: 'Agoric Mainnet', 12 url: 'https://main.agoric.net/network-config', 13 }, 14 testnet: { 15 label: 'Agoric Testnet', 16 url: 'https://testnet.agoric.net/network-config', 17 }, 18 devnet: { 19 label: 'Agoric Devnet', 20 url: 'https://devnet.agoric.net/network-config', 21 }, 22 ollinet: { 23 label: 'Agoric Ollinet', 24 url: 'https://ollinet.agoric.net/network-config', 25 }, 26 emerynet: { 27 label: 'Agoric Emerynet', 28 url: 'https://emerynet.agoric.net/network-config', 29 }, 30 localhost: { 31 label: 'Local Network', 32 url: 'http://127.0.0.1:3000/wallet/network-config', 33 }, 34 }; 35 36 export const prodBridgeHref = 'https://wallet.agoric.app/wallet/bridge.html'; 37 export const localBridgeHref = 'http://localhost:3000/wallet/bridge.html'; 38 export const branchBridgeHref = (branchName: string) => 39 `https://${branchName}.wallet-app.pages.dev/wallet/bridge.html`; 40 41 export const signerTarget = 'wallet';