Skip to content

Commit 7f5d9c5

Browse files
Merge pull request #1228 from dfinity/jessiemongeon1-patch-2
update: Motoko examples README
2 parents d8b63e3 + 3d50c1e commit 7f5d9c5

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

motoko/README.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,7 @@
11
# Motoko examples
22

3-
## Standalone Motoko
3+
These examples demonstrate the use of Motoko as a backend language on the ICP platform.
44

5-
These examples show the Motoko language as a backend language for the IC, operating directly with clients, without a front end component.
5+
## Security considerations and security best practices
66

7-
### Basic
8-
9-
- [`counter`](https://github.com/dfinity/examples/tree/master/motoko/counter) -- basic (stable) variable demo.
10-
- [`hello_cycles`](https://github.com/dfinity/examples/tree/master/motoko/hello_cycles) -- basic cycles demo.
11-
- [`who_am_i`](https://github.com/dfinity/examples/tree/master/motoko/who_am_i) -- basic caller identification demo.
12-
13-
### Intermediate
14-
15-
- [`classes`](https://github.com/dfinity/examples/tree/master/motoko/classes) -- dynamic actor (class) instantiation.
16-
- [`pub-sub`](https://github.com/dfinity/examples/tree/master/motoko/pub-sub) -- multiple canisters, with publisher-subscriber inter-canister calls.
17-
- [`icrc2-swap`](https://github.com/dfinity/examples/tree/master/motoko/icrc2-swap) -- deposit, swap, and withdraw two ICRC-2 tokens.
18-
19-
## Minimal front end.
20-
21-
These examples use a minimal front end component.
22-
23-
- [`random_maze`](https://github.com/dfinity/examples/tree/master/motoko/random_maze) -- random maze generation, with IC-based randomness.
24-
- [`cert_var`](https://github.com/dfinity/examples/tree/master/motoko/cert-var) -- simple certified variable (a single 32-bit number), with client-side certificate validation.
25-
- [`minimal-counter-dapp`](https://github.com/dfinity/examples/tree/master/motoko/minimal-counter-dapp) -- counter dapp with minimal front end.
26-
27-
28-
## Full stack.
29-
30-
These examples use a "conventional" front end component (via `React.Component`).
31-
32-
- [`life`](https://github.com/dfinity/examples/tree/master/motoko/life) -- demonstrates upgrades among three versions and stable state migration.
33-
- [`superheroes`](https://github.com/dfinity/examples/tree/master/motoko/superheroes) -- CRUD-like demo service.
34-
35-
## Security Considerations and Security Best Practices
36-
37-
If you base your application on one of these examples, we recommend you familiarize yourself with and adhere to the [Security Best Practices](https://internetcomputer.org/docs/current/references/security/) for developing on the Internet Computer. The examples provided here may not implement all the best practices.
7+
If you base your application on one of these examples, it is recommended that you familiarize yourself with and adhere to the [security best practices](https://internetcomputer.org/docs/building-apps/security/overview) for developing on the Internet Computer. The examples provided here may not implement all the best practices.

0 commit comments

Comments
 (0)