Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/EmanuelCampos/proxy-contract

A basic proxy contract
https://github.com/EmanuelCampos/proxy-contract

Last synced: 15 days ago
JSON representation

A basic proxy contract

Lists

README

        

## Proxy Contract

1. install the packages.
`yarn install`

2. install the types.
`yarn hardhat compile`

## Deploy Phases

1. setup your infura/alchemy provider and private key to deploy the contract.

2. setup your etherscan api key to verify the contract.

command to compile the contract and get api:
`npx hardhat compile`;

command to run the tests:
`npx hardhat test`;

List of contracts that can be deployed can be found in scripts folder. to genesis and mythical works you ened to deploy all from the phase-one folder.

command to deploy the contracts to rinkeby:
`npx hardhat run scripts/${scriptName}.js --network`;

command to verify the contract:
`npx hardhat verify --network rinkeby YOUR_CONTRACT_ADDRESS`;