<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>TTTTTTTTTTTTTTTTTTTTTT</title>
        <link>https://paragraph.com/@tttttttttttttttttttttt</link>
        <description>undefined</description>
        <lastBuildDate>Mon, 10 Aug 2026 21:13:51 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Quest №5]]></title>
            <link>https://paragraph.com/@tttttttttttttttttttttt/quest-5</link>
            <guid>hBX9ARReneajNe2lPdh5</guid>
            <pubDate>Mon, 13 Oct 2025 12:38:29 GMT</pubDate>
            <description><![CDATA[1. Створюємо новий проект daml new persondata --template skeleton cd persondata/daml Далі в Explorer знаходимо папку persondata, відкрваємо папку daml та бачимо файл Main.daml Його потрібно перейменувати у PersonData.daml Відкриваємо PersonData.daml видаляємо вміст та вставляємо новийmodule PersonData where import Daml.Script import DA.Optional (Optional(..)) import DA.List (delete) data PersonKey = PersonKey with keyIssuer : Party keyDataId : Text deriving (Eq, Show) template PersonData with...]]></description>
            <content:encoded><![CDATA[<p>1. Створюємо новий проект</p><p>daml new persondata --template skeleton</p><p>cd persondata/daml<br><br>Далі в Explorer знаходимо папку persondata, відкрваємо папку daml та бачимо файл Main.daml <br>Його потрібно перейменувати у PersonData.daml</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/c7585d30139efd2d2c1563c99f2d3ffb9b1d5c1749316e58dedf0b781da7426d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><br>Відкриваємо PersonData.daml видаляємо вміст та вставляємо новий</p><pre data-type="codeBlock" text="module PersonData where

import Daml.Script
import DA.Optional (Optional(..))
import DA.List (delete)

data PersonKey = PersonKey with
   keyIssuer : Party
   keyDataId : Text
 deriving (Eq, Show)

template PersonData
 with
   issuer : Party  
   owner : Party    
   dataId : Text     
   personalInfo : (Text, Text, Int)
   addresses : [Text]
   contact : Optional Text
 where
   signatory issuer, owner
   ensure dataId /= &quot;&quot;

   choice UpdatePersonalInfo : ContractId PersonData
     with
       newInfo : (Text, Text, Int)
     controller owner
     do
       archive self
       create this with personalInfo = newInfo

   choice AddAddress : ContractId PersonData
     with
       newAddress : Text
     controller owner
     do
       archive self
       create this with addresses = newAddress :: addresses

   choice SetContact : ContractId PersonData
     with
       newContact : Text
     controller owner
     do
       create this with contact = Some newContact

   choice ClearContact : ContractId PersonData
     controller owner
     do
       archive self
       create this with contact = None

template PersonDataProposal
 with
   proposal : PersonData
 where
   signatory proposal.issuer
   observer proposal.owner 
  
   choice Accept : ContractId PersonData
     controller proposal.owner
     do
       create proposal
test_person_data = script do
   issuer &lt;- allocateParty &quot;IssuerParty&quot;
   owner &lt;- allocateParty &quot;OwnerParty&quot;
  
   let initialPersonData = PersonData with
           issuer = issuer
           owner = owner
           dataId = &quot;KYC-001&quot;
           personalInfo = (&quot;Jane&quot;, &quot;Doe&quot;, 35)
           addresses = [&quot;10 Downing Street&quot;]
           contact = Some &quot;old.contact@example.com&quot;
          
   proposalCid &lt;- submit issuer do
       createCmd PersonDataProposal with
           proposal = initialPersonData

   personCid &lt;- submit owner do
       exerciseCmd proposalCid Accept

   Some contract &lt;- queryContractId issuer personCid
   assert (contract.contact == Some &quot;old.contact@example.com&quot;)
   
   let personKey = PersonKey with 
         keyIssuer = issuer
         keyDataId = &quot;KYC-001&quot;
   
   newCid &lt;- submit owner do
     exerciseCmd personCid SetContact with
         newContact = &quot;new.contact@example.com&quot;
    
   Some newContract &lt;- queryContractId owner newCid
   assert (newContract.contact == Some &quot;new.contact@example.com&quot;)
   return ()
"><code>module PersonData where

<span class="hljs-keyword">import</span> <span class="hljs-title">Daml</span>.<span class="hljs-title">Script</span>
<span class="hljs-title"><span class="hljs-keyword">import</span></span> <span class="hljs-title">DA</span>.<span class="hljs-title">Optional</span> (<span class="hljs-title">Optional</span>(..))
<span class="hljs-title"><span class="hljs-keyword">import</span></span> <span class="hljs-title">DA</span>.<span class="hljs-title">List</span> (<span class="hljs-title"><span class="hljs-keyword">delete</span></span>)

<span class="hljs-title">data</span> <span class="hljs-title">PersonKey</span> <span class="hljs-operator">=</span> <span class="hljs-title">PersonKey</span> <span class="hljs-title">with</span>
   <span class="hljs-title">keyIssuer</span> : <span class="hljs-title">Party</span>
   <span class="hljs-title">keyDataId</span> : <span class="hljs-title">Text</span>
 <span class="hljs-title">deriving</span> (<span class="hljs-title">Eq</span>, <span class="hljs-title">Show</span>)

<span class="hljs-title">template</span> <span class="hljs-title">PersonData</span>
 <span class="hljs-title">with</span>
   <span class="hljs-title">issuer</span> : <span class="hljs-title">Party</span>  
   <span class="hljs-title">owner</span> : <span class="hljs-title">Party</span>    
   <span class="hljs-title">dataId</span> : <span class="hljs-title">Text</span>     
   <span class="hljs-title">personalInfo</span> : (<span class="hljs-title">Text</span>, <span class="hljs-title">Text</span>, <span class="hljs-title">Int</span>)
   <span class="hljs-title">addresses</span> : [<span class="hljs-title">Text</span>]
   <span class="hljs-title">contact</span> : <span class="hljs-title">Optional</span> <span class="hljs-title">Text</span>
 <span class="hljs-title">where</span>
   <span class="hljs-title">signatory</span> <span class="hljs-title">issuer</span>, <span class="hljs-title">owner</span>
   <span class="hljs-title">ensure</span> <span class="hljs-title">dataId</span> <span class="hljs-operator">/</span><span class="hljs-operator">=</span> <span class="hljs-string">""</span>

   <span class="hljs-title">choice</span> <span class="hljs-title">UpdatePersonalInfo</span> : <span class="hljs-title">ContractId</span> <span class="hljs-title">PersonData</span>
     <span class="hljs-title">with</span>
       <span class="hljs-title">newInfo</span> : (<span class="hljs-title">Text</span>, <span class="hljs-title">Text</span>, <span class="hljs-title">Int</span>)
     <span class="hljs-title">controller</span> <span class="hljs-title">owner</span>
     <span class="hljs-title">do</span>
       <span class="hljs-title">archive</span> <span class="hljs-title"><span class="hljs-built_in">self</span></span>
       <span class="hljs-title">create</span> <span class="hljs-title"><span class="hljs-built_in">this</span></span> <span class="hljs-title">with</span> <span class="hljs-title">personalInfo</span> <span class="hljs-operator">=</span> <span class="hljs-title">newInfo</span>

   <span class="hljs-title">choice</span> <span class="hljs-title">AddAddress</span> : <span class="hljs-title">ContractId</span> <span class="hljs-title">PersonData</span>
     <span class="hljs-title">with</span>
       <span class="hljs-title">newAddress</span> : <span class="hljs-title">Text</span>
     <span class="hljs-title">controller</span> <span class="hljs-title">owner</span>
     <span class="hljs-title">do</span>
       <span class="hljs-title">archive</span> <span class="hljs-title"><span class="hljs-built_in">self</span></span>
       <span class="hljs-title">create</span> <span class="hljs-title"><span class="hljs-built_in">this</span></span> <span class="hljs-title">with</span> <span class="hljs-title">addresses</span> <span class="hljs-operator">=</span> <span class="hljs-title">newAddress</span> :: <span class="hljs-title">addresses</span>

   <span class="hljs-title">choice</span> <span class="hljs-title">SetContact</span> : <span class="hljs-title">ContractId</span> <span class="hljs-title">PersonData</span>
     <span class="hljs-title">with</span>
       <span class="hljs-title">newContact</span> : <span class="hljs-title">Text</span>
     <span class="hljs-title">controller</span> <span class="hljs-title">owner</span>
     <span class="hljs-title">do</span>
       <span class="hljs-title">create</span> <span class="hljs-title"><span class="hljs-built_in">this</span></span> <span class="hljs-title">with</span> <span class="hljs-title">contact</span> <span class="hljs-operator">=</span> <span class="hljs-title">Some</span> <span class="hljs-title">newContact</span>

   <span class="hljs-title">choice</span> <span class="hljs-title">ClearContact</span> : <span class="hljs-title">ContractId</span> <span class="hljs-title">PersonData</span>
     <span class="hljs-title">controller</span> <span class="hljs-title">owner</span>
     <span class="hljs-title">do</span>
       <span class="hljs-title">archive</span> <span class="hljs-title"><span class="hljs-built_in">self</span></span>
       <span class="hljs-title">create</span> <span class="hljs-title"><span class="hljs-built_in">this</span></span> <span class="hljs-title">with</span> <span class="hljs-title">contact</span> <span class="hljs-operator">=</span> <span class="hljs-title">None</span>

<span class="hljs-title">template</span> <span class="hljs-title">PersonDataProposal</span>
 <span class="hljs-title">with</span>
   <span class="hljs-title">proposal</span> : <span class="hljs-title">PersonData</span>
 <span class="hljs-title">where</span>
   <span class="hljs-title">signatory</span> <span class="hljs-title">proposal</span>.<span class="hljs-title">issuer</span>
   <span class="hljs-title">observer</span> <span class="hljs-title">proposal</span>.<span class="hljs-title">owner</span> 
  
   <span class="hljs-title">choice</span> <span class="hljs-title">Accept</span> : <span class="hljs-title">ContractId</span> <span class="hljs-title">PersonData</span>
     <span class="hljs-title">controller</span> <span class="hljs-title">proposal</span>.<span class="hljs-title">owner</span>
     <span class="hljs-title">do</span>
       <span class="hljs-title">create</span> <span class="hljs-title">proposal</span>
<span class="hljs-title">test_person_data</span> <span class="hljs-operator">=</span> <span class="hljs-title">script</span> <span class="hljs-title">do</span>
   <span class="hljs-title">issuer</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"IssuerParty"</span>
   <span class="hljs-title">owner</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"OwnerParty"</span>
  
   <span class="hljs-title">let</span> <span class="hljs-title">initialPersonData</span> <span class="hljs-operator">=</span> <span class="hljs-title">PersonData</span> <span class="hljs-title">with</span>
           <span class="hljs-title">issuer</span> <span class="hljs-operator">=</span> <span class="hljs-title">issuer</span>
           <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">owner</span>
           <span class="hljs-title">dataId</span> <span class="hljs-operator">=</span> <span class="hljs-string">"KYC-001"</span>
           <span class="hljs-title">personalInfo</span> <span class="hljs-operator">=</span> (<span class="hljs-string">"Jane"</span>, <span class="hljs-string">"Doe"</span>, 35)
           <span class="hljs-title">addresses</span> <span class="hljs-operator">=</span> [<span class="hljs-string">"10 Downing Street"</span>]
           <span class="hljs-title">contact</span> <span class="hljs-operator">=</span> <span class="hljs-title">Some</span> <span class="hljs-string">"old.contact@example.com"</span>
          
   <span class="hljs-title">proposalCid</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">submit</span> <span class="hljs-title">issuer</span> <span class="hljs-title">do</span>
       <span class="hljs-title">createCmd</span> <span class="hljs-title">PersonDataProposal</span> <span class="hljs-title">with</span>
           <span class="hljs-title">proposal</span> <span class="hljs-operator">=</span> <span class="hljs-title">initialPersonData</span>

   <span class="hljs-title">personCid</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">submit</span> <span class="hljs-title">owner</span> <span class="hljs-title">do</span>
       <span class="hljs-title">exerciseCmd</span> <span class="hljs-title">proposalCid</span> <span class="hljs-title">Accept</span>

   <span class="hljs-title">Some</span> <span class="hljs-title"><span class="hljs-keyword">contract</span></span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">queryContractId</span> <span class="hljs-title">issuer</span> <span class="hljs-title">personCid</span>
   <span class="hljs-title"><span class="hljs-built_in">assert</span></span> (<span class="hljs-title"><span class="hljs-keyword">contract</span></span>.<span class="hljs-title">contact</span> <span class="hljs-operator">=</span><span class="hljs-operator">=</span> <span class="hljs-title">Some</span> <span class="hljs-string">"old.contact@example.com"</span>)
   
   <span class="hljs-title">let</span> <span class="hljs-title">personKey</span> <span class="hljs-operator">=</span> <span class="hljs-title">PersonKey</span> <span class="hljs-title">with</span> 
         <span class="hljs-title">keyIssuer</span> <span class="hljs-operator">=</span> <span class="hljs-title">issuer</span>
         <span class="hljs-title">keyDataId</span> <span class="hljs-operator">=</span> <span class="hljs-string">"KYC-001"</span>
   
   <span class="hljs-title">newCid</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">submit</span> <span class="hljs-title">owner</span> <span class="hljs-title">do</span>
     <span class="hljs-title">exerciseCmd</span> <span class="hljs-title">personCid</span> <span class="hljs-title">SetContact</span> <span class="hljs-title">with</span>
         <span class="hljs-title">newContact</span> <span class="hljs-operator">=</span> <span class="hljs-string">"new.contact@example.com"</span>
    
   <span class="hljs-title">Some</span> <span class="hljs-title">newContract</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">queryContractId</span> <span class="hljs-title">owner</span> <span class="hljs-title">newCid</span>
   <span class="hljs-title"><span class="hljs-built_in">assert</span></span> (<span class="hljs-title">newContract</span>.<span class="hljs-title">contact</span> <span class="hljs-operator">=</span><span class="hljs-operator">=</span> <span class="hljs-title">Some</span> <span class="hljs-string">"new.contact@example.com"</span>)
   <span class="hljs-title"><span class="hljs-keyword">return</span></span> ()
</code></pre><p><br>Натискаємо Ctrl+S для зберігання.<br><br><br>Над test_person_data натискаємо на scrip results та у вікні результатів ставимо галочку на Show archived</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2a712055f52b5e5c3798d4bb613094bef02bed25b11af6d3b3f5ef356133647c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>На скріні має бути повністю видно верхню табличку і все</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/80c2fd3c1d98682ca55a1a83cdb5cf02d4dabfe80bf03a4ef7b99fb4b0ae0c5c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure>]]></content:encoded>
            <author>tttttttttttttttttttttt@newsletter.paragraph.com (TTTTTTTTTTTTTTTTTTTTTT)</author>
        </item>
        <item>
            <title><![CDATA[Guide qest №4]]></title>
            <link>https://paragraph.com/@tttttttttttttttttttttt/guide-qest-4</link>
            <guid>A1zG8CKw87o2iLheXjwD</guid>
            <pubDate>Mon, 13 Oct 2025 11:36:02 GMT</pubDate>
            <description><![CDATA[1. Нам потрібно встановити розширення Daml Studio для VS Code. 1.1 Переходимо в наш код спейс, в якому ми працювали на квесті №3, можете відкрити з історії браузера. Далі на панелі зліва натискаємо на розширенняабо просто натискаємо Ctrl+Shift+X. 1.2 В пошуку вводимо Daml Studio і обираємо перше зі списку, як на скріншоті та натискаємо кнопку встановити.2. Далі переходимо до виконання самого квесту 2.1 В термінал вставляємо команду daml new intro1 --template daml-intro-1 Якщо все ок, то в тер...]]></description>
            <content:encoded><![CDATA[<p><strong>1. Нам потрібно встановити розширення Daml Studio для VS Code.</strong></p><p>1.1 Переходимо в наш код спейс, в якому ми працювали на квесті №3, можете відкрити з історії браузера. Далі на панелі зліва натискаємо на розширення</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/c38123da1531ae6b9dff012fa0d8f6a75c4d93e40dc363422b520524f1d4a082.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>або просто натискаємо Ctrl+Shift+X.</p><p>1.2 В пошуку вводимо Daml Studio і обираємо перше зі списку, як на скріншоті та натискаємо кнопку встановити.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/f77faafa20971986ea0955dfae48c49614adc9797172e67cf27b0911f37f743e.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>2. Далі переходимо до виконання самого квесту</strong></p><p>2.1 В термінал вставляємо команду</p><p>daml new intro1 --template daml-intro-1</p><p>Якщо все ок, то в терміналі побачите наступне:</p><p>Created a new project in &quot;intro1&quot; based on the template &quot;daml-intro-1&quot;.Після цього переходимо в Explorer</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/0e56b8f0d1c6383f3d99177332cc79f3931b81f71f297f4e7e936e68ef64022f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Бачимо тут нашу папку intro1, яку створили на попередньому кроці. Натискаємо на неї, щоб розгорнути вміст.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/6aad221d138ab6c03142669572b6f5b466347d98bac5a83c200282bfb90024cb.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Тут бачимо ще одну папку daml та файл daml.yaml</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/0ab4ce919c0f14def87712f83a10dc184464f10fd6674ac9295afc2ce662a9e9.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Відкриваємо папку daml та бачимо у ній файл Token.daml, натискаємо на нього, після чого у нас відкриється по середині екрану вміст цього файлу</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/5a63b406a302355bd3f6f153253d8846a3e052722c0cd0660cddae8008c956c6.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Видаляємо весь вміст цього файлу та вставляємо наступний код</p><pre data-type="codeBlock" text="module Token where
import Daml.Script

template Token
  with
    owner : Party
  where
    signatory owner

token_test_1 = script do
  alice &lt;- allocateParty &quot;Alice&quot;
  
  submit alice do
    createCmd Token with owner = alice

token_test_2 = script do
  alice &lt;- allocateParty &quot;Alice&quot;
  bob &lt;- allocateParty &quot;Bob&quot;

  submitMustFail alice do
    createCmd Token with owner = bob
  submitMustFail bob do
    createCmd Token with owner = alice

  submit alice do
    createCmd Token with owner = alice
  submit bob do
    createCmd Token with owner = bob

token_archive_exercise = script do
  alice &lt;- allocateParty &quot;Alice&quot;
  
  alice_token_cid &lt;- submit alice do
    createCmd Token with owner = alice
  
  submit alice do
    archiveCmd alice_token_cid
"><code>module Token where
<span class="hljs-keyword">import</span> <span class="hljs-title">Daml</span>.<span class="hljs-title">Script</span>

<span class="hljs-title">template</span> <span class="hljs-title">Token</span>
  <span class="hljs-title">with</span>
    <span class="hljs-title">owner</span> : <span class="hljs-title">Party</span>
  <span class="hljs-title">where</span>
    <span class="hljs-title">signatory</span> <span class="hljs-title">owner</span>

<span class="hljs-title">token_test_1</span> <span class="hljs-operator">=</span> <span class="hljs-title">script</span> <span class="hljs-title">do</span>
  <span class="hljs-title">alice</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"Alice"</span>
  
  <span class="hljs-title">submit</span> <span class="hljs-title">alice</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">alice</span>

<span class="hljs-title">token_test_2</span> <span class="hljs-operator">=</span> <span class="hljs-title">script</span> <span class="hljs-title">do</span>
  <span class="hljs-title">alice</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"Alice"</span>
  <span class="hljs-title">bob</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"Bob"</span>

  <span class="hljs-title">submitMustFail</span> <span class="hljs-title">alice</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">bob</span>
  <span class="hljs-title">submitMustFail</span> <span class="hljs-title">bob</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">alice</span>

  <span class="hljs-title">submit</span> <span class="hljs-title">alice</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">alice</span>
  <span class="hljs-title">submit</span> <span class="hljs-title">bob</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">bob</span>

<span class="hljs-title">token_archive_exercise</span> <span class="hljs-operator">=</span> <span class="hljs-title">script</span> <span class="hljs-title">do</span>
  <span class="hljs-title">alice</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">allocateParty</span> <span class="hljs-string">"Alice"</span>
  
  <span class="hljs-title">alice_token_cid</span> <span class="hljs-operator">&#x3C;</span><span class="hljs-operator">-</span> <span class="hljs-title">submit</span> <span class="hljs-title">alice</span> <span class="hljs-title">do</span>
    <span class="hljs-title">createCmd</span> <span class="hljs-title">Token</span> <span class="hljs-title">with</span> <span class="hljs-title">owner</span> <span class="hljs-operator">=</span> <span class="hljs-title">alice</span>
  
  <span class="hljs-title">submit</span> <span class="hljs-title">alice</span> <span class="hljs-title">do</span>
    <span class="hljs-title">archiveCmd</span> <span class="hljs-title">alice_token_cid</span>
</code></pre><p>Та зберігаємо файл натиснувши Ctrl+SПісля цього у вас має зявитись 3 кнопки Script results</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/c87481566287ea35cea0a67eb71edc50668bdefd46ea2fd092665d7aec28e0fa.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Для скріна нам потрібні результати token_test_2 і token_archive_exercise, тому натискаємо напроти них на Script results. Після чого результат відкриється праворуч у двох вкладках. На вкладці token_archive_exercise нам потрібно поставити галочку, як відмічено на скріншоті.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/ef51053b1c87a5fd366b357230aff90cd4bd1e43b64f33298add7551ad6028a4.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Далі робимо спліт вікна з результатами, щоб на вікні було видно результат двох скриптів, натискаємо на кнопку що на скріні(або CTRL + \)</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/1c788abb640ca9035c1174f3997b47d4bf28903f2ab7be4be5005fc55d3c6b12.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>і переносимо туди одну із вкладок з результатами. Для token_archive_exercise не забудьте повторно поставити галочку.На виході у нас має бути ось такий скріншот, де буде видно весь код token_test_1 token_test_2 і token_archive_exercise, результат token_test_2 і token_archive. Ну і зрозуміло що фулл скрін з нижньою панеллю, як це було у попередніх тасках, мій скрін просто як приклад. Якщо у вас не поміщається увесь код, то зменшіть масштаб сторінки.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/24162ada6dbbbcdab386267d4cf4fbb29c0fa9b62326e641220c44f71f96fd51.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure>]]></content:encoded>
            <author>tttttttttttttttttttttt@newsletter.paragraph.com (TTTTTTTTTTTTTTTTTTTTTT)</author>
        </item>
    </channel>
</rss>