<p>In addition to what Michele said, maybe the following repo helps understand the new cips <a href="https://github.com/perturbing/vasil-tests/" rel="nofollow noreferrer">(1)</a>. It has some nice examples on how to use the new functionalities.</p>
<p>Note however that we are currently in the transition of a new cost model on the testnet, we have to wait for epoch 216 I think). After that update Plutus V2 script will become available.</p>

CC BY-SA 4.0
2022-07-06T19:51:22.683Z
Great repo with enough information to lead me where I want to go.  Thanks @fermat.
nullValues
CC BY-SA 4.0
2022-07-06T20:30:23.897Z
If you try to compile the code examples, do not forget to use the next node branch of the plutus-app repository. The main branch is not ready yet for plutusV2, I think.
Fermat
CC BY-SA 4.0
2022-07-05T14:49:01.683Z
2022-07-05T14:49:01.683Z
Fermat
<p>for this purpose, I found useful the <a href="https://github.com/input-output-hk/plutus/tree/master/plutus-ledger-api/src/PlutusLedgerApi/V2" rel="nofollow noreferrer">source code itself</a></p>
<p>in particular, I think a good starting point would be <a href="https://github.com/input-output-hk/plutus/blob/b39a526e983cb931d0cc49b7d073d6d43abd22b5/plutus-ledger-api/src/PlutusLedgerApi/V2/Contexts.hs#L76" rel="nofollow noreferrer">the <code>Plutus.V2</code> version of <code>TxInfo</code></a></p>
<p>other than the new information available there should not be any difference in writing the smart contracts.</p>

CC BY-SA 4.0
2022-07-05T14:40:29.950Z
2022-07-05T14:40:29.950Z
Michele Nuzzi
<p>Does any have (or has anyone found) a simple summary of Plutus V2 Primitives?  They made the short list of big changes in the Vasil fork announcement, so they seem important.  Other than just reading haddock after searching for Plutus.V2, is there a resource for understanding and using the new stuff?</p>
<p>Might be a Lars Office Hours kind of question.</p>

<plutus><plutus-pioneer-program>
Plutus V2 Primitives
# Plutus V2 Primitives

(Asked by: username_0 on 2022-07-05)

Does any have (or has anyone found) a simple summary of Plutus V2 Primitives? They made the short list of big changes in the Vasil fork announcement, so they seem important. Other than just reading haddock after searching for Plutus.V2, is there a resource for understanding and using the new stuff?

Might be a Lars Office Hours kind of question.

**Tags:** plutus, plutus-pioneer-program

---

## 2 answers

### Answer by username_1 on 2022-07-05. Score: 2 | Accepted answer

In addition to what Michele said, maybe the following repo helps understand the new cips [(1)](https://github.com/perturbing/vasil-tests/). It has some nice examples on how to use the new functionalities.

Note however that we are currently in the transition of a new cost model on the testnet, we have to wait for epoch 216 I think). After that update Plutus V2 script will become available.

> **Comments:**
> **username_0**: Great repo with enough information to lead me where I want to go.  Thanks @fermat.  
> **username_1**: If you try to compile the code examples, do not forget to use the next node branch of the plutus-app repository. The main branch is not ready yet for plutusV2, I think.  

---

### Answer by username_2 on 2022-07-05. Score: 0

for this purpose, I found useful the [source code itself](https://github.com/input-output-hk/plutus/tree/master/plutus-ledger-api/src/PlutusLedgerApi/V2)

in particular, I think a good starting point would be [the `Plutus.V2` version of `TxInfo`](https://github.com/input-output-hk/plutus/blob/b39a526e983cb931d0cc49b7d073d6d43abd22b5/plutus-ledger-api/src/PlutusLedgerApi/V2/Contexts.hs#L76)

other than the new information available there should not be any difference in writing the smart contracts.


---

