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
- Host: GitHub
- URL: https://github.com/EmanuelCampos/proxy-contract
- Owner: EmanuelCampos
- Created: 2022-06-07T23:52:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T00:01:10.000Z (about 2 years ago)
- Last Synced: 2024-04-23T00:18:21.577Z (2 months ago)
- Language: TypeScript
- Size: 664 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Lists
- my-awesome-stars - EmanuelCampos/proxy-contract - A basic proxy contract (TypeScript)
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`;