Skip to content

Commit

Permalink
feat: add saga chain
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Feb 15, 2024
1 parent 6be11b6 commit d879b66
Show file tree
Hide file tree
Showing 2 changed files with 50 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 @@ -17,6 +17,7 @@ import { odin } from "./odin";
import { osmosis } from "./osmosis";
import { persistence } from "./persistence";
import { provenance } from "./provenance";
import { saga } from "./saga";
import { secret } from "./secret";
import { sei } from "./sei";
import { teritori } from "./teritori";
Expand All @@ -32,6 +33,7 @@ export const testnetChains: CosmosChain[] = [
kujira,
axelar,
sei,
saga,
cosmoshub,
crescent,
fetch,
Expand Down
48 changes: 48 additions & 0 deletions src/config/web3/cosmos/testnet/saga.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { COSMOS_PROXY_RPC_TESTNET } from "~/config/constants";

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

export const saga: CosmosChain = {
chainId: "ssc-testnet-1",
chainName: "Saga",
rpc: `${COSMOS_PROXY_RPC_TESTNET}/chain/saga`,
rest: "https://testnet-ssc.sagarpc.io",
chainIdentifier: "saga",
chainToAxelarChannelId: "channel-9",
explorer: "https://testnet-scan.sagalink.io/address/",
stakeCurrency: {
coinDenom: "TSAGA",
coinMinimalDenom: "utsaga",
coinDecimals: 6,
},
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "saga",
bech32PrefixAccPub: "sagapub",
bech32PrefixValAddr: "sagavaloper",
bech32PrefixValPub: "sagavaloperpub",
bech32PrefixConsAddr: "sagavalcons",
bech32PrefixConsPub: "sagavalconspub",
},
currencies: [
{
coinDenom: "TSAGA",
coinMinimalDenom: "utsaga",
coinDecimals: 6,
},
],
feeCurrencies: [
{
coinDenom: "TSAGA",
coinMinimalDenom: "utsaga",
coinDecimals: 6,
gasPriceStep: {
low: 0,
average: 0,
high: 0,
},
},
],
};

0 comments on commit d879b66

Please sign in to comment.