Replies: 1 comment
-
Hi @martap79 , have you read this guide about Plutus? It shows some examples of creating datum. Also take a look at plutus test file here, which contains more examples of constructing datums. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!, could we pls get some example code how to use PlutusData? various ways of reading in the datum, either cbor, dict or json;
I've been trying to spend a script utxo but can't get the datum in. I've tried using the from_dict, from_primitive and from_json but plutusdata object stays empty. I'm obviously doing something wrong, but can't figure it out.
Beta Was this translation helpful? Give feedback.
All reactions