|
||
---|---|---|
.. | ||
deploy | ||
src | ||
tests | ||
.gitignore | ||
.tool-versions | ||
README.md | ||
Scarb.lock | ||
Scarb.toml |
README.md
Pyth Starknet Contract
This directory contains the Pyth contract on Starknet.
Installation
- Install Scarb (the Cairo and Starknet development toolchain) by following the installation instructions.
- Install Starknet Foundry by following the installation instructions.
The .tool-versions
file in this directory specifies the tool versions used by the contract.
Testing
Run snforge test
in this directory to run the contract unit tests and integration tests.
Local deployment
- Install Starkli (a cli tool for Starknet) by following the installation instructions.
- Install Katana (a local Starknet node) by following the installation instructions.
- Run the
deploy/local_deploy
setup script.