I need to get the keypair from privatekey on Cosmos blockchain.
I have this code to get the keypair from mnemonic phrse:
const cosmos = require('cosmos-lib');
const keys = cosmos.crypto.getKeysFromMnemonic(MNEMONIC);
console.log(keys.publicKey, keys.privateKey);
But I need a new one yo get the keypair from PrivateKey.
Thanks