Skip to content

Commit

Permalink
add fuji testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Apr 22, 2024
1 parent 44d635a commit 725d4f5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .env-development
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ VITE_WORLDCOIN_APP_ID=app_staging_bd301ed345395d5c4021e590a682ed3c

VITE_RARIMO_CORE_API_URL='https://worldcoin.relayer.mainnet-beta.rarimo.com'

VITE_SEMAPHORE_VERIFIER_CONTRACT_ADDRESS_POLYGON_TESTNET='0x30Cb7805aC7e7dd20Ccb2601f02A9951bC3Ec3a1'
VITE_IDENTITY_MANAGER_CONTRACT_ADDRESS_POLYGON_TESTNET='0xEC503177a19bFFd325f4D4f21080Fb7D1bf6624E'
VITE_DEFAULT_CHAIN='POLYGON_TESTNET'
VITE_SEMAPHORE_VERIFIER_CONTRACT_ADDRESS_FUJI='0x0b3bF6da243fA96Bc859754B4fE1614E9c91Ad5E'
VITE_IDENTITY_MANAGER_CONTRACT_ADDRESS_FUJI='0xE5B74274072D9159b79593db3Ca7939e693F2FB5'
VITE_DEFAULT_CHAIN='FUJI'
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ VITE_RARIMO_CORE_API_URL=

VITE_SEMAPHORE_VERIFIER_CONTRACT_ADDRESS_POLYGON_TESTNET=
VITE_IDENTITY_MANAGER_CONTRACT_ADDRESS_POLYGON_TESTNET=
VITE_DEFAULT_CHAIN=SEPOLIA
VITE_DEFAULT_CHAIN=POLYGON_TESTNET
13 changes: 13 additions & 0 deletions src/assets/fallback-supported-chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
"type": "EVM",
"icon": "avalanche"
},
"FUJI": {
"id": "43113",
"name": "Avalance Fuji Testnet",
"rpcUrl": "https://avalanche-fuji-c-chain-rpc.publicnode.com",
"explorerUrl": "https://testnet.snowtrace.io",
"token": {
"name": "AVAX",
"symbol": "AVAX",
"decimals": 18
},
"type": "EVM",
"icon": "avalanche"
},
"SEPOLIA": {
"id": "11155111",
"name": "Sepolia",
Expand Down
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const RELAYER_RELAY_CHAIN_NAMES: Record<SUPPORTED_CHAINS, string> = {
ARBITRUM: 'Arbitrum',
XDC: 'Xdc',
AVALANCHE: 'Avalanche',
FUJI: 'Fuji',
}

export const config: {
Expand Down

0 comments on commit 725d4f5

Please sign in to comment.