Quick Start
Getting started with a project
Good to know: Remember that the return object for get_value is a PriceTick.
Developing Locally
To test Stork for local development, you can mock out the price-returning part of Stork. We recommend calling the actual testnet contract to get a sample response, and then update the let price_tick
line below with the appropriate data.
Python
For Python, we recommend using Starknet.py.
The current address of
OracleProxy
available on the Welcome PageThe name of the asset from the Assets page.
Cairo
To use Stork in your contract, you'll need the following:
The interface
IOracleProxy
file for theOracleProxy
you'll be interacting withThe current address of
OracleProxy
available on the Welcome PageThe name of the asset from the Assets page.
CLI
To interact with Stork using the CLI, you'll need the following:
(for CLI only, not Nile) The ABI file for the OracleProxy you'll be interacting with, available on the Welcome Page.
The name of the asset from the Assets page.
To use the StarkNet CLI follow this guide. To Install Nile, follow that guide.
Last updated