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