Skip to content

Commit 6fa18b1

Browse files
committed
Update tutorial with renamed smart contract language
1 parent 8f29313 commit 6fa18b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/source/guides/plutus.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Smart Contracts on Cardano allow us to incorporate expressive logics to determin
66
The official language to write Contracts is Plutus, which is why we will often refer to "Plutus Scripts" and "Plutus binarys".
77
However, many `many different languages <https://aiken-lang.org/ecosystem-overview#the-alternatives>`_ are emerging
88
that aim to make the development of contracts more accesible.
9-
In this tutorial, we will focus on `eopsin <https://github.com/ImperatorLang/eopsin>`_,
9+
In this tutorial, we will focus on `opshin <https://github.com/OpShin/opshin>`_,
1010
a Smart Contract language based on python.
1111
In order to understand how Smart Contracts work on Cardanos eUTxO model we need to understand a couple of concepts.
1212

@@ -74,7 +74,7 @@ Similarly, redeemer can be serialized like following::
7474
Example - Gift Contract
7575
-----------------------
7676

77-
We demonstrate how these concepts come into play using a simple example from `eopsin <https://github.com/ImperatorLang/eopsin>`_.
77+
We demonstrate how these concepts come into play using a simple example from `opshin <https://github.com/ImperatorLang/opshin>`_.
7878
A user can lock funds together with a public key hash.
7979
The contract will make sure that only the owner of the matching private key can redeem the gift.
8080

@@ -84,7 +84,7 @@ Step 1
8484

8585
Open a file called ``gift.py`` and fill it with the following code:::
8686

87-
from eopsin.prelude import *
87+
from opshin.prelude import *
8888

8989
@dataclass()
9090
class CancelDatum(PlutusData):
@@ -101,14 +101,14 @@ Open a file called ``gift.py`` and fill it with the following code:::
101101

102102
Step 2
103103

104-
Install the python package ``eopsin-lang``. We can then build the contract.
104+
Install the python package ``opshin``. We can then build the contract.
105105

106106
.. code:: bash
107107
108108
$ python3.8 -m venv venv
109109
$ source venv/bin/activate
110-
$ pip install eopsin-lang
111-
$ eopsin build gift.py
110+
$ pip install opshin
111+
$ opshin build gift.py
112112
113113
This is it! You will now find all relevant artifacts for proceeding in the folder ``gift/``.
114114

0 commit comments

Comments
 (0)