13
votes
Accepted
What are the benefits of the two accounts model?
For the user, yes, it would be easier to just get your rewards on your spending account as a UTXO. However, this is not scalable at all.
What this means is that every 5 days, the network would be ...
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 ...
9
votes
Accepted
What's the point of new incoming addresses with the Daedalus wallet?
While it's intended to be a privacy-enhancing measure, it's currently somewhat negated by the fact that any Cardano wallet that's currently registered for staking has every address easily linked to ...
8
votes
Accepted
Is there any risk in sharing my rewards address?
The only risks associated with sharing any kind of public/verification keys or addresses have to do with de-anonymization. If you are concerned with Maladex, your ISP, a traffic sniffer, or any other ...
7
votes
Accepted
How to get Wallet ID from an address?
Think of cardano-wallet as Daedalus, it can only manage locally created wallets and their addresses and transactions.
If you want to interact with the blockchain as a whole you should be using cardano-...
7
votes
Nami wallet showing getBalance returning a NaN
getBalance function returns cbor encoded hex string, so you should actually decode it.
Easiest way to do it is by using Cardano Serialization Lib.
After you've downloaded the library you can decoded ...
7
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 --...
6
votes
How can I derive an address from a private key?
A robust way to do that is to use cardano-wallet CLI.
First of all, run cardano-wallet serve and cardano-node.
Root Key
The command that helps us writing a root private key into a file should look ...
6
votes
Staking Key a Privacy risk?
Can staking keys be generated on the curve like public addresses are
to preserve privacy?
While it is possible to create enterprise addresses or additional base addresses with new staking keys using ...
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....
6
votes
Accepted
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 ...
5
votes
How do I properly derive a stake key from an address using Bech32?
Credit to someone on Reddit who helped me with this:
Deriving the staking address requires you to manually update the header byte before bech32 encoding the hex account. All I needed to do was add e1 ...
4
votes
Structure of the Address type from Plutus.V1.Ledger.Address
The piece of data you show is encoded in Base16. Addresses are however typically encoded as Bech32 which allows for defining human readable prefixes like "addr_test".
As a matter of fact, it ...
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/...
4
votes
Short address crashed blockfrost calls
Those are called Enterprise addresses, originally intended for exchanges but everyday users have started to adopt them for various reasons. Unfortunately, I can't speak to why Blockfrost API chokes ...
4
votes
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 ...
4
votes
Accepted
How to convert Cardano Address?
About address formation and extracting Stake keys, you can read the CIP-0019
*Edit: this was reply to old question (about address, not address type) : This question does not make sense - you can have ...
4
votes
when and where to use different types of addresses in cardano
a) An enterprise address is such that does not contain the delegation part and cannot therefore participate in staking. The general idea was that organizations such as exchanges will use the addresses ...
3
votes
Accepted
What is the relationship between addresses and stake addresses?
Usually, the Shelley address contains the staking address inside (delegation part), so it is not possible to change it. But they are other types of addresses.
One of the best resources to learn about ...
3
votes
How to get around a "withdrawal address format is wrong" error?
It may be that your copy/paste is carrying across more characters than you expect. It may contain a trailing whitespace or non-visible character (e.g. cr or newline).
On Windows, I eliminate this ...
3
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 ...
3
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 ...
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 <<< ...
3
votes
Accepted
Where can I find an official docs about private and public keys' generation?
This page is pretty good with the cli commands needed for doing this: https://developers.cardano.org/docs/integrate-cardano/creating-wallet-faucet
I remember seeing some examples in Python that just ...
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 ...
3
votes
Accepted
How to get PubKeyHash of an address without vkey?
You can see the CDDL spec for full details: https://github.com/input-output-hk/cardano-ledger/blob/master/eras/shelley/test-suite/cddl-files/shelley.cddl
In the case of a payment base address (the ...
3
votes
Accepted
Change Address in transaction
Cardano utilizes a UTXO-style accounting model (similar to bitcoin, but with extra features), as opposed to an accounting model, like what Ehtereum uses. Here is a quick overview of the differences.
...
3
votes
Accepted
Derive public key hash from bech32 address using python
Check out pycardano.
Class Address has a class method from_primitive that can read and decode a bech32 address. Then you can directly read field payment_part, which is the public key hash of the ...
2
votes
Why are cardano-cli generated payment addresses shorter than those from Yoroi or Daedalus?
The first part is a 'payment address', which you're seeing on Yoroi and Daedalus combined with a 'staking address' (cardano-cli stake-address build ...). If you look at your receiving addresses on ...
2
votes
Convert Plutus Address Credential to real-net address
Check here please:
https://cardano.stackexchange.com/a/8808/6196
I answered a similar question in a different post
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
address × 66wallet × 21
cardano-address × 17
plutus × 9
cardano-cli × 7
public-key × 6
python × 6
transaction × 5
staking × 5
api × 5
smart-contract × 4
nft × 4
testnet × 4
yoroi × 4
blockfrost × 4
private-key × 4
bech32 × 4
native-assets × 3
cardano-serialization-lib × 3
daedalus × 2
cardano-db-sync × 2
script × 2
payment × 2
script-addresses × 2
privacy × 2