Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROFL: Move examples to separate rofl- projects #2090

Open
matevz opened this issue Dec 3, 2024 · 0 comments
Open

ROFL: Move examples to separate rofl- projects #2090

matevz opened this issue Dec 3, 2024 · 0 comments
Assignees
Labels
c:docs Category: documentation c:rofl Category: ROFL

Comments

@matevz
Copy link
Member

matevz commented Dec 3, 2024

So that the ROFL docs could simply point to the rofl demo repo which a developer could check out and use it as a starter project. See for example the Sapphire quickstart: https://docs.oasis.io/dapp/sapphire/quickstart#all-done

We could also migrate the current hardhat+typescript boilerplate code for smart contracts to Foundry, since it's all rust-based.

Proposed structure for rofl-oracle:

  • src/ (rofl rust code)
  • contracts/ (smart contract code, foundry project)
    • src (.sol files)
    • foundry.toml
    • Cargo.toml (name = "rofl-oracle-contracts")
  • rofl.yml (includes policy)
  • Cargo.toml (name = "rofl-oracle")
  • rust-toolchain.toml
  • .cargo/
    • config.toml

Alternatively, rofl-oracle-contracts could be a separate git repo and a submodule of rofl-oracle and rofl-oracle-tdx projects.

@matevz matevz self-assigned this Dec 3, 2024
@matevz matevz added c:docs Category: documentation c:rofl Category: ROFL labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:docs Category: documentation c:rofl Category: ROFL
Projects
None yet
Development

No branches or pull requests

1 participant