How to use the lisk-sdk.transactions.constants function in lisk-sdk

To help you get started, we’ve selected a few lisk-sdk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiskHQ / lisk-core / src / transactions / constants.ts View on Github external
*
 * See the LICENSE file at the top-level directory of this distribution
 * for licensing information.
 *
 * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
 * no part of this software, including this file, may be copied, modified,
 * propagated, or distributed except according to the terms contained in the
 * LICENSE file.
 *
 * Removal or modification of this copyright notice is prohibited.
 *
 */
/* tslint:disable:no-magic-numbers */
import { transactions } from 'lisk-sdk';

const { FIXED_POINT, MAX_TRANSACTION_AMOUNT } = transactions.constants;

export const TRANSACTION_DAPP_TYPE = 5;

export const IN_TRANSFER_FEE = FIXED_POINT * 0.1;
export const OUT_TRANSFER_FEE = FIXED_POINT * 0.1;
export const DAPP_FEE = FIXED_POINT * 25;

export { FIXED_POINT, MAX_TRANSACTION_AMOUNT };