Nice work. I am quite the beginner and i have been following this tutorial from the part 1. Please how did you generate the pairs that you used here?
const MINT_PRIVATE_ADDRESS = "0700a1ad28a20e5b2a517c00242d3e25a88d84bf54dce9e1733e6096e6d6495e"; const MINT_KEY_PAIR = ec.keyFromPrivate(MINT_PRIVATE_ADDRESS, "hex"); const MINT_PUBLIC_ADDRESS = MINT_KEY_PAIR.getPublic("hex");
// Your key pair const privateKey = process.env.PRIVATE_KEY || "62d101759086c306848a0c1020922a78e8402e1330981afe9404d0ecc0a4be3d"; const keyPair = ec.keyFromPrivate(privateKey, "hex"); const publicKey = keyPair.getPublic("hex");
I know you asked us to refer to your previous YouTube video for steps to generate the keypairs but i didn't see it in the Creating Transaction video.
Please assist me or point me in the right direction.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice work. I am quite the beginner and i have been following this tutorial from the part 1. Please how did you generate the pairs that you used here?
const MINT_PRIVATE_ADDRESS = "0700a1ad28a20e5b2a517c00242d3e25a88d84bf54dce9e1733e6096e6d6495e";
const MINT_KEY_PAIR = ec.keyFromPrivate(MINT_PRIVATE_ADDRESS, "hex");
const MINT_PUBLIC_ADDRESS = MINT_KEY_PAIR.getPublic("hex");
// Your key pair
const privateKey = process.env.PRIVATE_KEY || "62d101759086c306848a0c1020922a78e8402e1330981afe9404d0ecc0a4be3d";
const keyPair = ec.keyFromPrivate(privateKey, "hex");
const publicKey = keyPair.getPublic("hex");
I know you asked us to refer to your previous YouTube video for steps to generate the keypairs but i didn't see it in the Creating Transaction video.
Please assist me or point me in the right direction.