Skip to content

Commit

Permalink
Update "Build a dApp in 15 minutes" page - grammar, removed redundant…
Browse files Browse the repository at this point in the history
… text, updated diagrams
  • Loading branch information
andrei-x1 committed Feb 21, 2024
1 parent 730cd7a commit e99b4a7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
8 changes: 3 additions & 5 deletions docs/developers/tutorials/your-first-dapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@ Other rules:

For the web app we'll have two pages:

- The _Sign in_ page - here we can authenticate with ledger, web wallet or with Maiar Wallet
- The _Sign in_ page - here we can authenticate with ledger, web wallet or with xPortal app
- The _Dashboard_ page - here we can either ping or pong, if we already deposited, then we will see a countdown timer until the time interval clears out.

[comment]: # (mx-context-auto)

### **Blockchain Layer (The Backend)**

We will create a smart contract that can handle the deposit (`ping`), claim (`pong`) and status actions (`did_user_ping`, `get_time_to_pong`).
Let's say that, for now, this smart contract plays the role of an API in a dApp. Also this is where our business logic resides.
Let's say that, for now, this smart contract plays the role of an API in a dApp. Also, this is where our business logic resides.

The MultiversX _devnet_ is a public test network maintained by our community where any developer can test their smart contracts and dApps in a real world environment.

[comment]: # (mx-context-auto)

## **Set up the environment**

Let's set up the evironment for getting your first dapp up and running.
Let's set up the environment for getting your first dapp up and running.

[comment]: # (mx-context-auto)

Expand Down Expand Up @@ -112,8 +112,6 @@ git clone https://github.com/multiversx/mx-ping-pong-sc contract

We now have the source code for the smart contract, but we need to compile it into a _binary_ that the MultiversX Virtual Machine can run. The VM can run Web Assembly code, so we need to compile our Rust source code into Web Assembly (WASM).

We now have the source code for the smart contract, but we need to compile it into a _binary_ that the MultiversX (previously Elrond) Virtual Machine can run. The VM can run Web Assembly code, so we need to compile our Rust source code into Web Assembly (WASM).

Run the following command in order to build the rust smart contract into a _wasm file_.

```sh
Expand Down
2 changes: 0 additions & 2 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<!-- For external contributors: Make sure that you are on a new branch that started from the `external` branch. -->

#### Description of the pull request (what is new / what has changed)

#### Did you test the changes locally ?
Expand Down
Binary file modified static/developers/tutorial/dapp-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/developers/tutorial/dapp-problem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/developers/tutorial/folder-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e99b4a7

Please sign in to comment.