Contract for Castles https://castles.lol
  • Solidity 62.1%
  • TypeScript 37.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claude 4c0e2dffac CI: run on git.borodutch.com (Forgejo Actions)
Non-Pages workflows move to .forgejo/workflows; GitHub (a push mirror) keeps only Pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 13:38:20 -07:00
.forgejo/workflows CI: run on git.borodutch.com (Forgejo Actions) 2026-10-22 13:38:20 -07:00
.github CI: run on git.borodutch.com (Forgejo Actions) 2026-10-22 13:38:20 -07:00
.vscode Initial commit 2024-05-28 15:51:25 -07:00
.yarn Initial commit 2024-05-28 15:51:25 -07:00
contracts fix max duration 2024-06-04 13:15:05 -07:00
scripts fix deploy 2024-05-29 11:14:56 -07:00
test fix tests 2024-05-29 11:21:52 -07:00
.env.sample Initial commit 2024-05-28 15:51:25 -07:00
.eslintignore Initial commit 2024-05-28 15:51:25 -07:00
.eslintrc.json Initial commit 2024-05-28 15:51:25 -07:00
.gitignore fix git 2024-05-29 11:25:09 -07:00
.nvmrc Initial commit 2024-05-28 15:51:25 -07:00
.prettierignore Initial commit 2024-05-28 15:51:25 -07:00
.prettierrc Initial commit 2024-05-28 15:51:25 -07:00
.solhint.json Initial commit 2024-05-28 15:51:25 -07:00
.solhintignore Initial commit 2024-05-28 15:51:25 -07:00
.yarnrc.yml Initial commit 2024-05-28 15:51:25 -07:00
hardhat.config.ts Initial commit 2024-05-28 15:51:25 -07:00
LICENSE Update copyright year in LICENSE file 2024-05-28 16:03:21 -07:00
package.json 0.1.2 2024-05-30 11:10:19 -07:00
README.md bump dependencies 2024-05-28 15:58:31 -07:00
tsconfig.json Initial commit 2024-05-28 15:51:25 -07:00
yarn.lock fix git 2024-05-29 11:25:09 -07:00

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.