UNPKG

@perp/perp-oracle-contract

Version:

Perpetual Protocol Curie (v2) oracle contracts - v0.5.0 is not an audited version

41 lines (22 loc) 1.47 kB
![image](https://user-images.githubusercontent.com/105896/160323275-78ec4b03-fd99-44da-83c5-241708baf9d7.png) # perp-oracle-contract [![@perp/perp-oracle-contract on npm](https://img.shields.io/npm/v/@perp/perp-oracle-contract?style=flat-square)](https://www.npmjs.com/package/@perp/perp-oracle-contract) This repository contains the oracle smart contracts for [Perpetual Protocol Curie (v2)](https://perp.com/). For core contracts, see [perp-curie-contract](https://github.com/perpetual-protocol/perp-curie-contract). Contract source code is also published as npm package: - [@perp/perp-oracle-contract](https://www.npmjs.com/package/@perp/perp-oracle-contract) ## Local Development You need Node.js 16+ to build. Use [nvm](https://github.com/nvm-sh/nvm) to install it. Clone this repository, install Node.js dependencies, and build the source code: ```bash git clone git@github.com:perpetual-protocol/perp-oracle-contract.git npm i npm run build ``` Run all the test cases: ```bash npm run test ``` ## Changelog See [CHANGELOG](https://github.com/perpetual-protocol/perp-oracle-contract/blob/main/CHANGELOG.md). --- > 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.