@ledgerhq/coin-canton
Version:
18 lines • 640 B
TypeScript
import { CoinConfig, type CurrencyConfig } from "@ledgerhq/coin-module-framework/config";
export type CantonConfig = {
nodeUrl?: string;
nodeId?: string;
gatewayUrl?: string;
minReserve?: number;
networkType: "mainnet" | "devnet" | "testnet" | "localnet";
useGateway?: boolean;
nativeInstrumentId: string;
fee?: number;
};
export type CantonCoinConfig = CurrencyConfig & CantonConfig;
declare const coinConfig: {
setCoinConfig: (config: CoinConfig<CantonCoinConfig>) => void;
getCoinConfig: (currencyId?: string) => CantonCoinConfig;
};
export default coinConfig;
//# sourceMappingURL=config.d.ts.map