I am working through https://www.soldev.app/course/intro-to-cryptography
and at the point where I am attempting to import the secret key from a .env
I am getting an error:
My keypair is set using:
import { Keypair } from "@solana/web3.js";
const keypair = Keypair.generate();
console.log(The public key is:
, keypair.publicKey.toBase58());
console.log(The secret key is:
, keypair.secretKey);
console.log(✅ Finished!
);
not sure how to resolve it as I am already using a base58.. Any help would be appreciated