Skip to content

Commit

Permalink
Added support for ethereum classic mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
a-singh09 committed Aug 1, 2024
1 parent 3c24c12 commit d10b823
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
12 changes: 6 additions & 6 deletions env/ethereum-classic.env
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
###############
# APPLICATION #
###############
REACT_APP_BLOCKCHAIN_URI= TODO https://rpc.mordor.etccooperative.org
REACT_APP_CHAIN_ID= TODO
REACT_APP_DJED_ADDRESS= TODO
REACT_APP_BLOCKCHAIN_URI=https://etc.rivet.link
REACT_APP_CHAIN_ID=61
REACT_APP_DJED_ADDRESS=0x847CceD1eF8Dde95FaB8Eb11B281aAA23Dd014D6
REACT_APP_FEE_UI=0
REACT_APP_UI=0x0249a1a7778BD203206d1B7b614fB35Ce7f8F285
REACT_APP_EXPLORER= TODO https://etc-mordor.blockscout.com/
REACT_APP_EXPLORER=https://blockscout.com/etc/mainnet/
REACT_APP_BC=Ethereum Classic
REACT_APP_PROTOCOL_CHAIN_DESCRIPTION=Ethereum Classic is the original Ethereum blockchain, maintaining its history untampered and immutable, and upholding the principle that "code is law". Ethereum Classic's native currency is ETC
REACT_APP_CHAIN_COIN=ETC
Expand All @@ -15,8 +15,8 @@ REACT_APP_SC_SYMBOL=ECSD
REACT_APP_RC_NAME=Ethereum Classic Reserve Surplus Share
REACT_APP_RC_SYMBOL=ECRS
REACT_APP_LIMIT_PER_TXN=10000
REACT_APP_EVM_RESERVECOIN_ADDRESS= TODO 0x8d2C17FAd02B7bb64139109c6533b7C2b9CADb81
REACT_APP_EVM_STABLECOIN_ADDRESS= TODO 0xffD4505B3452Dc22f8473616d50503bA9E1710Ac
REACT_APP_EVM_RESERVECOIN_ADDRESS=0x8d2C17FAd02B7bb64139109c6533b7C2b9CADb81
REACT_APP_EVM_STABLECOIN_ADDRESS=0xffD4505B3452Dc22f8473616d50503bA9E1710Ac

# Color Theme
REACT_APP_GRADIENT_THEME='gradient-theme-7'
Expand Down
21 changes: 21 additions & 0 deletions src/utils/web3/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,26 @@ export const supportedChains = [
url: "https://etc-mordor.blockscout.com/"
}
}
},
{
id: 61,
name: "Ethereum Classic Mainnet",
network: "Ethereum Classic Mainnet",
nativeCurrency: {
name: "ETC",
symbol: "ETC",
decimals: 18
},
rpcUrls: {
public: { http: ["https://etc.rivet.link"] },
default: { http: ["https://etc.rivet.link"] }
},
blockExplorers: {
etherscan: { name: "", url: "" },
default: {
name: "Blockscout",
url: "https://blockscout.com/etc/mainnet/"
}
}
}
];

0 comments on commit d10b823

Please sign in to comment.