Hot answers tagged

3 votes
Accepted

How is metadata typed on the blockchain

The transaction metadata lives outside of the transaction body, inside of the auxiliary_data. In the Babbage ledger era, you can see this in the wire spec (CDDL) here In particular, the metadata is ...
2 votes

What are the types of data that are stored on the Cardano blockchain?

Ledger state is not stored on the blockchain, but if you start with the correct initial ledger state and apply all blocks, in the correct sequence, from genesis to the current tip, you can recreate ...
2 votes
Accepted

How to get Integer from Cardano.Ledger.BaseTypes.TxIx

The problem is that on the LHS you have: StakeRefPtr (Ptr (SlotNo x) y z) but StakeRefPtr is defined (in cardano-ledger repo, file libs/cardano-ledger-core/src/Cardano/Ledger/Credential.hs) as: | ...
1 vote

Cardano Blockchain backup

You should make a backup of the entire db folder as the majority of the data is inside the immutable folder. For restoring, just copy all the content of the folder in the new node.
1 vote
Accepted

Importing Ledger hardware wallet addresses to Nami

That is the expected behaviour from Nami, as it only imports first address for a given account (a HD wallet can have multiple accounts and each account can have multiple addresses). You can read more ...
  • 1,527
1 vote

Question about Yoroi and Ledger (restore security)

Ledger uses a different derivation path than the default Icarus derivation used by hot wallets like Yoroi and Daedalus. This means that entering the seed phrase you generated on a hardware wallet ...
  • 3,489
1 vote
Accepted

How to use plutus script withness in other plutus script

I just had to sleep a night on it. Obviously one can look at the incoming addresses and lookup the validatorhash in the credentials there. For example use filter (\x -> (ScriptCredential . ...
  • 1,772

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