Questions tagged [private-key]

The secret part of an asymmetric key pair that is typically used to encrypt, decrypt or digitally sign data.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

What is the purpose of "Extended Verification Key" compared to normal Verification Key?

I've created an extended private key payment0_idx0.xprv and stake0.xprv using cardano-wallet. Then I use cardano-cli to convert those keys to Shelley format and create the Extended Verification Key ...
0 votes
1 answer
90 views

How to get PublicKey from PrivateKey

I want to retrieve the public key from a private key created via a mnemonic key. const { mnemonicToEntropy } = require('bip39'); const CardanoWasm = require('@emurgo/cardano-serialization-lib-nodejs') ...
  • 153
4 votes
1 answer
267 views

Where does Nami store private keys?

I would like to access my private key from Nami wallet. Where are they supposed to be stored?
  • 152
3 votes
1 answer
45 views

What is the best (and most secure) way to store private keys in an Express server?

I'm working on a server that will have access to a specific wallet that hold funds and NFTs to submit transactions. Therefore, it will have to manage private keys. I'm thinking of storing them ...
1 vote
0 answers
23 views

Extract keypair from hd wallet address and use for signing/verifying via libsodium

I like to use priv/pub keypair of an hd wallet address to sign/verfify data (outside a transaction signment). Based on this question i know how to derive the private key out of an address and i assume ...
  • 21
1 vote
2 answers
63 views

How to convert from cborHex to VRFKeyHash using both cardanocli-js and cardano-serialization-lib?

I'm using cardanocli-js to create both VRF files for running a stake pool: vrf.vkey and vrf.skey: const vrfKeyAccount = cardanocliJs.nodeKeyGenVRF("Totem"); Then I want to read the vrf.vkey ...
2 votes
1 answer
171 views

Is it possible to get root key from CLI generated private key?

Objective To load a private key generated by cardano-cli into cardano-serialization lib Details Using cardano-cli cardano-cli address key-gen, we get this: { "type": "...
  • 123
1 vote
0 answers
19 views

Selecting Your Own Keys

Is there a way I can specify the prime number product used to generate the public private key pair - on the creation of a wallet address? I understand that the primes in the product would have to meet ...
4 votes
1 answer
294 views

How to verify signed data?

I'm having some trouble to understand how am I supposed to verify if a signed data was really signed by a specific address. Checking this CBOR ...
  • 206
2 votes
2 answers
393 views

How to recover a wallet in cardano-cli from a 24-word mnemonic

I have a wallet created with Daedalus and have the 24-word mnemonic available. I would like to use the same wallet with cardano-cli in order to build and submit more complicated transactions directly ...
1 vote
2 answers
69 views

Is it possible to link multiple addresses built from different stake key pairs but one payment key pair?

Say I generate 10 stake key pairs and 1 payment key pair. Then, I generate 10 unique shelley addresses accordingly (same payment key pair for all 10, but different staking keys). Is it possible to ...
  • 3,449
2 votes
2 answers
111 views

How to restore a wallet from root.prv file

I have a wallet for testnet that I was using for some experiments, I created it using cardano-wallet CLI, generated some recovery phrase that I thought I stored, but probably never did because it was ...
  • 185
0 votes
1 answer
52 views

How do we check if cardano wallet made by the community is safe to use?

Daedalus and Yoroi were made by IOHK and Emurgo (indirectly), so the credibility is there right from the start, and we can trust it (that it is not meant for malicious intent). But when it comes to ...
4 votes
2 answers
40 views

What tools are currently available or in development, to watch an address, and expose a bad actor that without authorization took ADA from a wallet?

Despite that the legitimate owner of a given amount of ADA in a wallet went loose on keeping hxs account secure, and the saying "No your keys no your ADA", when a bad actor takes ADA not ...
2 votes
2 answers
202 views

Impossible to use extended keys with cardano-cli transaction build --required-signer flag

We are implementing the vesting contract from Plutus use cases via cardano-cli In the validator script we have the pubKeyHash of the pubKey authorized to retrieve the funds. When the owner of this key ...
6 votes
1 answer
1k views

How can I derive an address from a private key?

Checking the official documentation from cardano-wallet I can see that there are options to get wallets from mnemonics and extended public keys, but not private keys. Even public libs don't have that ...
  • 61
6 votes
2 answers
2k views

How are you going to stop scammers?

I was the victim of a scammer today, they were asking for ADA and I lose all my savings. If a scammer gets 500k ADA that in the future for sure will become billions. Is there any chance it will ...
0 votes
2 answers
59 views

Is the Payment Adresss and associated keys considered a wallet?

When staking to the payment address is one effectively sending ADA to another wallet? I think this is an interesting question because one asks if it could then be added to a wallet application like ...
2 votes
1 answer
252 views

Verifying Payment Address

Before funding the payment address on my staking pool, I would like to make sure that the funds can be retrieved by me, as the process of air gapping to create these series of keys and addresses ...
2 votes
1 answer
153 views

Entropy problem in addresses generated by Daedalus wallet

I've created a new wallet in Daedalus, and I've noticed that 20 new generated addresses have the same repeating pattern in the second part of each address. Here's how it looks like: addr1.................
  • 1,747
0 votes
1 answer
71 views

Where can I find an official docs about private and public keys' generation?

Is there an official documentation showing us a process of creation of private key, public key (including EdDSA math), and wallet address, with examples written in Python or C?
  • 1,747
0 votes
1 answer
124 views

How does Edwards curve used for generating public key look like?

What equation suitable for generation of a public key is used for Edwards curve Ed25519? The problem is the following – info on Edwards Elliptic Curve on Wikipedia page presents an equation y^2 + x^2 =...
  • 1,747
7 votes
3 answers
1k views

Is it possible to generate your own Cardano ADA private keys and public addresses externally and import it later for use into a wallet?

For ETH and BTH you can generate a private/public keys (secp256k1 Elliptical curve) and SHA-3 (Keccak) hashed public wallet address via code (Python, Java or what ever language) via an pure math ...