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

docs: Sapphire localnet references consolidated page under tools #2023

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 4 additions & 2 deletions docs/rofl/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ the ROFL app. To do this, create `src/main.rs` with the following content:

## Testing it on Sapphire Localnet

The simplest way to test and debug your ROFL is locally.
The simplest way to test and debug your ROFL is with a local stack.

1. Disable trust root verification in [`src/main.rs`]. Replace:

Expand Down Expand Up @@ -145,7 +145,9 @@ The simplest way to test and debug your ROFL is locally.
```

In a few moments, the Sapphire Localnet will spin up and automatically launch
your ROFL inside the compute node.
your ROFL inside the compute node. See [localnet] for more information.

[localnet]: /dapp/tools/localnet

```
sapphire-localnet 2024-09-19-git2332dba (oasis-core: 24.2, sapphire-paratime: 0.8.2, oasis-web3-gateway: 5.1.0)
Expand Down
6 changes: 4 additions & 2 deletions docs/rofl/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

As a first step we need to decide which ParaTime the ROFL app will authenticate
to. This can be any ParaTime which has the ROFL module installed. For the rest
of this section we will be using [Sapphire Testnet] which has all of the
required functionality.
of this section we will be using [Sapphire Testnet][sapphire-testnet] which has
all of the required functionality.

[sapphire-testnet]: /dapp/sapphire/network.mdx

## Define the Root of Trust

Expand Down
1 change: 1 addition & 0 deletions docs/rofl/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ sudo apt install musl-tools gcc-multilib clang
[`rust-toolchain.toml`]: https://github.com/oasisprotocol/oasis-sdk/tree/main/rust-toolchain.toml
[rust-toolchain-precedence]: https://github.com/rust-lang/rustup/blob/master/README.md#override-precedence
[MUSL C standard library]: https://musl.libc.org/
[localnet]: /dapps/tools/localnet
<!-- markdownlint-enable line-length -->

## SGXS Utilities
Expand Down
Loading