icns-frontend/constants/icns.ts
2022-12-19 22:53:13 +09:00

22 lines
874 B
TypeScript

export const MAIN_CHAIN_ID =
process.env.NEXT_PUBLIC_MAIN_CHAIN_ID ?? "osmo-test-4";
export const REFERRAL_KEY =
process.env.NEXT_PUBLIC_REFERRAL_KEY ?? "icns-referral";
export const RPC_URL =
process.env.NEXT_PUBLIC_OSMOSIS_RPC_URL ?? "https://rpc.testnet.osmosis.zone";
export const REST_URL =
process.env.NEXT_PUBLIC_OSMOSIS_REST_URL ??
"https://lcd.testnet.osmosis.zone";
export const NAME_NFT_ADDRESS =
process.env.NEXT_PUBLIC_ICNS_NAME_NFT_CONTRACT_ADDRESS ??
"osmo1xahnjn872smah6xle8n3z5a5teqq390qr959l805mkuw0kcy8g5smtdagg";
export const REGISTRAR_ADDRESS =
process.env.NEXT_PUBLIC_ICNS_REGISTRAR_CONTRACT_ADDRESS ??
"osmo1npn97g7hsgqlp70rw8nhd7c7vyvkukv9x0n25sn4fk5mgcjlz4gq9zlgf3";
export const RESOLVER_ADDRESS =
process.env.NEXT_PUBLIC_ICNS_RESOLVER_CONTRACT_ADDRESS ??
"osmo1002awr7frr9wk44lc3vfzt0d2w6vz5z03ql6fszjsjy8vdcvk0sskruz3c";