Skip to content

Commit

Permalink
docs: Add instructions to configure TEE Paratime Client Node
Browse files Browse the repository at this point in the history
  • Loading branch information
amela committed Aug 29, 2024
1 parent e763eac commit 372d7ee
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/node/run-your-node/paratime-client-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,38 @@ accessible on the internet (for `TCP` and `UDP` traffic).

:::

## Configuring TEE Paratime Client Node

If your node requires the ability to issue queries that can access confidential
data, start by following the [Configuration](#configuration) section to create
the `/node/etc/config.yml` file. Once the file is set up, add the following
content to the `runtime` part within the `/node/etc/config.yml` file:

**Update Runtime Configuration:**

```yaml
runtime:
# Paths to ParaTime bundles for all of the supported ParaTimes.
paths:
- {{ runtime_orc_path }}
environment: sgx
config:
{{ paratime_id }}:
estimate_gas_by_simulating_contracts: true
allowed_queries:
- all_expensive: true
sgx_loader: /node/bin/oasis-core-runtime-loader
```

Before using this configuration you should collect the following information to
replace the variables present in the configuration file:

* `{{ paratime_id}}`: You can find the `paratime_id` in the Network Parameters
page ([Mainnet], [Testnet])
* `{{ runtime_orc_path }}`: Path to the
[ParaTime bundle](paratime-client-node.mdx#the-paratime-bundle) of the form
`/node/runtimes/foo-paratime.orc`.

## Starting the Oasis Node

You can start the node by running the following command:
Expand Down

0 comments on commit 372d7ee

Please sign in to comment.