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(devx): Review and update getting started functionalities #4078

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion docs/content/developer/getting-started/build-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ fun test_sword_transactions() {
}
```

You can refer to the source code for the package (with all the tests and functions properly adjusted) in the [first_package](https://github.com/iotaledger/iota/tree/develop/examples/move/first_package/sources/example.move) module in the `iota/examples` directory.
You can refer to the source code for the package (with all the tests and functions properly adjusted) in the [first_package](https://github.com/iotaledger/iota/blob/develop/examples/move/first_package/sources/first_package.move) module in the `iota/examples` directory.


<Quiz questions={questions} />
2 changes: 1 addition & 1 deletion docs/content/developer/getting-started/connect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ You can add a new environment using the `iota client new` command. You should sp
example:

```bash
client new-env --alias local --rpc http://0.0.0.0:9000
iota client new-env --alias local --rpc http://0.0.0.0:9000
```

### Switch Network Environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The first line of the module defines the module's name and the package it belong

Move's [object model](../iota-101/objects/object-model.mdx) allows for code reuse. You can use types and functions declared in other modules, even if they belong to different packages.

In this example, the module imports from the `object`, `transfer`, and `tx_context` modules from the `iota` package, which was defined as a [package dependency](create-a-package.mdx#dependencies).
In this example, the module imports from the `object`, `transfer`, and `tx_context` modules from the `iota` package, which was defined as a [package dependency](create-a-package.mdx#dependencies). The module does not need to import them explicitly, because the compiler provides these `use` statements by default.

## Struct Declarations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The `[addresses]` section is used to add aliases for the addresses you use in yo
this section, and then use its alias in the code instead of the actual address. For example, if you
add `alice = "0xA11CE"` to this section, you can use `alice` as `0xA11CE` in the code.

If you created your package with the `iota client new` commenda, this section includes a `0x0` address for your package. You do not need to update this as [package addresses are automatically managed](../iota-101/move-overview/package-upgrades/automated-address-management.mdx).
If you created your package with the `iota client new` command, this section includes a `0x0` address for your package. You do not need to update this as [package addresses are automatically managed](../iota-101/move-overview/package-upgrades/automated-address-management.mdx).

### Dev-addresses

Expand Down
2 changes: 1 addition & 1 deletion docs/content/developer/getting-started/get-address.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ are `ed25519`, `secp256k1`, and `secp256r1`.

### IOTA Wallet

The simplest way to generate an IOTA address is using the [IOTA Wallet Chrome browser extension](TODO UPDATE LINK).
The simplest way to generate an IOTA address is using the [IOTA Wallet Chrome browser extension](https://chromewebstore.google.com/detail/iota-wallet/iidjkmdceolghepehaaddojmnjnkkija).
After you install the extension, there are several ways to create an address.

Open the Chrome IOTA Wallet browser extension and then:
Expand Down
3 changes: 1 addition & 2 deletions docs/content/developer/getting-started/install-iota.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ See the [repository details](../advanced/iota-repository.mdx) for more informati

:::

The installation process can take a while to complete. You can monitor the installation progress in the terminal. If you
If you encounter an error, install the latest version of all prerequisites and try the command again.
The installation process can take a while to complete. You can monitor the installation progress in the terminal. If you encounter an error, install the latest version of all prerequisites and try the command again.

To update to the latest stable version of Rust:

Expand Down
Loading