Cardano Plutus 1.68.0.0 Carry Plutus V4 Enter Development Stack

Cardano Plutus team don release version 1.68.0.0 with Plutus V4 ledger API types, new smart contract builtins and simpler Plinth setup. The release give developers early access to components wey dem dey prepare for the Dijkstra era while Plutus V4 still dey under development.

By SongMarketCap

Cardano News - Cardano Plutus 1.68.0.0 Carry Plutus V4 Enter Development Stack

Cardano smart contract stack don move closer to the Dijkstra era with the release of Plutus 1.68.0.0. The update introduce Plutus V4 ledger API types, expand on chain asset handling and make am easier to start new Plinth projects.

The release no activate Plutus V4 for Cardano mainnet, but e bring parts of the next execution environment enter the current development toolchain.

Plutus V4 Types Enter the Current Toolchain

Plutus na the execution language and tooling wey Cardano smart contracts dey use. The ledger API dey expose transaction and blockchain data wey scripts fit inspect when dem dey validate transactions.

Version 1.68.0.0 add Plutus V4 and the associated dijkstraPV ledger API support. The release also add V4 to CIP-57 contract blueprints, allow scripts to dey identified as version v4.

The Plutus team warn say V4 still dey under development and the new ledger API types fit still change before Dijkstra.

Development still dey continue on direct pattern matching over Data. case expression fit now dispatch directly on the constructor tag of a Data.Constr value. When you combine am with the recently added dropList functionality, e go reduce overhead for script logic wey dey work with structured on chain data.

New Builtins Improve Asset Validation

Plutus 1.68.0.0 also introduce the assetCount builtin from CIP-0168 together with im cost model.

The function dey return the number of distinct policy ID and token name pairs wey value contain. This one give smart contracts direct way to verify how many different assets dey present instead of to dey manually waka through the complete value structure.

The functionality relevant to Cardano multi asset model. For example, one DeFi contract fit need to verify say one UTxO get ADA, DJED and one specific set of protocol tokens while e reject unexpected assets wey fit disturb validation or increase later transaction costs.

The release also add benchmarked costing for multiIndexArray, builtin wey dem design to retrieve several array elements for one operation. This one reduce repetitive lookup logic when scripts need multiple positions from the same array.

These additions dey move functionality wey Cardano Improvement Proposals don describe before enter released Plutus code.

Plinth Setup Move to One Command Workflow

The same development cycle also make onboarding for Plinth, the Haskell framework wey dem dey use build Plutus smart contracts, simpler.

The updated plinth-template include installation workflow wey fit create new project with single command while e handle the required development tooling and project structure.

This give the release two separate development effects. Plutus 1.68.0.0 expose more of the execution environment wey dem dey prepare for Dijkstra, while the Plinth changes reduce the setup wey developers need to begin work with am.

Plutus V4 still dey defined, but developers now get broader implementation surface to test against. Ledger API types, new builtins and updated tooling dey move the next Plutus generation from specification work enter usable development releases before the Dijkstra ledger era reach activation.