@perp/curie-deployments

2023.5.12-1683884628742 • Public • Published

perp-curie-deployment

@perp/curie-deployments on npm

@perp/curie-deployments contains the contract artifacts and metadata (deployed addresses) of all contracts in Perpetual Protocol Curie (v2).

Contract Source Code

Contract Artifacts and Metadata

The folder structure of this package:

node_modules/@perp/curie-deployments/
├── optimism/
│   ├── core/
│   │   ├── artifacts/
│   │   │   └── contracts/
│   │   ├── dependencies.json
│   │   └── metadata.json
│   ├── periphery/
│   │   ├── artifacts/
│   │   │   └── contracts/
│   │   ├── dependencies.json
│   │   └── metadata.json
│   └── liquidity-mining
│       ├── artifacts/
│       │   └── contracts/
│       ├── dependencies.json
│       └── metadata.json
├── optimism-goerli
    └── ...

You could find the deployed contract addresses inside metadata.json under each network.

Package Versions

If possible, it's recommended to publish a new npm version first and use that version to deploy contracts.

When using git+ssh://git@github.com:perpetual-protocol/perp-xxx.git#GIT_COMMIT_SHA to deploy contracts, every time we deploy, we must increase the version of package.json in perp-xxx to avoid version conflicts of yarn install. For instance, change to 2.0.0-rc1, 2.0.0-rc2 and so on. Otherwise, yarn might not install the correct version.

Yarn Install

Please use yarn --network-concurrency 1 to install packages. You may encounter problem such as ENOENT: no such file or directory... if using yarn directly.

Install

npm i @perp/curie-deployments

Homepage

perp.com/

DownloadsWeekly Downloads

646

Version

2023.5.12-1683884628742

License

GPL-3.0-or-later

Unpacked Size

5.79 MB

Total Files

806

Last publish

Collaborators

  • miyachen
  • perp_dev
  • yurenju
  • wraecca
  • kimiwu
  • detoo
  • vinta