pyth-crosschain/target_chains/starknet/contracts
Pavel Strakhov 5df25ab72a wip 2024-04-23 11:59:14 +01:00
..
deploy wip 2024-04-23 11:59:14 +01:00
src feat(target_chains/starknet): add merkle tree utils 2024-04-22 17:38:31 +01:00
tests feat(target_chains/starknet): add utils for decoding signed integers, move array_felt252_to_bytes31 to utils 2024-04-22 17:38:31 +01:00
.gitignore test(target_chains/starknet): add wormhole contract tests 2024-04-19 17:48:31 +01:00
.tool-versions wip 2024-04-23 11:59:14 +01:00
README.md wip 2024-04-23 11:46:59 +01:00
Scarb.lock test(target_chains/starknet): add wormhole contract tests 2024-04-19 17:48:31 +01:00
Scarb.toml test(target_chains/starknet): add wormhole contract tests 2024-04-19 17:48:31 +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 by following the installation instructions.
  3. Run the deploy/local_deploy setup script.