Questions tagged [public-key]
The public-key tag has no usage guidance.
27
questions
0
votes
1
answer
13
views
pub-key hash for Plutus Pioneers - self-certification challenge
The entry form for the Plutus Pioneers - self-certification challenge reads as follows:
Please provide a Cardano public key hash
I am guessing this should be associated with a wallet.
In general I ...
0
votes
0
answers
48
views
How to obtain the public key hash in on chain plutus validator?
It seems public key hash is generated from blake2b_224 but in on-chain validator we only have blake2b_256. Is there any way to obtain public key hash from public key in cardano plutus?
0
votes
1
answer
38
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 ...
1
vote
1
answer
61
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?
0
votes
2
answers
483
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]
0
votes
1
answer
201
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')
...
0
votes
1
answer
62
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 ...
1
vote
2
answers
84
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
31
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 ...
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
427
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
...
0
votes
1
answer
50
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
308
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
167
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 ...
4
votes
1
answer
550
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
665
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
79
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 ...
1
vote
2
answers
916
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?
3
votes
2
answers
343
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
365
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
7
votes
5
answers
3k
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 ...
2
votes
2
answers
254
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
114
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
143
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?
0
votes
1
answer
151
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 =...
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 ...