Skip to content

Commit

Permalink
update chain config (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0lia authored Jun 29, 2024
1 parent 06b06cb commit a6887e0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,11 @@ class ConfigReaderService {
val config: String =
"""
chains:
- id: 168587773
name: blast-sepolia
rpc: "https://blast-sepolia.infura.io/v3"
contract: "0xb3c33b58de859a5e06aff62c9d66319c256218da"
- id: 84532
name: base-sepolia
rpc: "https://sepolia.base.org"
contract: "0xb4eb30e7f583d788a1611f4b7022bdda4bd4af81"
- id: 5611
name: opbnb-testnet-rpc
rpc: "https://opbnb-testnet-rpc.bnbchain.org"
contract: "0x247e2bee76ec31c1a4caaf06600a80ffd6774dd6"
""".trimIndent()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export function LeaderboardCard() {
const [leaderboard, setLeaderboard] = useState<LeaderboardEntry[]>([]);
const { chainId } = useAccount();
const chainBlockExplorerLinks: Record<number, string> = {
5611: "https://opbnb-testnet.bscscan.com/address/",
168587773: "https://testnet.blastscan.io/address/",
// 5611: "https://opbnb-testnet.bscscan.com/address/",
// 168587773: "https://testnet.blastscan.io/address/",
84532: "https://sepolia.basescan.org/address/",
};

Expand Down
24 changes: 12 additions & 12 deletions frontend/src/app/store/configStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,24 +229,24 @@ const chains: ChainConfig[] = [
// "rpc": `https://scroll-sepolia.core.chainstack.com/c02e3ccda5dd045b98b943c1ab129544`,
// "contract": "0x078869dd68d019900098b5b1006951ea7b3f01f2"
// },
{
id: 5611,
name: "opbnb-testnet",
rpc: "https://opbnb-testnet-rpc.publicnode.com",
contract: "0x247e2bee76ec31c1a4caaf06600a80ffd6774dd6",
},
// {
// id: 5611,
// name: "opbnb-testnet",
// rpc: "https://opbnb-testnet-rpc.publicnode.com",
// contract: "0x247e2bee76ec31c1a4caaf06600a80ffd6774dd6",
// },
{
id: 84532,
name: "base-sepolia",
rpc: "https://sepolia.base.org",
contract: "0xb4eb30e7f583d788a1611f4b7022bdda4bd4af81",
},
{
id: 168587773,
name: "blast-sepolia",
rpc: `https://blast-sepolia.infura.io/v3/91f259e2739445678d072c85496b47b7`,
contract: "0xb3c33b58de859a5e06aff62c9d66319c256218da",
},
// {
// id: 168587773,
// name: "blast-sepolia",
// rpc: `https://blast-sepolia.infura.io/v3/91f259e2739445678d072c85496b47b7`,
// contract: "0xb3c33b58de859a5e06aff62c9d66319c256218da",
// },
// {
// "id": 80002,
// "name": "polygon-amoy",
Expand Down

0 comments on commit a6887e0

Please sign in to comment.