Run the following command to clone the repository -
git clone https://github.com/neonlabsorg/test-complex-contracts.git
Run the following command to install the dependencies -
cd neon-test-contracts
npm install --force
Create a .env
file in the root directory and place the following line inside and replace the value with your private key -
PRIVATE_KEY_OWNER=XYZ
- Deploy the contract:
npx hardhat run scripts/deployUUPS.js --network neondevnet
- Verify the contract:
npx hardhat verify <PROXY_CONTRACT_ADDRESS> --network neondevnet
- Deploy the contract:
npx hardhat run scripts/deployTransparentUpgradeable.js --network neondevnet
- Verify the contract:
npx hardhat verify <PROXY_CONTRACT_ADDRESS> --network neondevnet
- Deploy the contract:
npx hardhat run scripts/deployBeacon.js --network neondevnet
- Verify the contract:
npx hardhat verify <BEACON_PROXY_CONTRACT_ADDRESS> --network neondevnet