Skip to content

Commit

Permalink
Add Superposition chain (#13100)
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x authored Jan 15, 2025
2 parents 9876f5a + 4e103f7 commit b871a90
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions projects/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
"step",
"stride",
"sui",
"superpositionso",
"svm",
"swellchain",
"sx",
Expand Down
1 change: 1 addition & 0 deletions projects/helper/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const DEFAULTS = {
FLOW_RPC: "https://rest-mainnet.onflow.org",
SONEIUM_RPC: "https://rpc.soneium.org",
SONEIUM_RPC_MULTICALL: "0xcA11bde05977b3631167028862bE2a173976CA11",
SUPERPOSITION_RPC: "https://rpc.superposition.so"
}

const ENV_KEYS = [
Expand Down
17 changes: 12 additions & 5 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ const fixBalancesTokens = {
ozone: {
// '0x83048f0bf34feed8ced419455a4320a735a92e9d': { coingeckoId: "ozonechain", decimals: 18 }, // was mapped to wrong chain
},
water: {
water: {
'0xC807C5FfFf748eF435Ddb99b181846Edd1e70041': { coingeckoId: "water-3", decimals: 18 },
},
bittorrent: {
bittorrent: {
[ADDRESSES.null]: { coingeckoId: "bittorrent", decimals: 18 },
},
dymension: {
dymension: {
[ADDRESSES.null]: { coingeckoId: "dymension", decimals: 18 },
},
energyweb: {
energyweb: {
[ADDRESSES.null]: { coingeckoId: "energy-web-token", decimals: 18 },
},
etn: {
etn: {
[ADDRESSES.null]: { coingeckoId: "electroneum", decimals: 18 },
},
kopi: {
Expand Down Expand Up @@ -101,6 +101,13 @@ const fixBalancesTokens = {
'0x3A337a6adA9d885b6Ad95ec48F9b75f197b5AE35': { coingeckoId: 'tether', decimals: 6 },
'0x2cae934a1e84f693fbb78ca5ed3b0a6893259441': { coingeckoId: 'astar', decimals: 18 },
},
superpositionso: {
[ADDRESSES.null]: { coingeckoId: 'ethereum', decimals: 18 },
'0x1fB719f10b56d7a85DCD32f27f897375fB21cfdd': { coingeckoId: 'ethereum', decimals: 18 },
'0xA2555701754464d32D9624149E3fDb459F3c8DE4': { coingeckoId: 'arbitrum', decimals: 18 },
'0x80eFAD50D395671C13C4b1FA2969f7a7Aa9EF7b3': { coingeckoId: 'fluidity-money', decimals: 18 },
'0x6e142cdaefa4ba7786e8d1ff74968db67c3b910d': { coingeckoId: 'wrapped-bitcoin', decimals: 8 },
},
odyssey: {
[ADDRESSES.null]: { coingeckoId: 'dione', decimals: 18 },
'0xf21cbaf7bd040d686bd390957770d2ea652e4013': { coingeckoId: 'dione', decimals: 18 },
Expand Down

0 comments on commit b871a90

Please sign in to comment.