Skip to content

Perpetual Protocol Curie (v2) core contracts optimized for gas perpetuals

License

Notifications You must be signed in to change notification settings

jzhao23/perp-curie-gas

 
 

Repository files navigation

banner

perp-curie-contract

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

This repository contains the core smart contracts for Perpetual Protocol Curie (v2).

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

Get Started

Please check out:

Deployments

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

Contract addresses:

You could also find the deployed 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-contract.git
npm i
npm run build

If the installation failed on your machine, please try a vanilla install instead:

npm run clean
rm -rf node_modules/
rm package-lock.json
npm install
npm run build

Run all the test cases:

npm run test

Changelog

See CHANGELOG.

Audit Reports

See audits.

Bug Bounty Program

This repository is subject to the Perpetual Protocol v2 bug bounty program, per the terms defined on ImmuneFi.

Grant Program

Projects, ideas and events that benefit Perpetual Protocol and its ecosystem are eligible for grants!

Related Projects

About

Perpetual Protocol Curie (v2) core contracts optimized for gas perpetuals

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 77.5%
  • Solidity 22.5%