/castles-contract

Contract for Castles

Primary LanguageSolidityMIT LicenseMIT

Castles contract

Usage

  1. Clone the repository with git clone git@github.com:backmeupplz/castles-contract
  2. Install the dependencies with yarn
  3. Add environment variables to your .env file
  4. Run the scripts below

Environment variables

Name Description
ETHERSCAN_API_KEY Etherscan API key
ETH_RPC Ethereum RPC URL
CONTRACT_OWNER_PRIVATE_KEY Private key of the contract owner to deploy the contracts
COINMARKETCAP_API_KEY Coinmarketcap API key

Also check out the .env.sample file for more information.

Available scripts

Check out the package.json file for more information.