Questions tagged [script-addresses]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
74 views

Does a script always have the same address forever?

When creating a script, the script is given a script address. If I would like to run multiple scripts in parallel, how to go about that? Do I have to define a nonce variable just to make the address ...
0
votes
1answer
35 views

How to build a script transaction if the validator expects it to be signed

Given the following smart contract: {-# INLINEABLE mkValidator #-} mkValidator :: PubKeyHash -> BuiltinData -> ScriptContext -> Bool mkValidator beneficiary _ ctx = traceIfFalse "tx ...
3
votes
1answer
60 views

Do script addresses have a staking part? Is it possible to stake from smart contracts on Cardano?

I heard somewhere that staking from smart contracts may be possible on Cardano, and I wonder if that is because there is a staking part to script addresses on Cardano? CIP 19 discusses wallet ...
1
vote
2answers
50 views

Why is there no mechanism available to restrict creation of UTXOs at a script address?

It has been told that anyone can create UTXOs at any script address without restrictions since the validator does not run for transaction that do not consume UTXOs. The question is, why so? I think it ...
8
votes
4answers
210 views

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

Just want to foresee if we'll run into any issues sending/consuming thousands, or tens of thousands of UTXO's at a script address.
2
votes
2answers
125 views

Why does the Plutus script need be provided in the transaction?

Why does the Plutus script need be provided in the transaction? My understanding is that a script address is just a hash of the script. In order to spend a UTxO from a script address the spending ...
5
votes
0answers
89 views

Convert Plutus Address Credential to real-net address

So in Plutus we have the Address type which has two constructors ScriptCredential which is a ValidatorHash or PubKeyCredential which is a PubKeyHash but all these are not encoded in the same way as ...
9
votes
2answers
306 views

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

What does it mean that a "UTxO sits at a script address". What is a script address?
9
votes
2answers
138 views

How do nodes access the validator code?

As far as I know, script address is the hash of the validator script. (Or has the hash of the validator script. I don't know which). So when a node wants to validate that address, It needs to run the ...
6
votes
1answer
108 views

How can a node verify a transaction with a script address without the script?

How can a node verify a transaction with a script address without the script? I mean when i start a node months after the transaction has been minted into a block. How can my node verify that the ...