A node package which helps you in extracting public and private keys as base58 strings from the given wallet keypair.
npm install solana-keypair-extractorA node package which helps you in extracting public and private keys as base58 strings from the given wallet keypair.
Install the package with npm
``bash`
npm install solana-keypair-extractor
Install the package with yarn
`bash`
yarn add solana-keypair-extractor
Usage/Examples
`javascript
import {getPrivateKeyFromKeypair, getPublicKeyFromKeypair} from 'solana-keypair-extractor'
const privateKey = getPrivateKeyFromKeypair("YOUR_WALLET_KEYPAIR");
const publicKey = getPublicKeyFromKeypair("YOUR_WALLET_KEYPAIR");
``
For support, email bhagyamudgal@gmail.com.