Skip to content

This repository contains examples of some complex contracts deployment like proxies and factories

Notifications You must be signed in to change notification settings

neonlabsorg/test-complex-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples of complex contracts deployment on Neon EVM

Clone the repository

Run the following command to clone the repository -

git clone https://github.com/neonlabsorg/test-complex-contracts.git

Install dependencies

Run the following command to install the dependencies -

cd neon-test-contracts
npm install --force

Create a .env file

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 and verify the contracts

UUPS Contract

  1. Deploy the contract:
npx hardhat run scripts/deployUUPS.js --network neondevnet
  1. Verify the contract:
npx hardhat verify <PROXY_CONTRACT_ADDRESS> --network neondevnet

TransparentUpgradeable Contract

  1. Deploy the contract:
npx hardhat run scripts/deployTransparentUpgradeable.js --network neondevnet
  1. Verify the contract:
npx hardhat verify <PROXY_CONTRACT_ADDRESS> --network neondevnet

Beacon Proxy Contract

  1. Deploy the contract:
npx hardhat run scripts/deployBeacon.js --network neondevnet
  1. Verify the contract:
npx hardhat verify <BEACON_PROXY_CONTRACT_ADDRESS> --network neondevnet

About

This repository contains examples of some complex contracts deployment like proxies and factories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published