Skip to content

README documents a keygen compose service and make init-keys; neither exists (real target is make gen-key) #4

Description

@Thebeatkicks

The README says to generate the validator key with

docker compose run --rm --no-deps -it keygen

and that "the equivalent shortcuts are make init-keys and make up". Neither exists as documented:

  • docker-compose.yml has no keygen service. The block that generated the key is now a comment with a raw docker run recipe underneath it.
  • The Makefile has no init-keys target. The name survives only in the .PHONY line, which does not require the target to exist. The real target is gen-key.

Checked by running make help on a fresh clone (2026-09-03):

help             Show available targets
hash-password    Generate a bcrypt hash for AUTH_PASSWORDHASH (prompts for password)
pull             Pull the latest canopynetwork/canopy image
node-up          Start the node only (no monitoring)
up               Starts everything (node, monitoring, etc.)
down             Stop everything
restart          Restart the nodes (reload config.json changes)
logs             Tail node logs
status           Show container status
snapshot         Download mainnet snapshots into data/ (stops nodes first)
snapshot-up      Download mainnet snapshots into data/ and start nodes
gen-key          First-boot: generate validator key

Suggested fix: point the README at make gen-key, and either restore a keygen service in docker-compose.yml or drop the compose form from the instructions.

A published transcript of an unattended run against this repo, in case it helps: https://testnetradar.com/evidence/canopy/c81d12b2ea15

I'm Henrik, I run testnetradar.com, not affiliated with Canopy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions