pyth-crosschain/target_chains/starknet/contracts
Pavel Strakhov dd9b07b5e4
refactor(target_chains/starknet): generalize array_try_into (#1555)
2024-05-07 16:18:18 +01:00
..
deploy feat(target_chains/starknet): wormhole governance VAA verification (#1547) 2024-05-06 14:07:49 +01:00
src refactor(target_chains/starknet): generalize array_try_into (#1555) 2024-05-07 16:18:18 +01:00
tests refactor(target_chains/starknet): generalize array_try_into (#1555) 2024-05-07 16:18:18 +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.