Skip to content

feat: add sign message to example - #2242

Merged
mjuchli-da merged 5 commits into
mainfrom
mjuchli/example-ping-signmessage
Aug 6, 2026
Merged

feat: add sign message to example#2242
mjuchli-da merged 5 commits into
mainfrom
mjuchli/example-ping-signmessage

Conversation

@mjuchli-da

Copy link
Copy Markdown
Contributor
image

Signed-off-by: Marc Juchli <marc.juchli@digitalasset.com>
@mjuchli-da mjuchli-da self-assigned this Aug 6, 2026
@mjuchli-da
mjuchli-da requested a review from a team as a code owner August 6, 2026 11:53
Copilot AI lite review requested due to automatic review settings August 6, 2026 11:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Signing” feature to the examples/ping dApp so users can sign an arbitrary message via the wallet and view the returned signature payload.

Changes:

  • Introduces a new Signing component that calls sdk.dappSDK.signMessage({ message }) and renders the result.
  • Wires the new component into App.tsx as an additional tab shown when connected.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
examples/ping/src/components/Signing.tsx New UI + logic to sign a message and display the response (with loading + error handling).
examples/ping/src/App.tsx Adds a “Signing” tab and mounts the new Signing component in the tab content area.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/ping/src/components/Signing.tsx
Comment thread examples/ping/src/components/Signing.tsx
mjuchli-da and others added 4 commits August 6, 2026 14:03
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Marc Juchli <120378272+mjuchli-da@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Marc Juchli <120378272+mjuchli-da@users.noreply.github.com>
Signed-off-by: Marc Juchli <marc.juchli@digitalasset.com>
@mjuchli-da
mjuchli-da enabled auto-merge (squash) August 6, 2026 13:36
@mjuchli-da
mjuchli-da merged commit 9ca0acc into main Aug 6, 2026
27 checks passed
@mjuchli-da
mjuchli-da deleted the mjuchli/example-ping-signmessage branch August 6, 2026 14:01
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.

3 participants