![]() As soon as an output is used as input in a transaction, it becomes spent and can never be used again. In the UTXO model, a transaction has inputs and outputs, where the inputs are unspent outputs from previous transactions. Off-chain code can be written using the Plutus Application Framework (PAF), and this code is then compiled by the GHC (Glasgow Haskell Compiler), whereas on-chain code is compiled by the Plutus compiler into Plutus Core.Ĭardano uses the extended UTXO accounting model (EUTXO) which extends the unspent (U) transaction (TX) output (O) accounting model (UTXO) model (used by Bitcoin). ![]() Plutus smart contracts consist of parts that run on the blockchain (on-chain code) and parts that run on a user’s machine (off-chain or client code). ![]() It draws from modern language research to provide a safe, full-stack programming environment based on Haskell, the leading purely-functional programming language. By using Plutus, you can be confident in the correct execution of your smart contracts. It is a Turing-complete language written in Haskell, and Plutus smart contracts are effectively Haskell programs. Plutus is the native smart contract language for Cardano. See the next 'Plutus resources' section to find links to information and essential resources related to Plutus. Please note that Cardano Docs is not the primary go-to source for Plutus documentation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |