1 | // Copyright 2017-2022 @polkadot/util-crypto authors & contributors
|
2 | // SPDX-License-Identifier: Apache-2.0
|
3 | import { availableNetworks } from "../networks.js";
|
4 | export const defaults = {
|
5 | allowedDecodedLengths: [1, 2, 4, 8, 32, 33],
|
6 | // publicKey has prefix + 2 checksum bytes, short only prefix + 1 checksum byte
|
7 | allowedEncodedLengths: [3, 4, 6, 10, 35, 36, 37, 38],
|
8 | allowedPrefix: availableNetworks.map(({
|
9 | prefix
|
10 | }) => prefix),
|
11 | prefix: 42
|
12 | }; |
\ | No newline at end of file |