pyth-crosschain/target_chains/starknet/contracts
Pavel Strakhov 4e630edac0
feat(target_chains/starknet): fee collection (#1527)
* feat(target_chains/starknet): fee collection

* refactor(target_chains/starknet): renames and comments
2024-04-30 23:03:29 +01:00
..
deploy feat(target_chains/starknet): fee collection (#1527) 2024-04-30 23:03:29 +01:00
src feat(target_chains/starknet): fee collection (#1527) 2024-04-30 23:03:29 +01:00
tests feat(target_chains/starknet): fee collection (#1527) 2024-04-30 23:03:29 +01:00
.gitignore test(target_chains/starknet): add wormhole contract tests 2024-04-19 17:48:31 +01:00
.tool-versions doc(target_chains/starknet): add local deployment script 2024-04-23 12:41:59 +01:00
README.md doc(target_chains/starknet): add readme 2024-04-23 13:05:10 +01:00
Scarb.lock feat(target_chains/starknet): fee collection (#1527) 2024-04-30 23:03:29 +01:00
Scarb.toml feat(target_chains/starknet): fee collection (#1527) 2024-04-30 23:03:29 +01:00

README.md

Pyth Starknet Contract

This directory contains the Pyth contract on Starknet.

Installation

  1. Install Scarb (the Cairo and Starknet development toolchain) by following the installation instructions.
  2. 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

  1. Install Starkli (a cli tool for Starknet) by following the installation instructions.
  2. Install Katana (a local Starknet node) by following the installation instructions.
  3. Run the deploy/local_deploy setup script.