Export token denom

This commit is contained in:
Prathamesh Musale 2024-08-01 09:31:50 +05:30
parent 147348cf1d
commit 798ed712b3
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1,2 @@
export const DENOM = 'alnt'; export const DENOM = 'alnt';
export const DEFAULT_CHAIN_ID = 'laconic_9000-1';

View File

@ -31,8 +31,7 @@ import { Coin } from './proto/cosmos/base/v1beta1/coin';
import { MsgCancelBondResponse, MsgCreateBondResponse, MsgRefillBondResponse, MsgWithdrawBondResponse } from './proto/cerc/bond/v1/tx'; import { MsgCancelBondResponse, MsgCreateBondResponse, MsgRefillBondResponse, MsgWithdrawBondResponse } from './proto/cerc/bond/v1/tx';
import { MsgOnboardParticipantResponse } from './proto/cerc/onboarding/v1/tx'; import { MsgOnboardParticipantResponse } from './proto/cerc/onboarding/v1/tx';
import { MsgSendResponse } from './proto/cosmos/bank/v1beta1/tx'; import { MsgSendResponse } from './proto/cosmos/bank/v1beta1/tx';
import { DEFAULT_CHAIN_ID } from './constants';
export const DEFAULT_CHAIN_ID = 'laconic_9000-1';
/** /**
* Create an auction bid. * Create an auction bid.
@ -479,5 +478,6 @@ export class Registry {
export { Account }; export { Account };
export { LaconicClient }; export { LaconicClient };
export { DENOM, DEFAULT_CHAIN_ID } from './constants';
export * from './types/cerc/bond/message'; export * from './types/cerc/bond/message';
export * from './types/cerc/onboarding/message'; export * from './types/cerc/onboarding/message';

View File

@ -2,7 +2,7 @@ import assert from 'assert';
import yaml from 'node-yaml'; import yaml from 'node-yaml';
import semver from 'semver'; import semver from 'semver';
import { DEFAULT_CHAIN_ID } from '../index'; import { DEFAULT_CHAIN_ID } from '../constants';
export const ensureUpdatedConfig = async (path: string) => { export const ensureUpdatedConfig = async (path: string) => {
const conf = await yaml.read(path); const conf = await yaml.read(path);