Skip to content

aberghammer/hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We have a project folder for contract deployment:

"/hardhat"

Please install project first

cd hardhat
npm i

Compile contract with

npx hardhat compile

Test contract with

npx hardhat test

Deploy Contract with

npx hardhat deploy --network sepolia

(don´t forget to add the environment variables needed)

DEPLOY="..."
ES_API="..."
PS_API="..."
INFURA="..." \

We need the deployer private key, Etherscan API Key, Polygonscan API Key (optional) and Infura API Key

We have a folder for frontend

"/frontend"

Install and run the project

npm i
npm run dev