Skip to content

Commit

Permalink
Merge pull request #13 from sajanrajdev/fix-url
Browse files Browse the repository at this point in the history
Update Gnosis Safe API endpoint for all chains
  • Loading branch information
gosuto-inzasheru committed Jun 29, 2023
2 parents 48b3745 + 56ba507 commit b5818ea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ const {getAddress} = require("@ethersproject/address");
const NETWORK = {
"mainnet": {
CHAINID: 1,
TX_SERVICE_BASE_URL: "https://safe-transaction.mainnet.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-mainnet.safe.global",
},
"rinkeby": {
CHAINID: 4,
TX_SERVICE_BASE_URL: "https://safe-transaction.rinkeby.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-rinkeby.safe.global",
},
"goerli": {
CHAINID: 5,
TX_SERVICE_BASE_URL: "https://safe-transaction.goerli.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-goerli.safe.global",
},
"xdai": {
CHAINID: 100,
TX_SERVICE_BASE_URL: "https://safe-transaction.xdai.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-gnosis-chain.safe.global",
},
"matic": {
CHAINID: 137,
TX_SERVICE_BASE_URL: "https://safe-transaction.polygon.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-polygon.safe.global",
},
"binance": {
CHAINID: 56,
TX_SERVICE_BASE_URL: "https://safe-transaction.bsc.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-bsc.safe.global",
},
"arbitrum": {
CHAINID: 42161,
TX_SERVICE_BASE_URL: "https://safe-transaction.arbitrum.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-arbitrum.safe.global",
},
"fantom": {
CHAINID: 250,
Expand All @@ -36,7 +36,7 @@ const NETWORK = {
},
"optimism": {
CHAINID: 10,
TX_SERVICE_BASE_URL: "https://safe-transaction.optimism.gnosis.io",
TX_SERVICE_BASE_URL: "https://safe-transaction-optimism.safe.global",
}
}

Expand Down

0 comments on commit b5818ea

Please sign in to comment.