Skip to content

Commit

Permalink
Update index.ts (#226)
Browse files Browse the repository at this point in the history
* Update index.ts

Signed-off-by: TwiceBurnt <[email protected]>

* Create stale-crabs-search.md

Signed-off-by: Justin <[email protected]>

* Update stale-crabs-search.md

Signed-off-by: Justin <[email protected]>

---------

Signed-off-by: TwiceBurnt <[email protected]>
Signed-off-by: Justin <[email protected]>
Co-authored-by: Justin <[email protected]>
  • Loading branch information
2xburnt and justinbarry authored Oct 7, 2024
1 parent 387c49c commit 147c8db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-crabs-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@burnt-labs/constants": patch
---

Update index.ts to use our rpc domain
10 changes: 5 additions & 5 deletions packages/constants/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export const mainnetChainInfo: ChainInfo = {

export const testnetChainInfo: ChainInfo = {
...commonInfo,
rpc: "https://testnet-rpc.xion-api.com:443",
rest: "https://testnet-api.xion-api.com:443",
rpc: "https://rpc.xion-testnet-1.burnt.com:443",
rest: "https://api.xion-testnet-1.burnt.com:443",
chainId: "xion-testnet-1",
chainName: "XION Testnet",
};
Expand All @@ -102,13 +102,13 @@ export const testChainInfo: ChainInfo = {

// If mainnet chain-id/network changes be sure to update here.
const DASHBOARD_URLS = {
"xion-mainnet-1": "https://settings.burnt.com",
"xion-testnet-1": "https://testnet.settings.burnt.com",
"xion-mainnet-1": "https://settings.mainnet.burnt.com",
"xion-testnet-1": "https://settings.testnet.burnt.com",
};

const REST_URLS = {
"xion-mainnet-1": "https://api.xion-mainnet-1.burnt.com:443",
"xion-testnet-1": "https://testnet-api.xion-api.com:443",
"xion-testnet-1": "https://api.xion-testnet-1.burnt.com:443",
};

export async function fetchConfig(rpcUrl: string) {
Expand Down

0 comments on commit 147c8db

Please sign in to comment.