New answers tagged

3

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) are examples of bitcoin-like UTXO's. eUTXO extends this core functionality by allowing one to attach arbitrary data and logic to each transaction, enabling ...


1

In TxOut you have a field txOutAddress that you can use for this: data TxOut = TxOut { txOutAddress :: Address, txOutValue :: Value, txOutDatumHash :: Maybe DatumHash } Use it to extract the pubkeyhash: pkh = toPubKeyHash $ txOutAddress txOut And then in the smart contract check if the transaction is signed by it: txSignedBy (...


0

I am failing to spend even 10 utxos from the script address because of CPU and memory limits, using AlwaysSucceeds validator. More info: Transaction memory and cpu usage limits


1

In Cardano, each UTXO can contain a heterogeneous mixture of tokens and data, but must contain at least some amount of ADA. This is done on purpose to prevent both inadvertent and malicious chain bloat. Read more about the intricacies of minUTXOvalues here. On your Yoroi wallet, you probably have a couple UTXO's with token data such that the min amount of ...


0

On Cardano you cannot transfer or own native assets (i.e. any token other than Ada) without having it combined with a certain amount of Ada. This amount of Ada is called the minimum Ada value needed and it depends on the byte size of the native tokens. Native tokens with large token names have a large byte size, those with small token names a small byte size....


Top 50 recent answers are included