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 28, 2024
1 parent e763eac commit 280566e
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

In order to configure the TEE ParaTime Client Node, first follow the
[Configuration](#configuration) section to create `/node/etc/config.yml` file
and then add the following content to the `runtime` in `/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 280566e

Please sign in to comment.