Skip to content

Commit

Permalink
Merge pull request #2115 from oasisprotocol/matevz/docs/rofl-oracle-d…
Browse files Browse the repository at this point in the history
…eployment-fixes

docs: Build dependencies before deploying oracle
  • Loading branch information
matevz authored Dec 18, 2024
2 parents 6264f08 + 4f7d53c commit b264c4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/rofl/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b264c4f

Please sign in to comment.