@perp/curie-deployments

2023.10.24-1698135142098 • 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.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @perp/curie-deployments

Homepage

perp.com/

Weekly Downloads

339

Version

2023.10.24-1698135142098

License

GPL-3.0-or-later

Unpacked Size

5.82 MB

Total Files

814

Last publish

Collaborators

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