Skip to content

feat: add support for arc27#194

Merged
wjbeau merged 6 commits into
mainfrom
wjbeau/arc27
Jul 17, 2026
Merged

feat: add support for arc27#194
wjbeau merged 6 commits into
mainfrom
wjbeau/arc27

Conversation

@wjbeau

@wjbeau wjbeau commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Pull Request Template

Description

Implements support for ARC27 browser extension protocol and also adds an "experimental" flag (defaults to false) to enable it (and other future experimental features) so that we don't have to block the release of the lib.

Also fixes a bug with ARC0001 where signers was not being propagated correctly.

Related Issues

N/A

Checklist

  • Have you tested your changes locally?
  • Have you reviewed the code for any potential issues?
  • Have you documented any necessary changes in the project's documentation?
  • Have you added any necessary tests for your changes?
  • Have you updated any relevant dependencies?

Additional Notes

  • Add any additional notes or comments that may be helpful for reviewers.

@wjbeau
wjbeau requested a review from yasincaliskan July 17, 2026 12:01
wjbeau and others added 3 commits July 17, 2026 15:09
…60Data with spec

- signArc60Data now pre-validates payload.domain against the page
  origin on every transport (previously extension-only) and throws
  the new SIGN_DATA_DOMAIN_MISMATCH error before contacting the wallet
- API signature now mirrors ARC-60's signData(signingData, metadata):
  metadata (scope + encoding) is a separate second argument instead of
  a field on the payload; the wire format is unchanged (still unified
  into a single object)
- Breaking for signArc60Data callers; there are no live ARC-60 users

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@wjbeau
wjbeau merged commit 37901ab into main Jul 17, 2026
1 check passed
@wjbeau
wjbeau deleted the wjbeau/arc27 branch July 17, 2026 14:50
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