Skip to content

feat(anchor): in-process Stellar signer; readable code; fix permitted() and contact email - #3

Merged
helloworld1-star merged 1 commit into
mainfrom
feat/anchor-signer-and-quality
Oct 9, 2026
Merged

helloworld1-star merged 1 commit into
mainfrom
feat/anchor-signer-and-quality

Conversation

@helloworld1-star

Copy link
Copy Markdown
Contributor
  • Adds src/anchor.ts: the stellar-anchor job needed an external signing service that did not exist. The worker can now build, sign, and submit the registry anchor call itself (STELLAR_SIGNER_SECRET + STELLAR_EVIDENCE_ANCHOR_CONTRACT). The sidecar still works and takes priority. Closes the signing-service issue. Retries are safe because the contract treats an identical anchor as a no-op.
  • Shares one implementation for evidence and attestation anchoring in the worker.
  • Formats all source with Prettier (it was written as lines up to 800 characters). No behavior change; the same tests passed before and after.
  • permitted() threw a TypeError for role names like proto; it now denies them.
  • Fixes the misspelled security contact (gmaill.com).
  • Tests: 10 to 59. Adds format:check and typecheck to CI (job name build-and-test is unchanged).

Verified locally: format:check, typecheck, build, 59 tests pass. Not verified: a live testnet anchor. That needs the registry controller key.

🤖 Generated with Claude Code

… and contact email

The stellar-anchor job required an external signing service that did not
exist. Add src/anchor.ts: manifest builders, the sidecar client, and an
in-process Soroban signer that calls the registry's anchor function, selected
from the environment. Share one implementation for evidence and attestations.

Format all source with Prettier (no behavior change), deny role names that
resolve through Object.prototype, and fix the misspelled security contact.
Tests: 10 to 59.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@helloworld1-star
helloworld1-star merged commit efc0238 into main Oct 9, 2026
1 check passed
@helloworld1-star
helloworld1-star deleted the feat/anchor-signer-and-quality branch October 9, 2026 11:02
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.

2 participants