@perp/curie-deployments
v2023.10.24-1698135142098
Published
Perpetual Protocol Curie (v2) contract artifacts (ABIs) and deployed addresses
Downloads
392
Readme
perp-curie-deployment
@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://[email protected]: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.