Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

training-dapp-1 #462

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/tutorials/dapp.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Create your minimum dapp on Tezos
authors: 'Benjamin Fuentes (Marigold)'
authors: 'Benjamin Fuentes'
last_update:
date: 27 November 2023
date: 29 October 2024
---

> dApp : A decentralized application is a type of distributed open source software application that runs on a peer-to-peer (P2P) blockchain network rather than on a single computer. DApps are visibly similar to other software applications that are supported on a website or mobile device.
Expand Down Expand Up @@ -33,8 +33,8 @@ This tutorial uses Typescript, so it will be easier if you are familiar with Jav

1. Make sure that you have installed these tools:

- [Node.JS and NPM](https://nodejs.org/en/download/): NPM is required to install the web application's dependencies.
- [Taqueria](https://taqueria.io/), version 0.45.0 or later: Taqueria is a platform that makes it easier to develop and test dApps.
- [Node.JS and NPM](https://nodejs.org/en/download/): NPM is required to install the web application's dependencies and node version >=20
- [Taqueria](https://taqueria.io/), version 0.62.0 or later: Taqueria is a platform that makes it easier to develop and test dApps.
- [Docker](https://docs.docker.com/engine/install/): Docker is required to run Taqueria.
- [jq](https://stedolan.github.io/jq/download/): Some commands use the `jq` program to extract JSON data.
- [`yarn`](https://yarnpkg.com/): The frontend application uses yarn to build and run (see this article for details about [differences between `npm` and `yarn`](https://www.geeksforgeeks.org/difference-between-npm-and-yarn/)).
Expand All @@ -51,6 +51,6 @@ The application looks like this:

![Example of the table of addresses and which addresses poked them](/img/tutorials/dapp-table.png)

The code for the completed application is in this GitHub repository: [solution](https://github.com/marigold-dev/training-dapp-1/tree/main/solution)
The code for the completed application is in this GitHub repository: [solution]( https://github.com/trilitech/tutorial-applications/tree/main/training-dapp-1)

When you're ready, move to the next section [Create your minimum dApp on Tezos](/tutorials/dapp/part-1) to begin setting up the application.
10 changes: 5 additions & 5 deletions docs/tutorials/dapp/part-1.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: 'Part 1: Create your minimum dApp on Tezos'
authors: 'Benjamin Fuentes (Marigold)'
authors: 'Benjamin Fuentes'
last_update:
date: 22 May 2024
date: 29 October 2024
---

To start working with the application, you create a Taqueria project and use it to deploy the Poke contract.
Expand Down Expand Up @@ -97,7 +97,7 @@ The LIGO command-line provides sub-commands to test your LIGO code.
1. Compile the contract with Taqueria (Force to use a specific LIGO version with `TAQ_LIGO_IMAGE` Taqueria environment variable).

```bash
TAQ_LIGO_IMAGE=ligolang/ligo:1.6.0 taq compile pokeGame.jsligo
TAQ_LIGO_IMAGE=ligolang/ligo:1.7.0 taq compile pokeGame.jsligo
```

Taqueria is generating the `.tz` Michelson file in the `artifacts` folder. The Michelson language is the default stack language used by the Michelson VM to run your code on a node. It is something similar to WASM.
Expand All @@ -119,7 +119,7 @@ The LIGO command-line provides sub-commands to test your LIGO code.
1. Compile all (contract + initial storage)

```bash
TAQ_LIGO_IMAGE=ligolang/ligo:1.6.0 taq compile pokeGame.jsligo
TAQ_LIGO_IMAGE=ligolang/ligo:1.7.0 taq compile pokeGame.jsligo
```

It compiles both source code and storage.
Expand All @@ -138,7 +138,7 @@ The LIGO command-line provides sub-commands to test your LIGO code.

```bash
taq install @taqueria/plugin-octez-client
TAQ_LIGO_IMAGE=ligolang/ligo:1.6.0 taq compile pokeGame.jsligo
TAQ_LIGO_IMAGE=ligolang/ligo:1.7.0 taq compile pokeGame.jsligo
taq simulate pokeGame.tz --param pokeGame.parameter.default_parameter.tz
```

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/dapp/part-2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Part 2: Inter-contract calls and testing'
authors: 'Benjamin Fuentes (Marigold)'
authors: 'Benjamin Fuentes'
last_update:
date: 22 May 2024
---
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/dapp/part-3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Part 3: Tickets'
authors: 'Benjamin Fuentes (Marigold)'
authors: 'Benjamin Fuentes'
last_update:
date: 22 May 2024
---
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/dapp/part-4.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Part 4: Smart contract upgrades'
authors: 'Benjamin Fuentes (Marigold)'
authors: 'Benjamin Fuentes'
last_update:
date: 22 May 2024
---
Expand Down
Loading