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 3b9222e
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 11 deletions.
23 changes: 12 additions & 11 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5297,10 +5297,10 @@
},
{
"id": "cosmos-registry:irisnet",
"displayName": "IRISnet",
"chainId": "irishub-1",
"registryName": "irisnet",
"kind": "Cosmos",
"chainId": "irishub-1",
"displayName": "IRISnet",
"icon": "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
"currencies": [
{
"kind": "native",
Expand All @@ -5315,16 +5315,17 @@
],
"features": [],
"featureObjects": [],
"overrides": "cosmos-registry:irisnet",
"registryName": "irisnet",
"txExplorer": "https://www.mintscan.io/iris/txs/$hash",
"accountExplorer": "https://www.mintscan.io/iris/account/$address",
"contractExplorer": "https://www.mintscan.io/iris/account/$address",
"idPrefix": "irisnet",
"addressPrefix": "iaa",
"txExplorer": "https://app.ezstaking.io/irisnet/txs/$hash",
"accountExplorer": "https://app.ezstaking.io/irisnet/account/$address",
"contractExplorer": "https://app.ezstaking.io/irisnet/account/$address",
"icon": "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
"testnet": false,
"backendEndpoint": "",
"restEndpoint": "https://api-irisnet-ia.cosmosia.notional.ventures/",
"rpcEndpoint": "https://rpc-irisnet-ia.cosmosia.notional.ventures/",
"backendEndpoint": "https://dapp-backend.mainnet.teritori.com",
"addressPrefix": "iaa",
"restEndpoint": "https://api-irisnet-01.stakeflow.io/",
"rpcEndpoint": "https://rpc-irisnet-01.stakeflow.io/",
"stakeCurrency": "uiris",
"gasPriceStep": {
"low": 0.2,
Expand Down
42 changes: 42 additions & 0 deletions packages/networks/IRISnet/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { NetworkKind, NetworkInfo } from "../types";

export const irisNetwork: NetworkInfo = {
id: "cosmos-registry:irisnet",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
kind: NetworkKind.Cosmos,

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
chainId: "irishub-1",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
displayName: "IRISnet",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Replace `····` with `··`
icon: "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
currencies: [

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
{

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Replace `······` with `····`
"kind": "native",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Replace `········"kind"` with `······kind`
"denom": "uiris",

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Replace `········"denom"` with `······denom`
"decimals": 6,

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

View workflow job for this annotation

GitHub Actions / lint-and-build

Replace `··"decimals"` with `decimals`
"variant": "cosmos",
"displayName": "IRIS",
"coingeckoId": "iris-network",
"icon": "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
"color": "TODO"
}
],
features: [],
featureObjects: [],
overrides: "cosmos-registry:irisnet",
registryName: "irisnet",
txExplorer: "https://www.mintscan.io/iris/txs/$hash",
accountExplorer: "https://www.mintscan.io/iris/account/$address",
contractExplorer: "https://www.mintscan.io/iris/account/$address",
idPrefix: "irisnet",
testnet: false,
backendEndpoint: "https://dapp-backend.mainnet.teritori.com",
addressPrefix: "iaa",
restEndpoint: "https://api-irisnet-01.stakeflow.io/",
rpcEndpoint: "https://rpc-irisnet-01.stakeflow.io/",
stakeCurrency: "uiris",
gasPriceStep: {
low: 0.2,
average: 0.3,
high: 0.4
},
nameServiceDefaultImage: "https://raw.githubusercontent.com/cosmos/chain-registry/master/irisnet/images/iris.svg",
cosmosFeatures: []
};
2 changes: 2 additions & 0 deletions packages/networks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ChainInfo, Currency as KeplrCurrency } from "@keplr-wallet/types";
import { bech32 } from "bech32";

import { cosmosNetwork } from "./cosmos-hub";
import { irisNetwork } from "./IRISnet";
import { cosmosThetaNetwork } from "./cosmos-hub-theta";
import { networksFromCosmosRegistry } from "./cosmos-registry";
import { ethereumNetwork } from "./ethereum";
Expand Down Expand Up @@ -39,6 +40,7 @@ export * from "./types";
const packageNetworks = [
teritoriNetwork,
cosmosNetwork,
irisNetwork,
teritoriTestnetNetwork,
teritoriLocalnetNetwork,
cosmosThetaNetwork,
Expand Down

0 comments on commit 3b9222e

Please sign in to comment.