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:
- @perp/curie-periphery-contract (source code)
- @perp/curie-deployments (artifacts and deployed addresses)
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.
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 firstname.lastname@example.org:perpetual-protocol/perp-curie-periphery-contract.git npm i npm run build
Run all the test cases:
npm run test
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.