diff --git a/packages/config/package.json b/packages/config/package.json index b2b63ac9..a9de3ce4 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@unstoppabledomains/config", - "version": "0.0.14", + "version": "0.0.16", "private": true, "description": "Configuration variables for Unstoppable Domains environments", "homepage": "https://github.com/unstoppabledomains/domain-profiles#readme", diff --git a/packages/config/src/env/default.ts b/packages/config/src/env/default.ts index 68ff9565..a06378ae 100644 --- a/packages/config/src/env/default.ts +++ b/packages/config/src/env/default.ts @@ -17,9 +17,9 @@ export default function getDefaultConfig(): Config { DISABLE_CONTRACTS_CACHE: true, }, ETH: { - CHAIN_ID: 5, - NETWORK_NAME: 'goerli', // testnet - JSON_RPC_API_URL: `https://goerli.infura.io/v3/a58ebb0c76a64c149e35145f85f82382`, + CHAIN_ID: 11155111, + NETWORK_NAME: 'sepolia', // testnet + JSON_RPC_API_URL: `https://sepolia.infura.io/v3/467fd78247874d7e87d34c04fdd09bbb`, BLOCK_EXPLORER_NAME: 'oklink', BLOCK_EXPLORER_BASE_URL: 'https://www.oklink.com/sepolia-test', BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/sepolia-test/tx/', @@ -32,7 +32,7 @@ export default function getDefaultConfig(): Config { CHAIN_ID: 80002, NETWORK_NAME: 'amoy', // testnet JSON_RPC_API_URL: - 'https://polygon-amoy.infura.io/v3/a58ebb0c76a64c149e35145f85f82382', + 'https://polygon-amoy.infura.io/v3/467fd78247874d7e87d34c04fdd09bbb', BLOCK_EXPLORER_NAME: 'oklink', BLOCK_EXPLORER_BASE_URL: 'https://www.oklink.com/amoy', BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/amoy/tx/', @@ -44,7 +44,7 @@ export default function getDefaultConfig(): Config { CHAIN_ID: 8453, NETWORK_NAME: 'base', JSON_RPC_API_URL: - 'https://base-mainnet.infura.io/v3/a58ebb0c76a64c149e35145f85f82382', + 'https://base-mainnet.infura.io/v3/467fd78247874d7e87d34c04fdd09bbb', BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/base/tx/', BLOCK_EXPLORER_NAME: 'oklink', BLOCK_EXPLORER_BASE_URL: 'https://www.oklink.com/base', diff --git a/packages/config/src/env/production.ts b/packages/config/src/env/production.ts index 23c870c4..9fb5d4b3 100644 --- a/packages/config/src/env/production.ts +++ b/packages/config/src/env/production.ts @@ -20,7 +20,7 @@ export default function getProductionConfig(): ConfigOverride { CHAIN_ID: 1, NETWORK_NAME: 'mainnet', JSON_RPC_API_URL: - 'https://mainnet.infura.io/v3/4458cf4d1689497b9a38b1d6bbf05e78', + 'https://mainnet.infura.io/v3/467fd78247874d7e87d34c04fdd09bbb', BLOCK_EXPLORER_BASE_URL: 'https://etherscan.io', PROXY_READER_ADDRESS: '0xc3C2BAB5e3e52DBF311b2aAcEf2e40344f19494E', OPEN_SEA_BASE_URL: 'https://opensea.io/assets/', @@ -30,7 +30,7 @@ export default function getProductionConfig(): ConfigOverride { CHAIN_ID: 137, NETWORK_NAME: 'polygon-mainnet', JSON_RPC_API_URL: - 'https://polygon-mainnet.infura.io/v3/4458cf4d1689497b9a38b1d6bbf05e78', + 'https://polygon-mainnet.infura.io/v3/467fd78247874d7e87d34c04fdd09bbb', BLOCK_EXPLORER_BASE_URL: 'https://polygonscan.com', PROXY_READER_ADDRESS: '0xA3f32c8cd786dc089Bd1fC175F2707223aeE5d00', OPEN_SEA_BASE_URL: 'https://opensea.io/assets/matic/', diff --git a/packages/config/src/env/types.ts b/packages/config/src/env/types.ts index c1169ccb..3f56eee7 100644 --- a/packages/config/src/env/types.ts +++ b/packages/config/src/env/types.ts @@ -19,8 +19,8 @@ export type ZilliqaBlockchainConfig = BaseBlockchainConfig & { }; export type EthereumBlockchainConfig = BaseBlockchainConfig & { - CHAIN_ID: 5 | 1 | 1337; - NETWORK_NAME: 'goerli' | 'mainnet' | 'local'; + CHAIN_ID: 5 | 1 | 1337 | 11155111; + NETWORK_NAME: 'goerli' | 'sepolia' | 'mainnet' | 'local'; PROXY_READER_ADDRESS: string; ENS_CONTRACT_ADDRESS: string; OPEN_SEA_BASE_URL: diff --git a/packages/ui-components/src/lib/types/nfts.ts b/packages/ui-components/src/lib/types/nfts.ts index 38668073..59877272 100644 --- a/packages/ui-components/src/lib/types/nfts.ts +++ b/packages/ui-components/src/lib/types/nfts.ts @@ -3,6 +3,7 @@ import type {SerializedDomainMarket} from './domain'; export enum Network { Mainnet = '1', Goerli = '5', + Sepolia = '11155111', Polygon = '137', Amoy = '80002', Binance = '56',