Skip to content

oasisprotocol/demo-rofl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo ROFL App

This is a demo ROFL app that runs in TDX using Podman containers defined in a compose.yaml file. It implements a simple price oracle in a shell script!

Documentation

See the ROFL documentation for more details about ROFL-specific features available to ROFL apps and on how to deploy the apps. See the tutorial on how to create your own version of this app.

Oracle Smart Contract

The /oracle directory contains the smart contract code for the oracle implementation, sourced from the Oasis SDK rofl-oracle example. It includes:

  • Solidity smart contract (contracts/Oracle.sol)
  • Hardhat configuration and deployment scripts

To update this contract code with the latest version:

# Run from the root directory of this repository
./scripts/update-oracle.sh

Existing Deployment

The rofl.yaml in this repository defines an existing deployment named test that is used for testing of the demo ROFL app. If you want to modify any of the application aspects, you need to create your own deployment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •