Skip to main content
16 votes
Accepted

Do old UTXO's ever get pruned from the blockchain?

No, it never gets pruned. One of the appealing features of blockchain is that the history stays there forever. The size of the blockchain grows roughly linearly (ignoring the effect of adoption), ...
Lars Brünjes's user avatar
15 votes
Accepted

What is a Redeemer?

From https://iohk.io/en/blog/posts/2021/04/13/plutus-what-you-need-to-know/: When validating an address, the script will access the data being carried by the output, the transaction being validated, ...
Matthias Sieber's user avatar
11 votes

What is a Redeemer?

In simple terms, redeemer is the data that the user of the smart contract provides to the smart contract. In the simple UTxO model, redeemer is your signature. By providing your signature, you prove ...
Jelil Akjaly's user avatar
10 votes
Accepted

Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?

Every transaction needs to include at least 1 ADA (See: Is there a minimum amount of ADA I can send in a transaction?). No, every UTxO (i.e. output you're sending asset to) needs to be atleast 1 ADA. ...
RdLrT's user avatar
  • 1,576
7 votes
Accepted

When a UTxO becomes available for consumption?

That is correct. For a UTxO to be consumed it first has to exist on the blockchain. For it to exist on the blockchain the transaction that created it must exist in a block that has been confirmed by ...
nalyd88's user avatar
  • 1,764
6 votes
Accepted

Is there any limit to the number of UTXO's sitting at a script address?

Is there any limit to the number of UTXO's sitting at a script address? There shouldn't be any practical limit. UTxOs aren't stored in some memory at an address. The address determines who can spend ...
Mitchell Turner's user avatar
6 votes

What does it mean that a UTxO sits at script address?

UTxOs are always associated with some address or "public key". Traditionally, on Bitcoin and Cardano that meant a wallet address. And someone could only spend a UTxO in a transaction signed ...
Mitchell Turner's user avatar
6 votes
Accepted

Does Cardano suffer from MEV?

The simple answer is yes, a Cardano pool operator could front-run a transaction in the mempool to their advantage. They would need to customize the haskell code to allow their node to order the ...
Andrew Westberg - BCSH's user avatar
6 votes

What is a Redeemer?

Before (E)UTxO - There Was UTxO Understanding how a UTxO model works (such as BTC) may help you understand the implementation of (E)UTxO in Cardano. The UTxO Model A UTxO model, meaning: unspent ...
Dilworth's user avatar
  • 211
5 votes

Do old UTXO's ever get pruned from the blockchain?

For the second part of your question (what's to stop the size of the blockchain from growing indefinitely to the point where it's impractical to store on consumer hardware?), there are concepts like ...
Jelil Akjaly's user avatar
5 votes

Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?

Emmanuel is correct, based on the coin name there is an amount of ADA that needs to be sent to every target address. My native token requires 1.444443 ADA to be sent to each and every target address, ...
Enrico Saunders's user avatar
5 votes
Accepted

What's the Lars' UTXO diagrams tool?

The tool can be found here. Lars himself confirmed it in this Discord message.
Falcon Stakepool's user avatar
4 votes
Accepted

How are staking rewards stored?

Cardano is using what we call a chimeric ledger, which means it uses both account (similar to Ethereum) and UTxO (similar to Bitcoin) style accounting systems. This enables the ledger to take ...
Marek Mahut - StakeNuts's user avatar
4 votes
Accepted

Confusion with cardano db sync schema and UTXO model

Thanks for your question. send about 6000ada to bob then he sends the two UTXOs to bob i.e. 5000ada and 2000ada (total 7000 ada) and he receives a new UTXOs of 1000ada back, right? Correct. For ...
spirois's user avatar
  • 141
4 votes

Smart Contract NFT minting with Rarities

We could use your redeemable approach and make it so the seller cant rig it. This is the idea, you will need to create 2 different minting policies, one for your NFTs and one for the redeemable NFTs, ...
AngelCastillo's user avatar
4 votes

Is eUTxO a generalisation of UTxO

You can think of regular Bitcoin-like UTXO's as a subset of all possible eUTXOs possible to construct on Cardano. Transactions that simply transfer ADA from one wallet to another (and nothing else) ...
zhekson's user avatar
  • 3,689
3 votes

Is there any limit to the number of UTXO's sitting at a script address?

This sounds like a two part question: Is there any limit to the number of UTXOs stored at a script address Is there any limit to consuming UTXOs stored at a script address For the first one, yes and ...
Matt Ho's user avatar
  • 381
3 votes
Accepted

How to send a transaction for Cardano native assets via CLI?

Basically, according to the docs.cardano.org: cardano-cli transaction build-raw \ --mary-era \ --fee 178393 \ --tx-in ...
Marek Mahut - StakeNuts's user avatar
3 votes

Does Cardano suffer from MEV?

There’s a pretty good write-up here: https://www.reddit.com/r/cardano/comments/n3jkp1/will_cardano_be_a_dark_forest/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
nciao's user avatar
  • 251
3 votes

What is the relation of "ptr" with UTXO?

The serialization lib is written in Rust and compiled to web assembly. Rust manually manages its memory, and I'm assuming that you need to do the same here. If you look at the typescript types you can ...
Hernan Rajchert's user avatar
3 votes

When a UTxO becomes available for consumption?

You can only grab the gift once it's confirmed on the ledger. Search for awaitTxConfirmed in the source code. That effect may have configurable level of confirmation in the future as indicated in the ...
Matthias Sieber's user avatar
3 votes

Is it possible to send a native token to another wallet while sending the minimum amount of ADA to my own wallet?

Every Native Asset is sort of conjoined to 1.4XXXXXX ADA from my experience and so it basically impossible to simply just send the native asset by itself. It’s a part of it. You’ll end up having to ...
Pizza Knight's user avatar
3 votes
Accepted

How to select UTXOs needed for covering a given ada amount using the Cardano Serialization Lib?

You are speaking about what we call Coin Selection Algorithms and they are described in CIP2. There are several implementations floating around on Github, such as BerryPool implementation of the ...
Marek Mahut - StakeNuts's user avatar
3 votes

How to combine or spend the rest of utxos

In your build command specify multiple txins and one txout with the sum of all the Ada and tokens from spent utxos.
Samuel Leathers's user avatar
3 votes

How to combine or spend the rest of utxos

I wanted to elaborate on Samuel's answer to be more details. Let's say you are building a transaction that looks like the following: cardano-cli transaction build-raw \ --tx-in <TxHash>#<TxIx&...
christobear's user avatar
3 votes
Accepted

A Script With Multiple Different Datum Types

let's say we have a Maybe Integer type, then the value must be assigned as either Just 3 or Nothing. Directly assigning it as 3 won't work. So your QuadraDatum should be created as let dat = ...
Sudip Bhattarai's user avatar
3 votes

Get Value of Datum from a UTXO

The upshot is that you might not find a datum, but instead get a hash of the datum (it depends). When submitting a transaction, the full "unhashed" datum is not automatically attached to the ...
Fermat's user avatar
  • 1,882
3 votes
Accepted

What is a Semantics Model?

in theoretical computer science, "semantic" is meant to indicate a property of a language. in particular, it describes the set of words/symbols that are disposed in a particular order to ...
Michele Nuzzi's user avatar
3 votes
Accepted

How did SundaeSwap solve the scalability issue associated with consuming the same UTxO more than once in the same block?

A good thing to remember when developing on Cardano is that there exists no global state! The state and its history of the blockchain is captured in a graph, where the current state of the chain are ...
Fermat's user avatar
  • 1,882
2 votes

How are transactions prioritized from memory?

We may need different models than what has been done in Uniswap, Keep in mind that Hyrda is coming and can get us around this problem. Unlike other L2 solutions for other blockchains, Plutus code runs ...
jnprogrammer's user avatar

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