diff --git a/docs/rofl/README.mdx b/docs/rofl/README.mdx new file mode 100644 index 0000000000..df44960212 --- /dev/null +++ b/docs/rofl/README.mdx @@ -0,0 +1,30 @@ +--- +description: Build your own ROFL application +--- + +import DocCardList from '@theme/DocCardList'; +import {findSidebarItem} from '@site/src/sidebarUtils'; + +# Build ROFL Application + +Runtime OFf-chain Logic (ROFL) applications are a mechanism to augment the +deterministic on-chain backend with verifiable off-chain applications. These +applications are stateless, have access to the network and can perform expensive +and/or non-deterministic computation. + +ROFL applications run in Trusted Execution Environments (TEEs), similar to the +on-chain confidential runtimes. This enables them to securely authenticate to +the on-chain backend which is handled transparently by the framework. Together +they allow one to implement secure decentralized oracles, bridges, AI agents and +more. + +This chapter will teach you how to build your own ROFL application with +[Oasis Runtime SDK]. + + + +[Oasis Runtime SDK]: + https://github.com/oasisprotocol/oasis-sdk/tree/main/runtime-sdk diff --git a/docs/rofl/app.md b/docs/rofl/app.md new file mode 120000 index 0000000000..50a112030a --- /dev/null +++ b/docs/rofl/app.md @@ -0,0 +1 @@ +../../external/oasis-sdk/docs/rofl/app.md \ No newline at end of file diff --git a/docs/rofl/prerequisites.md b/docs/rofl/prerequisites.md new file mode 120000 index 0000000000..4de79acf45 --- /dev/null +++ b/docs/rofl/prerequisites.md @@ -0,0 +1 @@ +../../external/oasis-sdk/docs/rofl/prerequisites.md \ No newline at end of file diff --git a/docs/rofl/trust-root.md b/docs/rofl/trust-root.md new file mode 120000 index 0000000000..5b666d55c0 --- /dev/null +++ b/docs/rofl/trust-root.md @@ -0,0 +1 @@ +../../external/oasis-sdk/docs/rofl/trust-root.md \ No newline at end of file diff --git a/external/oasis-sdk b/external/oasis-sdk index 385af35781..f8fcfce74d 160000 --- a/external/oasis-sdk +++ b/external/oasis-sdk @@ -1 +1 @@ -Subproject commit 385af35781072dbe3d5e29f93951972f8ed71e92 +Subproject commit f8fcfce74df85e18428896e8206dc39e7edc516b diff --git a/sidebarRofl.ts b/sidebarRofl.ts new file mode 100644 index 0000000000..06add668ed --- /dev/null +++ b/sidebarRofl.ts @@ -0,0 +1,14 @@ +import {SidebarsConfig} from '@docusaurus/plugin-content-docs'; + +export const sidebarROFL: SidebarsConfig = { + rofl: [ + { + type: 'doc', + label: 'Overview', + id: 'rofl/README', + }, + 'rofl/prerequisites', + 'rofl/app', + 'rofl/trust-root', + ], +}; diff --git a/sidebars.ts b/sidebars.ts index dbec4e54fb..0e6781e1a9 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -7,6 +7,7 @@ import {sidebarGeneral} from './sidebarGeneral'; import {sidebarGetInvolved} from './sidebarGetInvolved'; import {sidebarNode} from './sidebarNode'; import {sidebarParaTime} from './sidebarParatime'; +import {sidebarROFL} from './sidebarRofl'; const sidebars: SidebarsConfig = { ...sidebarAdrs, @@ -16,6 +17,7 @@ const sidebars: SidebarsConfig = { ...sidebarGetInvolved, ...sidebarNode, ...sidebarParaTime, + ...sidebarROFL, }; export default sidebars;