Decentralized play-to-earn Horse Racing game with custom Stallion Horse NFTs and fairly implemented race mechanics.
Stallion Run is a game built on top of Ethereum blockchain, where users earn by competing in races. Players purchase a Stallion Horse NFT to participate in races. Race results are generated randomly, but horse levels alter the probability of the win. The higher the horse level, the higher the chances of winning. The winner gets rewarded with entrance fees from all of the participating players.
- Custom NFT-collection consisting of 9000 NFT Horses.
- 3 Level of Horses.
- Each horse level has a unique speed buff.
- Chainlink VRF used for random horse speeds
- Chainlink Keepers used to automate the smart-contract functionality.
- No centralized entity in charge of in-game functionality.
Client(Under development): React, TailwindCSS
Smart-contract: Solidity
Testing and deployment: Hardhat
git clone https://github.com/MDJ-Labs/stallion-run
cd stallion-run
npm install
npx hardhat compile
npx hardhat deploy --network goerli
npx hardhat node
- change 'defaultNetwork' to 'hardhat' in hardhat.config.js file
npx hardhat deploy
git checkout new-frontend
npm run dev