perp-curie-periphery-contract
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)
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 git@github.com: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.