From 4f7d53cca1368f967c7db2d7b99f83e2f3eb34cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Mon, 16 Dec 2024 12:54:34 +0100 Subject: [PATCH] docs: Build dependencies before deploying oracle --- docs/rofl/deployment.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/rofl/deployment.md b/docs/rofl/deployment.md index 55aad6c1b0..c254ab6f79 100644 --- a/docs/rofl/deployment.md +++ b/docs/rofl/deployment.md @@ -111,8 +111,15 @@ We have prepared a simple oracle contract for this example. You can find it by checking out the [prepared example project] from the Oasis SDK repository. It contains a simple [Oracle.sol] contract which collects observations from authenticated ROFL app instances, performs trivial aggregation and stores the -final aggregated result. See the [Sapphire quickstart] chapter for more details -on building and deploying Sapphire smart contracts. +final aggregated result. Read the [Sapphire quickstart] chapter to learn how to +build and deploy Sapphire smart contracts, but to get you up and running for +this part, simply copy the example project from above, install dependencies and +compile the smart contract by executing: + +```shell +npm install +npx hardhat compile +``` Configure the `PRIVATE_KEY` of the deployment account and the ROFL app identifier (be sure to use the identifier that you received during