Skip to content

Commit

Permalink
fix: update Irisnet RPC endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Villaquiranm committed Nov 15, 2024
1 parent 2a5c839 commit cf26185
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14967,4 +14967,4 @@
},
"cosmosFeatures": []
}
]
]
16 changes: 16 additions & 0 deletions packages/networks/IRISnet/currencies.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { CurrencyInfo } from "../types";

export const cosmosHubCurrencies: CurrencyInfo[] = [
{
denom: "uiris",
displayName: "IRIS",
decimals: 6,
variant: "cosmos",
coingeckoId: "iris-network",
icon: "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
kind: "native",
color: "TODO",
},
];

Check failure on line 15 in packages/networks/IRISnet/currencies.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `⏎⏎`

30 changes: 30 additions & 0 deletions packages/networks/IRISnet/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { cosmosHubCurrencies } from "./currencies";
import { NetworkKind, NetworkInfo } from "../types";

export const cosmosNetwork: NetworkInfo = {
id: "IRISnet",
kind: NetworkKind.Cosmos,
chainId: "irishub-1",
displayName: "IRISnet",
icon: "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
features: [],
currencies: cosmosHubCurrencies,
overrides: "cosmos-registry:irisnet",
registryName: "irisnet",
txExplorer: "https://app.ezstaking.io/irisnet/txs/$hash",
accountExplorer: "https://app.ezstaking.io/irisnet/account/$address",

Check failure on line 15 in packages/networks/IRISnet/index.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `↹·`
contractExplorer: "https://app.ezstaking.io/irisnet/account/$address",
idPrefix: "irisnet",
testnet: false,
backendEndpoint: "https://dapp-backend.mainnet.teritori.com",
addressPrefix: "cosmos",
restEndpoint: "https://rpc-irisnet-01.stakeflow.io/",
rpcEndpoint: "https://rpc-irisnet-01.stakeflow.io/",

Check failure on line 22 in packages/networks/IRISnet/index.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `↹··`
stakeCurrency: "uiris",
gasPriceStep: {
low: 0.2,
average: 0.3,
high: 0.4,
},
cosmosFeatures: [],// Removed this

Check failure on line 29 in packages/networks/IRISnet/index.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Insert `·`
};

0 comments on commit cf26185

Please sign in to comment.