Skip to content

danhendrickson/GladiatorReceiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GladiatorReceiver Contract

Getting started

  1. Install Dependencies
npm install
  1. Setup Environment The .env keys needs the following values ( Goerli can be ignored if not being used ):
ETHERSCAN_API_KEY="API_KEY_FROM_ETHERSCAN"
ALCHEMY_API_KEY="API_KEY_FROM_ALCHEMY"
ETHEREUM_PRIVATE_KEY="ETH_PK"
SEPOLIA_PRIVATE_KEY="SEP_PK"
REPORT_GAS=true
  1. Run tests
npx hardhat test

Expected Test Output

  Gladiator Receiver Contract

Gas Analysis

Deploying

Note: The {yourNetwork} value should be replaced with sepolia or ethereum based on the deploy target network.

Test using Hardhat

npx hardhat test --grep GladiatorReceiver

Deploy using Hardhat -- Will return newly created contract address

npx hardhat run --network {yourNetwork} scripts/deployGladiator.js

Verify using Hardhat -- Will take a minute or so and respond will Verification success

npx hardhat verify --network {yourNetwork} {contractAddress} --constructor-args {pathToArgumentsFile}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published