1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56import { Keyring } from "@polkadot/api";7import { IKeyringPair } from "@polkadot/types/types";89export default function privateKey(account: string): IKeyringPair {10 const keyring = new Keyring({ type: 'sr25519' });11 12 return keyring.addFromUri(account);13}difftreelog
source
tests/src/substrate/privateKey.ts390 Bsourcehistory