@dojima-wallet/connection
Version:
Initialise and connection for layer 1&2 blockchain
21 lines (17 loc) • 661 B
text/typescript
import { baseAmount } from "@dojima-wallet/utils";
/**
* The decimal for cosmos chain.
*/
export const COSMOS_DECIMAL = 6;
/**
* Default gas limit
* As same as definition in Cosmos-station's web wallet
* @see https://github.com/cosmostation/web-wallet-ts-react/blob/4d78718b613defbd6c92079b33aa8ce9f86d597c/src/constants/chain.ts#L76
*/
export const DEFAULT_GAS_LIMIT = "200000";
/**
* Default fee
* As same as definition in Cosmosstation's web wallet
* @see https://github.com/cosmostation/web-wallet-ts-react/blob/4d78718b613defbd6c92079b33aa8ce9f86d597c/src/constants/chain.ts#L66
*/
export const DEFAULT_FEE = baseAmount(5000, COSMOS_DECIMAL);