Questions tagged [builtindata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

How to decouple Constr from Data

Imagine I have the following field in the Datum: { "fields": [ { "int": 3810998862 }, { "int": 18446744073709552000 ...
SR - cerra.io's user avatar
0 votes
1 answer
35 views

UnsafeFromData instance for custom type

I want to use a custom type for one of my policy parameters, which will be applied by a tool like Lucid. Example of param: data CoinParams = CoinParams { policyOwner :: PubKeyHash, tokenName ::...
zing's user avatar
  • 135
0 votes
1 answer
60 views

Workaround for Plutus Scripts that excesses the max Tx Size. Framework or examples for splitted or modular validators?

Im very interested in how you can split the validation in several validator. There is any model or framework to follow? Any example around? Could somebody at least share some words of insights about ...
Manu Padilla's user avatar
2 votes
1 answer
42 views

Plutus BuiltinData vs. Data

I am confused about how they relate to each other. At first I thought Data is for offchain use and BuiltinData is for onchain use, but then I saw that that Data is also defined in PlutusCore which ...
alvail's user avatar
  • 21
0 votes
2 answers
86 views

Using custom datum for `mustPayToOtherScript` in off-chain code

Lets say I on-chain i have a Datum like so: data RandomDatum = RandomDatum { { tn :: !TokenName , cs :: !CurrencySymbol , nn :: !Integer } deriving (Show) Off chain I'm trying to form and ...
KugisMugis's user avatar