diff --git a/docs/contract/confidential-smart-contract.md b/docs/contract/confidential-smart-contract.md index 44d6b8745d..ac3315bcca 100644 --- a/docs/contract/confidential-smart-contract.md +++ b/docs/contract/confidential-smart-contract.md @@ -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: @@ -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 + + + [emit_event]: https://api.docs.oasis.io/oasis-sdk/oasis_contract_sdk/context/trait.Context.html#tymethod.emit_event diff --git a/docs/contract/hello-world.md b/docs/contract/hello-world.md index b3e9d132bb..d5ee4f9aa7 100644 --- a/docs/contract/hello-world.md +++ b/docs/contract/hello-world.md @@ -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 @@ -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 + + + + +[complete example]: + https://github.com/oasisprotocol/oasis-sdk/tree/main/examples/contract-sdk/hello-world + +