Skip to content

perpetual-protocol/perp-curie-periphery-contract

Repository files navigation

image

perp-curie-periphery-contract

@perp/curie-periphery-contract on npm @perp/curie-deployments on npm

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

Contract source code and metadata are also published as npm package:

Deployments

Perpetual Protocol Curie (v2) are deployed on Optimism mainnet (an Ethereum Layer 2 network).

You could find the deployed periphery contract addresses inside the npm package @perp/curie-deployments.

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-curie-periphery-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.