Skip to content

cli: validate addresses before send and fund#286

Open
jovial-liu wants to merge 1 commit intoConway-Research:mainfrom
jovial-liu:cli-address-validation
Open

cli: validate addresses before send and fund#286
jovial-liu wants to merge 1 commit intoConway-Research:mainfrom
jovial-liu:cli-address-validation

Conversation

@jovial-liu
Copy link
Copy Markdown

Adds early validation to the creator CLI so invalid addresses fail fast instead of making network requests.

This covers:

  • automaton-cli send
  • automaton-cli fund
  • relay URL validation in send
  • a small CLI test file for invalid address handling

Validated with pnpm install, pnpm typecheck, pnpm build, and pnpm test src/__tests__/cli-commands.test.ts.

I also tried pnpm test -- cli-commands, but that surfaced unrelated existing failures in the repo.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant