10 votes
Accepted

How can a single Cardano Wallet have many addresses?

Your “wallet” is really just a private key that only you know. You can use that key to deterministically generate many addresses, each address with a unique index. But no one can derive those ...
user avatar
7 votes
Accepted

Extract the bech32 stake address from a shelly address in javascript

I do not think it is possible to achive this in plain bech32, you need to convert it to hex and than back to bech32 to get retrieve the bech32 stake address. First you decode the bech32 shelley ...
user avatar
6 votes
Accepted

Staking address bech32

The e comes from these address prefixes defined in the CDDL https://github.com/input-output-hk/cardano-ledger/blob/f2a783cf00911b7492e81dd6c7fb8a963f9ce8fe/eras/shelley/test-suite/cddl-files/shelley....
user avatar
5 votes
Accepted

get wallet skey/vkey from mnemonic

You are missing the stake key. You obtain the stake key pair like this: cat rootkey.prv | cardano-address key child 1852H/1815H/0H/2/0 > stake.prv cardano-cli key convert-cardano-address-key --...
user avatar
4 votes
Accepted

What encoding is used for Yorois Wallet export?

After a lot of trial and error, I figured it out myself. TLDR The "key" that results from the Yoroi export indeed needs to be encoded with bech32, using the prefix acct_xvk. Demonstration/...
user avatar
  • 291
4 votes

Blockfrost doesn't find address

db-sync based API services such as blockfrost and koios can't find unused addresses because they are not "db-synched" Cardanoscan uses his own backend and library, to decode the bech32 and ...
user avatar
3 votes

Funds not appearing in wallets for highly separate generated addresses

Cardano addresses use the BIP-32 standard for key derivation. This allows a very large (2^31-1) number of addresses to be created per account index, per master seed. Being that most computers running ...
user avatar
  • 2,961
3 votes
Accepted

What is the Address Gap Limit in Daedalus?

Hierarchical Deterministic (HD) wallets allow for a very very large number of addresses/keys to be derived from a single master seed (mnemonic). However, it is computationally infeasible for wallet ...
user avatar
  • 2,961
3 votes

bech32 in Shelley addresses

I would use the bech32 decoder tool available here: https://github.com/input-output-hk/bech32 You can also find it in Daedalus in the binaries folder for your platform. $ bech32 <<< ...
user avatar
3 votes

Extract the bech32 stake address from a shelly address in javascript

Just a side-note to Marek's answer, don't forget to append the prefix to the stake part! In this case e1: e1883c4532b6ac18d62814ffc7e9ca035b67a68da0ea298cc24514237f See: Bech32 encoding stake address ...
user avatar
  • 76
3 votes

Can a smart contract create a transaction on someone else's behalf?

No, if you dont sign the transaction nobody can spend any of the UTXO in your adress... if the Nami wallet ask you to do it and you trust the page and sign some tx done by a bad behaved the web-app ...
user avatar
3 votes

How can a single Cardano Wallet have many addresses?

Wallet addresses are public keys mathematically derived from private keys and encoded to a special format. The ability of a wallet to generate multiple addresses is determined by the implementation of ...
user avatar
  • 305
3 votes
Accepted

Bech32 encoding stake address from Shelley address in JavaScript returning wrong value

You're missing the prefix, i.e. e1 in this case. const stakeAddressDecoded = 'e1'+addressDecoded.substr(addressDecoded.length - 56); You have to add e1 (or e0 in case of testnet) as prefix. Check ...
user avatar
  • 76
3 votes
Accepted

Is the Transaction Hash from block frost the same as the transaction id?

Yes, the tx hash and tx id are the same. The terminology is getting used interchangably.
user avatar
  • 724
2 votes
Accepted

Why is there a small difference between addresses derived by the cardano-address tool and Yoroi?

There is indeed missing a part of the address: the delegation part. For more information, please refer to this partially duplicate question and CIP-0019. To derive Yoroi addresses from a seed phrase ...
user avatar
  • 291
2 votes
Accepted

bech32 in Shelley addresses

The problem stems from bech32 being a base5 encoding, which means that one character of address representation encodes only 5 bits of the actual address data. The bech32_decode function from Python ...
user avatar
  • 756
2 votes

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

The beech32 representation is a bit tricky, but you can do it like this: const stakeKey = StakeCredential.from_bytes(from_hex('7622b4611b15441e7e15cba128ff999ad72388aeb267adc6e70cc9bc')); const ...
user avatar
  • 21
2 votes
Accepted

How to derive non-extended skey from mnemonic phrase?

Let's say your extended signing key is named payment.xkey, in the following format: { "type": "PaymentExtendedSigningKeyShelley_ed25519_bip32", "description": &...
user avatar
  • 2,961
2 votes

Difference when building Testnet and Mainnet addresses

If you are using cardano-cli to build the address(es), the only difference would be in specifying which network (mainnet or testnet) the address is for. This is done via the --mainnet & --testnet-...
user avatar
  • 2,961
2 votes

how to generate cardano new address using blockfrost.io?

Short answer is no, because it poses a security risk for both them (generating and transmitting keys over the network) and the end-user consuming their service to do so (trusting the API not to log or ...
user avatar
  • 326
2 votes

Is it possible to generate all stake pool files and keys using Cardano Serialization Lib?

Check out this link about generating keys: https://developers.cardano.org/docs/get-started/cardano-serialization-lib/generating-keys
user avatar
2 votes

Convert a script address to Shelley address using Plutus

Found the answer a while after posting this question. So, I am adding it here for reference. Using toCardanoAddress function from module Ledger.Tx.CardanoAPI conversion to ShelleyAddress can be done. ...
user avatar
  • 724
1 vote

Is there a 'Cardano Naming Service' available?

Adatar.me is a Project Catalyst funded project that fits the description.
user avatar
  • 1,488
1 vote
Accepted

What is the derivation path in a Cardano address?

Cardano follows the BIP32-ed25519 standard for HD key derivation. Read more about it here. In a nutshell, a virtually infinite number of public/private addresses/keys pairs can be derived from a ...
user avatar
  • 2,961
1 vote
Accepted

build transaction without giving fee, is it possible? --change-address

Using --change-address will send all the remaining balances to the specified address. It also includes tokens other than adas. Just keep in mind that there is a min amount of ada required for each ...
user avatar
1 vote

Blockfrost doesn't find address

Here is the answer of the blockfrost support team: Our API returns 404 Not Found for any resource that does not exist on chain a the moment, even when in theory, it could exist. These are typically ...
user avatar
  • 11
1 vote
Accepted

Cardano address chaos

A. The "last address" and "base address" described above are the exact same data in different representations. What you're calling the "base address" is the hex ...
user avatar
1 vote

What is the protocol for generating addresss in Cardano?

Check out CIP-19 - it describes the structure of addresses in Cardano, and is currently active. Additionally, you may find skimming through CIP-3 and CIP-5 can complement this, as well as CIP-1852 ...
user avatar
  • 2,961
1 vote

Airdrop Mechanism

I was also searching for this info, but I was not able to find the answer how this is done. Same mechanism is used for an example for the Spacecoins or the newest one Hosky. I do not think you need ...
user avatar
  • 11
1 vote

Can a smart contract create a transaction on someone else's behalf?

I think you're asking two separate questions here: Must someone send their ADA/tokens to a smart contract address in order for the ADA/tokens to be used in the contract Is it possible for a user to ...
user avatar
  • 351

Only top scored, non community-wiki answers of a minimum length are eligible