Skip to content

perpetual-protocol/perp-oracle-contract

Repository files navigation

image

perp-oracle-contract

@perp/perp-oracle-contract on npm

This repository contains the oracle smart contracts for Perpetual Protocol Curie (v2). For core contracts, see perp-curie-contract.

Contract source code is also published as npm package:

Local Development

You need Node.js 16+ to build. Use nvm to install it.

Clone this repository, install Node.js dependencies, and build the source code:

git clone [email protected]:perpetual-protocol/perp-oracle-contract.git
npm i
npm run build

Run all the test cases:

npm run test

Changelog

See CHANGELOG.


If any features/functionalities described in the Perpetual Protocol documentation, code comments, marketing, community discussion or announcements, pre-production or testing code, or other non-production-code sources, vary or differ from the code used in production, in case of any dispute, the code used in production shall prevail.