Skip to content
Draft
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
13 changes: 13 additions & 0 deletions docs/contract/confidential-smart-contract.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import DocCard from '@theme/DocCard';
import {findSidebarItem} from '@site/src/sidebarUtils';

# Confidential Hello World

In this chapter we are going to see how to:
Expand Down Expand Up @@ -303,6 +306,16 @@ event][emit_event] will be public.

:::

:::info

You can view and download a [complete example] from the Oasis SDK repository.

:::

## See also

<DocCard item={findSidebarItem('/node/run-your-node/paratime-client-node')} />

<!-- markdownlint-disable line-length -->
[emit_event]:
https://api.docs.oasis.io/oasis-sdk/oasis_contract_sdk/context/trait.Context.html#tymethod.emit_event
Expand Down
18 changes: 18 additions & 0 deletions docs/contract/hello-world.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import DocCard from '@theme/DocCard';
import {findSidebarItem} from '@site/src/sidebarUtils';

# Hello World

This section will show you how to quickly create, build and test a minimal
Expand Down Expand Up @@ -341,4 +344,19 @@ the instantiated contract. Next, you can test calling the contract.
oasis contracts call INSTANCEID '{say_hello: {who: "me"}}'
```

:::info

You can view and download a [complete example] from the Oasis SDK repository.

:::

## See also

<DocCard item={findSidebarItem('/node/run-your-node/paratime-client-node')} />

<!-- markdownlint-disable line-length -->
[complete example]:
https://github.com/oasisprotocol/oasis-sdk/tree/main/examples/contract-sdk/hello-world
<!-- markdownlint-enable line-length -->

<!-- TODO: Expand. -->