I want to configure my project to use OpenZeppelin relay to deploy the smart contract. We also use OpenZeppelin upgrades.
Environment
Open Zeppelin Relay. I haven't been able to set it up with hardhat to deploy.
Code to reproduce
Current deployment script which doesn't use Relay
const hre = require("hardhat");
async function main() {
const NFT = await ethers.getContractFactory("NFT");
const nft = await upgrades.deployProxy(NFT, [5]);
await nft.deployed();
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});