8000 GitHub - reaperdragon/ChainBattles
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

reaperdragon/ChainBattles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChainBattles

Third Week Challenge Completed. This Project is made with Hardhat, Alchemy.

Challenges :

  • Substitute the current tokenIdToLevels[] mapping with a struct that stores: Level, Speed, Strength, Life.

Getting Started

clone the repo

git clone https://github.com/Aakrut/ChainBattles

set up the .env file in root directory

TESTNET_RPC="YOUR_POLYGON_HTTP_URL"
POLYGONSCAN_API_KEY="YOUR_API_KEY"
PRIVATE_KEY="YOUR_METAMASK_SECRET_KEY"

⚠️WARNING : Before Uploading the project to github, make sure you don't have any real money in your account, so create a test account.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0