Skip to content

astraly-labs/pragma-monorepo

Repository files navigation

Pragma

GitHub Actions codecov Foundry License: MIT

Rust

Pragma CLI

CLI used to interact with the Pragma protocol.

  • Register yourself as a data provider
  • Schedule new data feeds
  • Connect pragma to your protocol

Theoros

Request the API to construct the calldata necessary for cross-chain updates.

  • Listens for live data feeds update
  • Retrieves the signatures of the Hyperlane Validators
  • Constructs the calldata for data feeds requested through HTTP/WebSocket

Solidity

Solidity SDK

Solidity contracts & libraries.

  • Set of contracts used to store data relayed from Pragma chain using Hyperlane.
  • SDK that can be used by EVM protocols looking to integrate Pragma.

Local Development

Foundry

First ensure you have Foundry installed on your machine.

Run the following to install foundryup:

curl -L https://foundry.paradigm.xyz | bash

Then run foundryup to install forge, cast, anvil and chisel.

foundryup

Check out the Foundry Book for more information.