Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions helpers/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const BNB: Currency = {
symbol: "BNB"
}

const MATIC: Currency = {
name: "MATIC",
ticker: "MATIC",
symbol: "MATIC"
}

export const NETWORKS: {
[key: string]: Network;
} = {
Expand Down Expand Up @@ -166,6 +172,15 @@ export const NETWORKS: {
decimals: 18,
explorerURL: "https://bscscan.com/",
rpcUrls: ["https://bscrpc.com"]
},
"0x89": {
id: "137",
name: "Polygon by Ankr Protocol",
key: "polygon",
currency: MATIC,
decimals: 18,
explorerURL: "https://polygonscan.com/",
rpcUrls: ["https://polygon-rpc.com"]
}

};
3 changes: 2 additions & 1 deletion interfaces/enums/network-colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export enum NetworkColors {
diogenes = "#29b6af",
aurelius = "#29b6af",
aurora = "#29b6af",
bsc = "#fbd044"
bsc = "#fbd044",
polygon = "#7950DD"
}