makeKeypairFromUri
makeKeypairFromUri<
KeyType>(uri,type?):CordKeyringPair&object
Generate typed CORD blockchain keypair from a polkadot keypair URI.
Type parameters
Section titled “Type parameters”• KeyType extends Exclude<KeyringPair, "ethereum"> = "ed25519"
Parameters
Section titled “Parameters”• uri: string
The URI.
• type?: KeyType
Optional type of the keypair.
Returns
Section titled “Returns”CordKeyringPair & object
The keypair.