Skip to content

Commit

Permalink
feat: updated api urls for all envs
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshirrrcat committed Mar 1, 2024
1 parent d54fef7 commit 9ec81ad
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "@electra.finance/sdk",
"version": "0.1.57-rc2",
"version": "0.1.57-rc3",
"description": "Electra finance SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
132 changes: 66 additions & 66 deletions src/config/envs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"referralAPI": "https://electra.finance/referral-api",
"networks": {
"1": {
"api": "https://cfd-eth.electra.finance",
"api": "https://electra.finance/eth-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -19,7 +19,7 @@
}
},
"56": {
"api": "https://cfd-bsc.electra.finance",
"api": "https://electra.finance/bsc-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -34,7 +34,7 @@
}
},
"250": {
"api": "https://cfd-ftm.electra.finance",
"api": "https://electra.finance/ftm-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -49,7 +49,7 @@
}
},
"137": {
"api": "https://cfd-polygon.electra.finance",
"api": "https://electra.finance/polygon-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -64,7 +64,7 @@
}
},
"66": {
"api": "https://cfd-okc.electra.finance",
"api": "https://electra.finance/okc-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -77,35 +77,35 @@
"all": "/price-feed"
}
}
},
"2525": {
"api": "https://cfd-inevm.electra.finance/",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
},
"2525": {
"api": "https://electra.finance/inevm-mainnet",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
},
"59144": {
"api": "https://cfd-linea.electra.finance/",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
},
"59144": {
"api": "https://electra.finance/linea-mainnet",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
}
Expand Down Expand Up @@ -211,7 +211,7 @@
"referralAPI": "https://staging.electra.finance/referral-api",
"networks": {
"1": {
"api": "https://staging.electra.finance",
"api": "https://staging.electra.finance/eth-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -226,7 +226,7 @@
}
},
"56": {
"api": "https://staging-bsc.electra.finance",
"api": "https://staging.electra.finance/bsc-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -241,7 +241,7 @@
}
},
"250": {
"api": "https://staging-ftm.electra.finance",
"api": "https://staging.electra.finance/ftm-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -256,7 +256,7 @@
}
},
"137": {
"api": "https://staging-polygon.electra.finance",
"api": "https://staging.electra.finance/polygon-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -271,7 +271,7 @@
}
},
"66": {
"api": "https://staging-okc.electra.finance",
"api": "https://staging.electra.finance/okc-mainnet",
"services": {
"aggregator": {
"http": "/backend",
Expand All @@ -284,35 +284,35 @@
"all": "/price-feed"
}
}
},
"2525": {
"api": "https://cfd-inevm.electra.finance/",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
},
"2525": {
"api": "https://staging.electra.finance/inevm-mainnet",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
},
"59144": {
"api": "https://cfd-linea.electra.finance/",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
},
"59144": {
"api": "https://staging.electra.finance/linea-mainnet",
"services": {
"aggregator": {
"http": "/backend",
"ws": "/v1"
},
"blockchain": {
"http": ""
},
"priceFeed": {
"all": "/price-feed"
}
}
}
Expand Down

0 comments on commit 9ec81ad

Please sign in to comment.