Questions tagged [public-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Key derivation are unclear

I watch this video on Key Derivation process (https://www.youtube.com/watch?v=4tSQBK75CPU&t=722s). Basically, from mnemonic phrase --> create root key --> create public addresses Then, I see ...
  • 91
1 vote
1 answer
40 views

Retrieve Witness Set from Transaction ID

Is there a tool or method to get the set of witnesses (public keys) of a transaction given the transaction ID?
  • 27
0 votes
2 answers
164 views

Getting PubKey from bech32 address

The verification key is referred to as public. Could it be derived from the bech32 address? e.g addr1... -> Pubkey [cborHex]
  • 27
0 votes
1 answer
92 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
0 votes
1 answer
45 views

Read key from cose_key returned in signData()

The following (await window.cardano['<wallet>'].enable()).signData('<addr>', '<payload>') Returns an object { key: <key>, signature: <sig> } I'm successfully parsing the ...
  • 111
0 votes
2 answers
48 views

How to Access Secret Key Hash and PKH from a web wallet?

So I'm making a Dapp that uses the user's secret key to encrypt the data. It also allows another user to encrypt something else using their public key hash, but how do I get the key pairs from the web ...
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
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
0 votes
1 answer
44 views

Listing all UTXOs spend by a script as well as the public key it came from

How do I list all Utxos that is in my script as well as the public key addresses that it came from.I am using the result as a parameter for a different function.I want to know if a public key address ...
1 vote
1 answer
214 views

Convert xpub public key from ccvault to bech32 or acct_ public key

Trying to import my wallet into Koinly for tax-purposes and unfortunately it doesn't accept xpub public addresses. They just recently added Cardano Native Tokens to their platform and they support ...
1 vote
2 answers
99 views

relationship between seed phrase, wallet address, public key, UTxO, verification key, and signing key

Everything I read about cryptography talks about a "public key" and a "private key". However, the Cardano CLI reality appears more complex. As I understand it, the 24 word seed ...
  • 349
4 votes
1 answer
322 views

How to convert a Stake Key Address from hash to BECH32?

I have this Stake Key: https://testnet.cardanoscan.io/stakekey/7622b4611b15441e7e15cba128ff999ad72388aeb267adc6e70cc9bc?tab=stakehistory I want to convert from ...
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
1 vote
2 answers
586 views

how to get public key of nami wallet

wondering whats the simplest way to get the pkh for nami-wallet? Is it possible through the webapp?
  • 433
1 vote
2 answers
204 views

How to get PubKeyHash of an address without vkey?

How to get Address -> PubKeyHash without vkey just with addr like addr_test1wrf230u95zr26lut09mchmt82d235v6335jvszme2jevklslg5lfz? It must be possible, because when you build unlocking transaction ...
0 votes
2 answers
304 views

How to obtain PubKeyHash from Address ShelleyAddr

Is there a way to do this programmatically? I have an Address ShelleyAddr obtained from deserialiseFromBech32 AsShelleyAddress and need its Plutus.V1.Ledger.Crypto.PubKeyHash
  • 490
5 votes
5 answers
2k views

How to convert a cardano address into a public key hash?

After spending some time learning Plutus with emulators, I decided to start learning how to actually deploy and use the scripts in the testnet. In this process, I installed cardano-cli and created ...
  • 883
2 votes
2 answers
204 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 ...
0 votes
1 answer
101 views

Are Smart Contracts bytecode encrypted?

As the title states, is a smart contract's live machine code encrypted, ciphered, or otherwise shielded? Say a user wants to create a SC to send whatever Ada it receives, at a specified interval, to ...
0 votes
2 answers
132 views

Can I Share Daedalus Public Key?

I am trying to add my accounts to a coin baalance tracker, but am having a hard time with Daedalus. The only option that seems to make any sense is sharing the public key with the tracker apps. Is ...
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 ...