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

fix(docs): Fix architecture diagram and questions #4451

Merged
merged 4 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
# Getting Started

IOTA Rebased introduces layer 1 Move smart contracts to the IOTA ecosystem. This valuable addition enhances IOTA by
offering programmability on layer1, complementing [IOTA EVM](../../about-iota/about-iota.mdx#iota-evm-and-shimmer-evm) on layer 2.
offering programmability on layer 1, complementing [IOTA EVM](../../about-iota/about-iota.mdx#iota-evm-and-shimmer-evm) on layer 2.

The guides in this section will guide you as you start your IOTA Rebased journey. We recommend that you start
by [setting up your development environment](iota-environment.mdx), and then move on
Expand Down
4 changes: 0 additions & 4 deletions docs/content/developer/getting-started/local-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description: Guide to setting up and using a local IOTA network for development
tags: [ how-to, install, setup, cli, typescript, sdk, testing ]
---
import Quiz from '@site/src/components/Quiz';
import questions from '/json/developer/getting-started/local-network.json';

# Local Development

Expand Down Expand Up @@ -273,6 +272,3 @@ pnpm add <PATH_TO_YOUR_REPO>/sdk/typescript
```

and the locally compiled version of `@iota/iota-sdk` package will be installed for your application.


<Quiz questions={questions} />
Dr-Electron marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"questionText": "When first running the 'iota client' command, what happens if you press Enter without specifying a node URL?",
"answerOptions": [
{ "answerText": "It connects to the Devnet", "isCorrect": true },
{ "answerText": "It connects to the Testnet", "isCorrect": true },
{ "answerText": "It exits the program", "isCorrect": false },
{ "answerText": "It connects to the Mainnet", "isCorrect": false },
{ "answerText": "It shows an error message", "isCorrect": false }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
[
{
"questionText": "What is the purpose of the `key` ability in a struct declaration in Move?",
"questionText": "What is the command to create a new IOTA Move package called 'my_first_package'?",
"answerOptions": [
{ "answerText": "It allows a struct to be stored and transferred.", "isCorrect": true },
Dr-Electron marked this conversation as resolved.
Show resolved Hide resolved
{ "answerText": "It allows a struct to be copied.", "isCorrect": false },
{ "answerText": "It allows a struct to be dropped or discarded.", "isCorrect": false },
{ "answerText": "It allows a struct to be stored within structs with the `key` ability.", "isCorrect": false }
{ "answerText": "iota move new my_first_package", "isCorrect": true },
{ "answerText": "iota create package my_first_package", "isCorrect": false },
{ "answerText": "iota new package my_first_package", "isCorrect": false },
{ "answerText": "iota init my_first_package", "isCorrect": false }
]
},
{
"questionText": "Which ability allows a struct to be discarded in Move?",
"questionText": "What is the purpose of the Move.toml file in an IOTA Move package?",
"answerOptions": [
{ "answerText": "`copy`", "isCorrect": false },
{ "answerText": "`drop`", "isCorrect": true },
{ "answerText": "`key`", "isCorrect": false },
{ "answerText": "`store`", "isCorrect": false }
{ "answerText": "It is the package's manifest that describes the package and its dependencies.", "isCorrect": true },
{ "answerText": "It contains the source code of the modules.", "isCorrect": false },
{ "answerText": "It stores compiled bytecode.", "isCorrect": false },
{ "answerText": "It is used to manage version control.", "isCorrect": false }
]
},
{
"questionText": "How do you denote a comment in a `.move` file?",
"questionText": "In .toml files, which character is used to denote a comment?",
"answerOptions": [
{ "answerText": "Using double slashes `//`", "isCorrect": true },
{ "answerText": "Using `/* ... */`", "isCorrect": false },
{ "answerText": "Using `#`", "isCorrect": false },
{ "answerText": "Using `--`", "isCorrect": false }
{ "answerText": "Hash mark (#)", "isCorrect": true },
{ "answerText": "Double slash (//)", "isCorrect": false },
{ "answerText": "Semicolon (;)", "isCorrect": false },
{ "answerText": "Percent sign (%)", "isCorrect": false }
]
},
{
"questionText": "How can you resolve version conflicts in dependencies in the [dependencies] section?",
"answerOptions": [
{ "answerText": "By adding the 'override' field to the dependency", "isCorrect": true },
{ "answerText": "By removing the conflicting dependency", "isCorrect": false },
{ "answerText": "By renaming the dependency", "isCorrect": false },
{ "answerText": "By using a different package manager", "isCorrect": false }
]
}
]

This file was deleted.

Loading