Skip to content

Commit

Permalink
feat: add ojo
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Feb 15, 2024
1 parent d879b66 commit ff420c7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/web3/cosmos/testnet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { haqq } from "./haqq";
import { kujira } from "./kujira";
import { neutron } from "./neutron";
import { odin } from "./odin";
import { ojo } from "./ojo";
import { osmosis } from "./osmosis";
import { persistence } from "./persistence";
import { provenance } from "./provenance";
Expand Down Expand Up @@ -43,6 +44,7 @@ export const testnetChains: CosmosChain[] = [
burnt,
acrechain,
odin,
ojo,
secret,
neutron,
teritori,
Expand Down
45 changes: 45 additions & 0 deletions src/config/web3/cosmos/testnet/ojo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { Bech32Address } from "@keplr-wallet/cosmos";

import { COSMOS_PROXY_RPC_TESTNET } from "~/config/constants";

import { CosmosChain } from "../interface";

export const ojo: CosmosChain = {
rpc: `${COSMOS_PROXY_RPC_TESTNET}/chain/ojo`,
rest: "https://api.ditto-val-stage-0.ojo.network/",
chainId: "agamotto",
chainName: "Ojo",
chainIdentifier: "ojo",
stakeCurrency: {
coinDenom: "OJO",
coinMinimalDenom: "uojo",
coinDecimals: 6,
coinGeckoId: "ojo",
},
bech32Config: Bech32Address.defaultBech32Config("ojo"),
bip44: { coinType: 60 },
currencies: [
{
coinDenom: "OJO",
coinMinimalDenom: "uojo",
coinDecimals: 6,
coinGeckoId: "ojo",
},
],
feeCurrencies: [
{
coinDenom: "OJO",
coinMinimalDenom: "uojo",
coinDecimals: 6,
coinGeckoId: "ojo",
gasPriceStep: {
low: 0,
average: 0,
high: 0,
},
},
],
features: ["stargate", "no-legacy-stdTx", "ibc-transfer"],
chainToAxelarChannelId: "channel-1",
explorer: "https://agamotto.ojo.network/agamotto/account/",
};

0 comments on commit ff420c7

Please sign in to comment.