Skip to content

Implement AnchorKit config preset validator #199

Description

@El-swaggerito

Description

Difficulty: Expert

Type: Feature

Summary

Implement validation for AnchorKit configuration presets.

Current Behaviour

Config presets may not consistently validate network, endpoints, feature flags, and environment assumptions.

Expected Behaviour

AnchorKit should validate configuration presets before they are used by examples or apps.

Suggested Implementation

Create preset schema, validator, typed errors, tests, and documentation.

Files or Areas Likely Affected

  • packages/config/
  • packages/validators/
  • apps/web/
  • examples/
  • tests/
  • docs/

Acceptance Criteria

  • Config preset validator is implemented.
  • Network and endpoint values are validated.
  • Feature flags are validated.
  • Invalid config returns typed errors.
  • Tests cover valid and invalid presets.
  • Docs explain preset usage.

Additional Notes

This reduces contributor setup problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labelconfigConfiguration related workexpertExpert difficultyfeatureFeature workmonorepoMonorepo architecture worknetworkNetwork related worktestTesting work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions