Skip to main content

All Questions

Tagged with
7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
182 views

Script unlock cannot submit, budget overspent

I'm trying to unlock some token at a script address, so I create a tx with cardano-cli transaction build ... this passes successfully, then I sign the tx. It is now ready for submit but when I submit ...
Alain Magazin's user avatar
3 votes
0 answers
122 views

Is it possible to use a parameterised CurrencySymbol inside another validator script? Unsupported feature: Type constructor: GHC.Prim.ByteArray#

I am having trouble using a parameterised CurrencySymbol inside another validator script. It seems to work (not shown here) when the currency symbol is unparametrised but not otherwise: GHC Core to ...
vvtran's user avatar
  • 31
2 votes
0 answers
41 views

Whats a Good Example of Interconnected Smart Contracts?

In the Contract Monad we have the use of w s e a. Now w is used to connect contracts is there a good example of how this is done, in particular how to validate a contract using the w of another ...
KryptoKing's user avatar
1 vote
0 answers
52 views

How do I use Plutus to check that payment has been made to a native script?

If I want to check that payment has been made to a Plutus script, then I can use the function valueLockedBy txinfo vhash where vhash is the ValidatorHash of the Plutus script. Is there an analogous ...
Eric's user avatar
  • 85
1 vote
0 answers
90 views

Applycode to untyped validator, template Haskell

I am trying to learn the basics of the PlutusTx module. In this module is a function applyCode which maps the signatures CompiledCodeIn uni fun (a -> b) -> CompiledCodeIn uni fun a -> ...
Fermat's user avatar
  • 1,872
0 votes
3 answers
116 views

How Can You Prevent A Burn Address From Polluting The Cardano Ledger?

Making a Burn Address on the blockchain is currently done by using a script address with a validator that always returns False and so never validates. This ties up ADA and causes the size of the ...
KryptoKing's user avatar
0 votes
1 answer
92 views

Using `curSymbol` function in Validator script

supposed I have a mintingpolicy script (simple one time minting policy, parameterizing TxOutRef) and a validator script. I want to validate if the token with correct CurrencySymbol is spent in a ...
SIDAN Whatever's user avatar