forked from cerc-io/laconic-wallet
* Take gas limit and fees from user * Update text input ui * Use gasPrice from networks data * Use default gas limit from env * Use default gas price if not found in registry * Remove appended denom in gas price * Use gas limit from env * Show error dialog when transaction fails * Calculate gas limit and gas price if not received from dapp * Update example env * Improve syntax --------- Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
12 lines
361 B
TypeScript
12 lines
361 B
TypeScript
// Reference: https://github.com/lugg/react-native-config?tab=readme-ov-file#typescript-declaration-for-your-env-file
|
|
declare module 'react-native-config' {
|
|
export interface NativeConfig {
|
|
WALLET_CONNECT_PROJECT_ID: string;
|
|
DEFAULT_GAS_LIMIT: string;
|
|
DEFAULT_GAS_PRICE: string;
|
|
}
|
|
|
|
export const Config: NativeConfig;
|
|
export default Config;
|
|
}
|