Skip to content

Commit

Permalink
Fix SDK rust install instructions + odds and ends
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-tortora authored Jul 24, 2023
1 parent 922519f commit 09a8db2
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 11 deletions.
2 changes: 1 addition & 1 deletion shimmer/develop/how-tos/backup_security.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can create a new Stronghold snapshot on the fly to allow a user to leave you

## How to Rekey a Stronghold/Password Rotation

To change a Stronghold password, you read a snapshot into a vault and then write it out with a new encryption password. You can view this [code](https://github.com/iotaledger/wallet.rs/blob/d1b8893d73aae35dfcf7c5c8006e2177988d25d0/src/stronghold.rs#L436-L451) for the source.
To change a Stronghold password, you read a snapshot into a vault and then write it out with a new encryption password. You can view this [code](https://github.com/iotaledger/iota-sdk/blob/develop/sdk/src/client/stronghold/mod.rs#L296-L409) for the source.

:::note

Expand Down
5 changes: 3 additions & 2 deletions shimmer/docs/introduction-docs/docs/explanations/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ keywords:
- transactions
- hornet
- libraries
- wallet.rs
- iota.rs
- iota-sdk
- Firefly
- explanation
---
Expand All @@ -22,6 +21,8 @@ TODO: Update for Stardust/Shimmer.

## Which Libraries are Available for Stardust?

You can use the [IOTA-SDK](../../../iota-sdk/docs/welcome.md) to interact with nodes running the Stardust protocol.

## What is Dust Protection and How Does it Work?

## When is a Transaction on the Network Considered Final/Irreversible?
Expand Down
20 changes: 18 additions & 2 deletions shimmer/docs/iota-sdk/docs/getting-started/rust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,29 @@ set OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"

### Install the SDK Using Cargo

To start using the IOTA SDK in your Rust project, you can include the following dependencies in your `Cargo.toml` file:
<Tabs>
<TabItem value="cargo" label="Cargo add">

To start using the IOTA SDK in your Rust project, you can include it as a dependencies in your project's `Cargo.toml` by running:

```bash
cargo add iota-sdk
```

</TabItem>

<TabItem value="manual" label="Cargo.toml">

To start using the IOTA SDK in your Rust project, you can include the following line under `dependencies` in your `Cargo.toml`:

```toml
[dependencies]
iota-sdk = { branch = "develop" }
iota-sdk = "1.0.0"
```

</TabItem>
</Tabs>

### Build the SDK from Source

1. Download the repository to any directory you choose:
Expand Down
2 changes: 1 addition & 1 deletion shimmer/docs/iota.js/admonitions/_iotars.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:::info Iota.rs

Though this library is functionally complete, the [iota.rs](https://wiki.iota.org/iota.rs/welcome) library is maintained
Though this library is functionally complete, the [IOTA SDK](https://wiki.iota.org/shimmer/iota-sdk/welcome) is maintained
by more contributors, more performant and
has the latest features.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:::info

Though it is possible to send transactions with iota.rs, we strongly recommend that you use the official
[wallet.rs](https://wiki.iota.org/wallet.rs/welcome) library together with the
[IOTA SDK](https://wiki.iota.org/shimmer/iota-sdk/welcome) together with the
[stronghold.rs](https://wiki.iota.org/stronghold.rs/welcome) enclave for value-based transfers. This combination
incorporates the best security practices while dealing with seeds, related addresses, and `UTXO`.

Expand Down
2 changes: 1 addition & 1 deletion shimmer/docs/iota.js/docs/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords:
:::caution

This is documentation for iota.js, which is no longer actively maintained.
For up-to-date documentation, see the the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).
For up-to-date documentation, see the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).

:::

Expand Down
2 changes: 1 addition & 1 deletion shimmer/docs/iota.rs/docs/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords:
:::caution

This is documentation for iota.rs, which is no longer actively maintained.
For up-to-date documentation, see the the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).
For up-to-date documentation, see the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).

:::

Expand Down
2 changes: 1 addition & 1 deletion shimmer/docs/wallet.rs/docs/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords:
:::caution

This is documentation for wallet.rs, which is no longer actively maintained.
For up-to-date documentation, see the the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).
For up-to-date documentation, see the documentation for its successor the [IOTA SDK](/iota-sdk/welcome).

:::

Expand Down
2 changes: 1 addition & 1 deletion shimmer/learn/token/buying.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ You can buy Shimmer tokens currently on the following exchanges and marketplaces
- [Soonaverse](https://soonaverse.com/tokens/all): Buy with IOTA Tokens
- [Iotabee](https://iotabee.com/swap): Swap IOTA for SMR

If you are an exchange that would like to integrate Shimmer, take a look at our [exchange guide](/wallet.rs/how_tos/exchange_guide).
If you are an exchange that would like to integrate Shimmer, take a look at our [exchange guide](iota-sdk/how-tos/exchange-guide).

0 comments on commit 09a8db2

Please sign in to comment.