Skip to content

feat: enable SIWX sign-in for the TRON adapter#5684

Open
rtomas wants to merge 1 commit into
mainfrom
rtomas/lab-tron-ton-siwx-buttons
Open

feat: enable SIWX sign-in for the TRON adapter#5684
rtomas wants to merge 1 commit into
mainfrom
rtomas/lab-tron-ton-siwx-buttons

Conversation

@rtomas
Copy link
Copy Markdown
Contributor

@rtomas rtomas commented Jun 4, 2026

Description

Enable SIWX / Reown Authentication sign-in for the TRON adapter: TronAdapter.signMessage now delegates to the active connector's signMessage (TronLink signMessageV2 / WalletConnect tron_signMessage) instead of returning an empty signature, which the auth server rejected. The laboratory reown-authentication config gains the tron adapter plus a TRON wallet-buttons section so the flow is testable end to end.

This PR must be merged first: https://github.com/reown-com/web-monorepo/pull/2864

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

N/A

Showcase (Optional)

N/A

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

🤖 Generated with Claude Code

TronAdapter.signMessage previously returned an empty signature, which
broke SIWX / Reown Authentication (the server rejected the empty
signature). It now delegates to the active connector's signMessage to
produce a real signature. Also surfaces TRON in the laboratory
reown-authentication config and adds TRON wallet buttons.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
appkit-demo Ready Ready Preview, Comment Jun 4, 2026 3:39pm
appkit-gallery Ready Ready Preview, Comment Jun 4, 2026 3:39pm
appkit-headless-sample-app Ready Ready Preview, Comment Jun 4, 2026 3:39pm
appkit-laboratory Ready Ready Preview, Comment Jun 4, 2026 3:39pm
9 Skipped Deployments
Project Deployment Actions Updated (UTC)
appkit-basic-example Ignored Ignored Jun 4, 2026 3:39pm
appkit-basic-sign-client-example Ignored Ignored Jun 4, 2026 3:39pm
appkit-basic-up-example Ignored Ignored Jun 4, 2026 3:39pm
appkit-ethers5-bera Ignored Ignored Jun 4, 2026 3:39pm
appkit-nansen-demo Ignored Ignored Jun 4, 2026 3:39pm
appkit-wagmi-cdn-example Ignored Ignored Jun 4, 2026 3:39pm
ethereum-provider-wagmi-example Ignored Ignored Jun 4, 2026 3:39pm
next-wagmi-solana-bitcoin-example Ignored Ignored Jun 4, 2026 3:39pm
vue-wagmi-example Ignored Ignored Jun 4, 2026 3:39pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 4, 2026

🦋 Changeset detected

Latest commit: 1812a23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 26 packages
Name Type
@reown/appkit-adapter-tron Patch
@reown/appkit Patch
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-ton Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit-common Patch
@reown/appkit-universal-connector Patch
@reown/appkit-ui Patch
@reown/appkit-controllers Patch
@reown/appkit-core Patch
@reown/appkit-utils Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-polyfills Patch
@reown/appkit-wallet Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-wallet-button Patch
@reown/appkit-cdn Patch
@reown/appkit-experimental Patch
@reown/appkit-testing Patch
@reown/appkit-cli Patch
@reown/appkit-pay Patch
@reown/appkit-codemod Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Visual Regression Test Results ✅ Passed

⚠️ 15 visual change(s) detected

Chromatic Build: https://www.chromatic.com/build?appId=6493191bf4b10fed8ca7353f&number=928
Storybook Preview: https://6493191bf4b10fed8ca7353f-vadykncjqf.chromatic.com/

👉 Please review the visual changes in Chromatic and accept or reject them.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

📦 Bundle Size Check

All bundles are within size limits

📊 View detailed bundle sizes

> @reown/appkit-monorepo@1.7.1 size /home/runner/work/appkit/appkit


> size-limit

@reown/appkit - Main Entry
Size limit:   80 kB
Size:         75.79 kB with all dependencies, minified and gzipped
Loading time: 1.5 s    on slow 3G
Running time: 629 ms   on Snapdragon 410
Total time:   2.2 s
@reown/appkit/react
Size limit:   236 kB
Size:         235.03 kB with all dependencies, minified and gzipped
Loading time: 4.6 s     on slow 3G
Running time: 821 ms    on Snapdragon 410
Total time:   5.5 s
@reown/appkit/vue
Size limit:   80 kB
Size:         75.79 kB with all dependencies, minified and gzipped
Loading time: 1.5 s    on slow 3G
Running time: 183 ms   on Snapdragon 410
Total time:   1.7 s
@reown/appkit-scaffold-ui
Size limit:   220 kB
Size:         214.33 kB with all dependencies, minified and gzipped
Loading time: 4.2 s     on slow 3G
Running time: 578 ms    on Snapdragon 410
Total time:   4.8 s
@reown/appkit-ui
Size limit:   500 kB
Size:         13.16 kB with all dependencies, minified and gzipped
Loading time: 258 ms   on slow 3G
Running time: 70 ms    on Snapdragon 410
Total time:   327 ms

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.56% 39929 / 50823
🔵 Statements 78.56% 39929 / 50823
🔵 Functions 76.17% 4264 / 5598
🔵 Branches 86.66% 9745 / 11244
File CoverageNo changed files found.
Generated in workflow #17140 for commit 1812a23 by the Vitest Coverage Report Action

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