// Copyright 2017-2020 @polkadot/util-crypto authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import { Prefix } from './types'; import defaults from './defaults'; /** * @description Sets the global SS58 format to use for address encoding * @deprecated Use keyring.setSS58Format */ export default function setSS58Format (prefix: Prefix): void { defaults.prefix = prefix; }