icns-frontend/constants/icns.ts

22 lines
874 B
TypeScript
Raw Normal View History

2022-12-19 13:53:13 +00:00
export const MAIN_CHAIN_ID =
process.env.NEXT_PUBLIC_MAIN_CHAIN_ID ?? "osmo-test-4";
2022-12-14 07:52:05 +00:00
2022-12-19 13:15:49 +00:00
export const REFERRAL_KEY =
process.env.NEXT_PUBLIC_REFERRAL_KEY ?? "icns-referral";
2022-12-15 15:43:18 +00:00
export const RPC_URL =
2022-12-19 12:25:22 +00:00
process.env.NEXT_PUBLIC_OSMOSIS_RPC_URL ?? "https://rpc.testnet.osmosis.zone";
export const REST_URL =
2022-12-19 12:25:22 +00:00
process.env.NEXT_PUBLIC_OSMOSIS_REST_URL ??
"https://lcd.testnet.osmosis.zone";
2022-12-13 14:46:32 +00:00
2022-12-15 15:43:18 +00:00
export const NAME_NFT_ADDRESS =
2022-12-19 12:25:22 +00:00
process.env.NEXT_PUBLIC_ICNS_NAME_NFT_CONTRACT_ADDRESS ??
2022-12-15 15:43:18 +00:00
"osmo1xahnjn872smah6xle8n3z5a5teqq390qr959l805mkuw0kcy8g5smtdagg";
2022-12-13 14:46:32 +00:00
export const REGISTRAR_ADDRESS =
2022-12-19 12:25:22 +00:00
process.env.NEXT_PUBLIC_ICNS_REGISTRAR_CONTRACT_ADDRESS ??
2022-12-13 14:46:32 +00:00
"osmo1npn97g7hsgqlp70rw8nhd7c7vyvkukv9x0n25sn4fk5mgcjlz4gq9zlgf3";
export const RESOLVER_ADDRESS =
2022-12-19 12:25:22 +00:00
process.env.NEXT_PUBLIC_ICNS_RESOLVER_CONTRACT_ADDRESS ??
2022-12-13 14:46:32 +00:00
"osmo1002awr7frr9wk44lc3vfzt0d2w6vz5z03ql6fszjsjy8vdcvk0sskruz3c";