Skip to main content
15 votes
Accepted

What events are kicked off when a transaction is submitted?

When a transaction is submitted, it is loaded into the node's mempool. This is like a waiting room for transactions that haven't yet made it on the blockchain. Whether the node is daedalus, or a ...
Andrew Westberg - BCSH's user avatar
13 votes

On-chain and off-chain for Plutus SCs

I know that the valididation script is onchain but the whole code is in one file, so how can later on some of that run offchain? Technically, everything you see in the file is off-chain code. It is ...
Mitchell Turner's user avatar
12 votes
Accepted

How to convert a cardano address into a public key hash?

I think you're looking for this: cardano-cli address key-hash --payment-verification-key STRING cardano-cli address key-hash --payment-verification-key-file FILE You should use your payment.vkey
georgeos's user avatar
  • 1,764
11 votes
Accepted

What enables the Cardano blockchain to be capable of storing so much information?

You don't have to store a lot of information on the blockchain itself to provide certain evidence. (that something existed at a certain time or was signed by someone, or that something was not ...
adatainment's user avatar
  • 1,092
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
10 votes
Accepted

What is the size limit of transaction's metadata?

At the moment maxTxSize = 16384 bytes (including metadata). If we talk about the max number of characters in a 16 KB text file with UTF-8 encoding (8-bit), then this is 16384 characters, since each ...
Andy Jazz's user avatar
  • 1,815
9 votes
Accepted

Is there a minimum amount of ADA I can send in a transaction?

There is a minimum UTxO transaction size of 1 ADA not including fees. That means the absolute minimum transaction is 1 ADA + fees.
Eddy Schauman-Haigh's user avatar
7 votes
Accepted

Is there a maximum amount of ADA I can send in one transaction?

The limit amount of output ADA is specified as Word64 which is an 64-bit unsigned integer, therefore the maximum output is 18 446 744 073 709 551 615 lovelaces in the current implementation. So, ...
Marek Mahut - StakeNuts's user avatar
7 votes
Accepted

How are transaction fees determined for bulk sends?

The minimum fee is for the transaction as a whole, calculated as a * size(tx) + b, where a and b are protocol parameters. However, there is a Min-Ada-Value of 1 ADA which is the minimum size of a UTxO....
Eddy Schauman-Haigh's user avatar
7 votes
Accepted

When smart contracts launch, will every node on the network have to run every contract transaction?

The validation of the state change of a smart contact in the eUTXO model is done when accepting the transaction. When a node validates a transaction, the node determines if the transaction is allowed ...
Marek Mahut - StakeNuts's user avatar
6 votes
Accepted

ERC-20 converter transaction history

Not directly, as the token minted on the Cardano blockchain will be a new asset. If such an use case is needed, one might use an oracle to see it or metadata to record it at the minting time.
Marek Mahut - StakeNuts's user avatar
6 votes
Accepted

Transaction fees and smart contract complexity

It's true that currently (prior to Plutus release), the only thing influencing the transaction fee for a transaction is its size in bytes. However the Cardano development team have indicated that it ...
Flavien's user avatar
  • 261
6 votes

On-chain and off-chain for Plutus SCs

The on chain part is basically every piece of code that runs when the nodes perform validations on whether you have the rights to spend UTOXs or you can mint or burn currencies (validator script and ...
AngelCastillo's user avatar
6 votes
Accepted

Is there a limit on how many distinct tokens can be sent in one transaction?

The maximum transaction size is specified in the genesis configuration of the chain. For reference, here is a genesis config for the Shelley Testnet. The maxTxSize is set to 16384 (bytes, I assume). &...
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
Accepted

Are transaction witnesses stored on the blockchain?

A witness is the public key of the signer and the signature of the txbody using that public key. That is attached to the submitted transaction. It is not possible to query witnesses from db-sync at ...
Samuel Leathers's user avatar
6 votes

How to convert a cardano address into a public key hash?

If anyone is trying to do this using cardano-serialization-lib and Nami: const PUBKEY_HASH = async () => { const cardano = window.cardano; const pkh = Loader.Cardano.BaseAddress.from_address( ...
Mateus's user avatar
  • 988
5 votes

On-chain and off-chain for Plutus SCs

Mitchel Turner is right but for myself in the beginning i tried to think of things a little "simpler" The validators basically run "on chain" and the contracts (everything that ...
SaIG's user avatar
  • 51
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

Can Babel fees be extended to be a protocol level DEX?

I think you may want to consider reversing the order here. The intent behind babel fees from my understanding is to leverage future conversion guarantees, DEXes, and other avenues for guaranteeing ...
Jacob Abel's user avatar
5 votes
Accepted

How do I read the datum of an output?

If you are running a DbSync node you can retrieve the datum and redeemer: redeemer A table containing redeemers. A redeemer is provided for all items that are validated by a script. Primary Id: id ...
AngelCastillo's user avatar
5 votes

What does it mean when a block with 0 transactions is appended to the blockchain?

This just means that no transactions happened between the previous block (5387367 at 02/25/2021 5:54:30 PM) and the actual block (5387367 at 02/25/2021 5:54:31 PM). This behaviour does not affect ...
Falcon Stakepool's user avatar
5 votes
Accepted

Can a smart contract execute itself automatically?

On Cardano the answer is simple: smart contracts cannot execute themselves automatically. Rather, a smart contract is nothing but a set of rules associated with an address. In a first transaction, Ada ...
Jey's user avatar
  • 1,549
4 votes

What are technical differences in smart contract execution on Cardano in comparison to Ethereum?

Feel free to improve! :) technical aspect Cardano Ethereum notes model eUTxO-based account-based see cardano lecture,see question,... smart contract code location not stored on-chain, but shipped ...
Johannes Sirsch's user avatar
4 votes

"min-ada" bottleneck to Cardano analogous to "gas fee congestion" for Ethereum?

No, it would not be a bottleneck if Cardano implements babel fees that will enable you to pay (actually arbitrage) your fees in different tokens. That being said, to keep a decentralized network ...
Marek Mahut - StakeNuts's user avatar
4 votes

Is there a minimum amount of ADA I can send in a transaction?

A configurable network parameter called minimum_utxo_value is responsible for this. As the ADA price rises, the quantity field, expressed in lovelaces, will get lower and lower. Today, 21st October ...
Andy Jazz's user avatar
  • 1,815
4 votes

When is an eUTXO consumed?

Great questions. When does oRef get consumed? Would oRef exist until the next block? oRef will be consumed when a transaction spends it. If txn1 is executed before txn2, even in the same block, txn2 ...
Mitchell Turner's user avatar
4 votes
Accepted

When is an eUTXO consumed?

The question was also answered by a member of the IOHK team, on a secondary channel. I will post the answer here for community reference. Answer UTxO entries are consumed "immediately after"...
4 votes
Accepted

Mnemonic seed from signing and verification key?

Here is a brief HD infographic describing wallet key generation in Cardano (and other blockchains like Bitcoin). The Master Seed is derived from a mnemonic phrase pulled from the BIP-39 wordlist. As ...
zhekson's user avatar
  • 3,689
4 votes
Accepted

Received the transaction id but the transaction never happened

The chain has been pretty congested since sundaeswap launched. It may take some time between transaction submission and inclusion into a block. If your TTL or --invalid-hereafter parameter is too ...
zhekson's user avatar
  • 3,689

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