An open API service indexing awesome lists of open source software.

https://github.com/pawanpaudel93/cryptozombies-contract

CryptoZombies contract
https://github.com/pawanpaudel93/cryptozombies-contract

Last synced: 2 months ago
JSON representation

CryptoZombies contract

Awesome Lists containing this project

README

        



CryptoZombies

CryptoZombies


---

CryptoZombies is a blockchain based game which i learned from CryptoZombies website which helped me with my solidity programming skills.

### Installing dependencies
```
yarn install
```

And set the environment variables for the following

```
ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
RINKEBY="https://eth-rinkeby.alchemyapi.io/v2/"
PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
RINKEBY_VRF_COORDINATOR_V2_ADDRESS="0x6168499c0cFfCaCD319c818142124B7A15E857ab"
RINKEBY_CHAINLINK_SUB_ID=
RINKEBY_CRYPTO_KITTIES_CONTRACT="0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF"
RINKEBY_KEY_HASH="0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc"
```

## 🔧 Running the tests

```
npx hardhat test
```

## 🚀 Deployment

```
npx hardhat deploy --network rinkeby --tags "cryptozombies"
```