Skip to content

Commit

Permalink
updated a few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OwnerOfJK committed Dec 14, 2023
1 parent c1c89e9 commit acd24ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Getting Started
- [Quick Start](./getting-started/quick-start.md)
- [Development Setup](./build-app/1-build-app.md)
- [Build a PixeLAW App](./build-app/1-build-app.md)

# Community&Contribution
- [Get Started](./cc/get-started.md)
Expand Down
16 changes: 8 additions & 8 deletions src/build-app/1-build-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
Lets check out the folder structure first of the [App Template](https://github.com/pixelaw/app_template/tree/main):

- **`app_template/src` contains all your cairo contracts.**
- `src/app.cairo` contains your apps core logic.
- `src/lib.cairo` contains a module declaration.
- `src/tests.cairo` contains your tests.
- `src/app.cairo` contains your app's core logic.
- `src/lib.cairo` contains a module declaration.
- `src/tests.cairo` contains your tests.
- `app_template/scripts` contains scripts for deployment.
- `scripts/default_auth.sh` provides necessary authorization and writer permission to your app.
- `scripts/upload_manifest.sh` upload your manifest.json required by the front-end
- `scripts/ready_for_deployment.sh` helper script used to notify final docker deployment.
- `scripts/default_auth.sh` provides necessary authorization and writer permission to your app.
- `scripts/upload_manifest.sh` uploads your manifest.json required by the front-end.
- `scripts/ready_for_deployment.sh` is a helper script used to notify final docker deployment.
- `app_template/scarb.toml` specifies all dependencies.
- `app_template/docker-compose.yml` required for docker compose.
- `app_template/docker-compose.yml` required for docker compose

The default App Template includes the contract code of the Paint App which allows users to paint any pixel with any color.

Expand Down Expand Up @@ -121,7 +121,7 @@ Additionally, we provide the permission to another app called Snake to interact
```
Now that we get to the interact function, which is called by default by the front end unless otherwise specified.

Most importantly it calls the `core_actions.update_pixel` to change the color of a pixel that has been clicked..
Most importantly it calls the `core_actions.update_pixel` to change the color of a pixel that has been clicked.

```rust,ignore
/// Put color on a certain position
Expand Down

0 comments on commit acd24ed

Please sign in to comment.