From b494b117786a8ebc6e15e089412c514fa79447d5 Mon Sep 17 00:00:00 2001 From: ardier16 Date: Thu, 22 Feb 2024 15:54:32 +0200 Subject: [PATCH] Migrate to Sepolia --- .env-development | 6 +++--- .env.example | 6 +++--- README.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.env-development b/.env-development index 08f0ceb..228c267 100644 --- a/.env-development +++ b/.env-development @@ -7,8 +7,8 @@ VITE_ISSUER_API_URL=https://issuer.polygon.robotornot.mainnet-beta.rarimo.com VITE_APP_NAME=Identity | dev VITE_CLAIM_OFFER_DELAY=2000 VITE_CLAIM_OFFER_MAX_TRIES_COUNT=40 -VITE_DEFAULT_CHAIN=GOERLI -VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_GOERLI=0x86906AbAAfA7F58Fb4D3125BD1971Fcf04F52CDd +VITE_DEFAULT_CHAIN=SEPOLIA +VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_SEPOLIA=0x862e0673919068efeA3caa4059Bb7a2e03cA3279 VITE_KYC_VERIFICATION_DELAY=1000 VITE_UNSTOPPABLE_DOMAINS_CLIENT_ID=0b5cfed5-ddbb-4f17-83a7-df967204fabc VITE_WORLDCOIN_APP_ID=app_staging_57fb7b672557043bebccf82b2b4ca030 @@ -17,4 +17,4 @@ VITE_COMMUNITY_LINK=https://discord.gg/EcVcxPGaZp VITE_GA_ID=G-6PTZ0C0LN5 VITE_DASHBOARD_LINK=https://dashboard.stage.rarime.com -VITE_SUPPORTED_CHAINS_DETAILS={"GOERLI":{"id":"5","name":"Goerli","rpcUrl":"https://ethereum-goerli.publicnode.com","explorerUrl":"https://goerli.etherscan.io/","token":{"name":"ETH","symbol":"ETH","decimals":18},"type":"EVM","icon":"ethereum"}} +VITE_SUPPORTED_CHAINS_DETAILS={"SEPOLIA":{"id":"11155111","name":"Sepolia","rpcUrl":"https://ethereum-sepolia-rpc.publicnode.com","explorerUrl":"https://sepolia.etherscan.io/","token":{"name":"ETH","symbol":"ETH","decimals":18},"type":"EVM","icon":"ethereum"}} diff --git a/.env.example b/.env.example index 385883d..9329a92 100644 --- a/.env.example +++ b/.env.example @@ -25,9 +25,9 @@ VITE_CLAIM_OFFER_DELAY=1000 # redirect link for success page VITE_EXTERNAL_PLATFORM_REDIRECT_URL=https://galxe.com/ -VITE_DEFAULT_CHAIN=GOERLI -VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_GOERLI= -VITE_IDENTITY_VERIFIER_CONTRACT_ADDRESS_GOERLI= +VITE_DEFAULT_CHAIN=SEPOLIA +VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_SEPOLIA= +VITE_IDENTITY_VERIFIER_CONTRACT_ADDRESS_SEPOLIA= VITE_SUPPORTED_CHAINS_DETAILS= diff --git a/README.md b/README.md index 8d9e466..e58f3cc 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ VITE_LIGHTWEIGHT_STATE_V2_CONTRACT_ADDRESS_[VITE_DEFAULT_CHAIN_VALUE]=0x00000000 To update variables in deployed app - setup .env variables from .env.example to [env.js](./static/env.js) but in `JSON` format, and change `VITE_` prefix to `VITE_APP` ```js document.ENV = document.ENV || Object.freeze({ - VITE_DEFAULT_CHAIN: "GOERLI", - VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_GOERLI: "0x...", - VITE_IDENTITY_VERIFIER_CONTRACT_ADDRESS_GOERLI: "0x...", + VITE_DEFAULT_CHAIN: "SEPOLIA", + VITE_IDENTITY_SBT_VERIFIER_CONTRACT_ADDRESS_SEPOLIA: "0x...", + VITE_IDENTITY_VERIFIER_CONTRACT_ADDRESS_SEPOLIA: "0x...", ..., }) ```