Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
plutus-pioneer-program
This repository hosts the lectures of the Plutus Pioneers Program. This program is a training course that the IOG Education Team provides to recruit and train software developers in Plutus, the native smart contract language for the Cardano ecosystem.
The Plutus Core code gets serialized to Concise Binary Object Representation (CBOR). Take a look at the serialiseProgramCBOR function in plutus/plutus-core/plc/Main.hs.
Feel free to check the Cardano starter example project on Github
The Plutus Core code gets serialized to Concise Binary Object Representation (CBOR). Take a look at the serialiseProgramCBOR function in plutus/plutus-core/plc/Main.hs.
The CBOR script payload looks something like this. From this payload, you derive the script address with scriptAddr=$(cardano-cli address build --payment-script-file ...) and send funds to that script address with cardano-cli transaction --tx-out $scriptAddr+$amount --tx-out-datum-hash .... This creates a transaction with a utxo output guarded by the script.
u/yottalogical, is this the right framing from your perspective? https://github.com/input-output-hk/plutus-pioneer-program/blob/main/code/week01/src/Week01/EnglishAuction.hs