mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-28 12:07:59 +00:00
20 lines
536 B
TypeScript
20 lines
536 B
TypeScript
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
const DEFAULT_IMG_SIZE = 300;
|
|
const ADDRESS_PREFIX = 'substrate:';
|
|
const FRAME_SIZE = 2048;
|
|
const SUBSTRATE_ID = new Uint8Array([0x53]);
|
|
const CRYPTO_SR25519 = new Uint8Array([0x01]);
|
|
const CMD_SIGN_TX = new Uint8Array([0x00]);
|
|
|
|
export {
|
|
ADDRESS_PREFIX,
|
|
CMD_SIGN_TX,
|
|
CRYPTO_SR25519,
|
|
DEFAULT_IMG_SIZE,
|
|
FRAME_SIZE,
|
|
SUBSTRATE_ID
|
|
};
|