프로젝트
GitHub에서 보기
adrianhajdin/project_web3_battle_game
소개
AvaxGods는 돋보이는 디자인, 인터랙티브한 게임 플레이, 스마트 지갑 페어링, 스마트 계약과의 실시간 상호작용을 제공합니다. 무엇보다 다른 플레이어와 실시간으로 대결할 수 있습니다. 현재 YouTube에서 찾을 수 있는 Web3 대전형 온라인 멀티플레이어 카드 게임 중 최고이자 유일한 게임입니다.
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAvax Gods - Online Multiplayer Web3 NFT Card Game

Launch your development career with project-based coaching on JS Mastery Pro.
Instructions on setting up the Web3 part of the project
cd web3npx hardhat-> y → typescript → enter → enternpm install @openzeppelin/contracts dotenv @nomiclabs/hardhat-ethers+ Hardhat packagesnpm install --save-dev "hardhat@^2.12.0" "@nomicfoundation/hardhat-toolbox@^2.0.0"- Install Core, a Metamask smart wallet alternative built for Avalanche dApps
- Turn on the testnet mode by: opening up the Core extension -> click the hamburger menu on the top left -> go to advanced -> turn on the testnet mode
- Fund your wallet from the Avax Faucet
- Create a
.envfile and specify a PRIVATE_KEY variable. - To get to the private key, do the following steps:
- Open up the Core extension -> click the hamburger menu on the top left -> go to security and privacy -> click show recovery phase -> enter your password -> copy the phrase -> go to wallet.avax.network -> click access wallet -> choose mnemonic key phrase -> paste what the words we’ve copied from Core -> on the sidebar click manage keys -> view c-chain private key -> copy -> paste it in the .env file
- Copy the
hardhat.config.tsfile from the GitHub gist down in the description - Copy the
deploy.tsscript from the GitHub gist down in the description - Copy the
AvaxGods.solsmart contract code from the GitHub gist down in the description - Compile the contract by running the
npx hardhat compilecommand - Deploy the smart contract on the Fuji test network by running the
npx hardhat run scripts/deploy.ts --network fujicommand Move the/artifacts/contracts/AVAXGods.jsonfile to the/contractfolder on the frontend Copy the address of the deployed contract from the terminal and paste it into the/contract/index.jsfile of the frontend application
관련 프로젝트 살펴보기
불러오는 중…