Deploy multiple upgradeable contracts in one truffle project?

When I deploy the first upgradeable with truffle ,there are three contracts deployed.Then I deploy the second contract ,there are only two contracts deployed,the contract ProxyAdmin not deployed,is this correct?

1 Like

Hi @pageone,

There is only one ProxyAdmin deployed per network for your project.

A ProxyAdmin is a contract that acts as the owner of all your proxies. Only one per network gets deployed.
From: https://docs.openzeppelin.com/upgrades-plugins/1.x/faq#what-is-a-proxy-admin

I read the link you send,it said only one ProxyAdmin per net . If in one truffle project ,but two independent contracts,likethis

or two truffle projects with the same deployed address,

1 Like

Hi @pageone,

Per project (Truffle or Hardhat).

The address is stored in the network files:
https://docs.openzeppelin.com/upgrades-plugins/1.x/network-files

1 Like