Skip to content

software-mansion/cairo-oracle

Repository files navigation

Cairo Oracles

Oracles are external, untrusted processes that can be called from Cairo code to fetch data or perform computations not possible within the VM, like accessing web APIs or local files.

Warning

Oracle support in Scarb is experimental. It must be enabled with scarb execute --experimental-oracles or by setting the SCARB_EXPERIMENTAL_ORACLES=1 environment variable. Both the API and protocol are experimental and may change in future releases.

This monorepo is home for various packages helping to use external oracles in Cairo programs.

  • oracle - The main Cairo library which provides type-safe interfaces for interacting with external oracles in Cairo applications.
  • sdk/rust - Rust crate which provides a framework for writing oracles in Rust.
  • example - Example project showcasing oracle use.

About

Home for various packages helping to use external oracles in Cairo programs.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •