Skip to content

Conversation

@marcelosalloum
Copy link
Contributor

@marcelosalloum marcelosalloum commented Jan 24, 2026

What

How-to guide on how to sign contract invocations using G-accounts or C-accounts.

Although the guide covers both signing types (transaction signing, and auth-entry signing), it focuses more heavily on the auth-entry signing, which is new(er), more complicated and lacks documentation.

Why

Having the opportunity to interact with multiple projects that enforce that flow (Launchtube, OpenZeppelin Relayer, WalletBackend, MeridianPay), I know very well how that's poorly documented and has many pitfalls.

This guide provides working code examples using AssembledTransaction, explains simulation and auth requirements, and includes visual diagrams to clarify the authorization flow.

AI

The guide and snippets have been tested by multiple AI agents for functionality and clarity ✅

Preview

Should be deployed to:
https://developers-pr2206.previews.kube001.services.stellar-ops.com/docs/build/guides/transactions/signing-soroban-invocations

Copilot AI review requested due to automatic review settings January 24, 2026 01:19
@marcelosalloum marcelosalloum self-assigned this Jan 24, 2026
@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Jan 24, 2026
@marcelosalloum marcelosalloum moved this from Backlog (Not Ready) to Needs Review in DevX Jan 24, 2026
@marcelosalloum marcelosalloum changed the title How-To Guide: add a guide on how to sign contract invocations using C-accounts How-To Guide: on how to sign contract invocations using C-accounts Jan 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a comprehensive how-to guide for signing Soroban smart contract invocations, addressing a significant documentation gap. The guide covers two distinct signing methods: traditional transaction signing for G-accounts and the more complex auth-entry signing for both G-accounts and C-accounts (contract accounts/smart wallets). The guide emphasizes auth-entry signing, which enables sponsored transactions, relayed transactions, and smart wallet integrations.

Changes:

  • Added comprehensive guide documenting transaction signing and auth-entry signing methods with working code examples
  • Included detailed explanations of simulation modes (Recording vs Enforcing) and their importance
  • Added visual diagrams illustrating the difference between transaction signing and auth-entry signing flows
  • Added image reference to fee-bump transaction structure diagram

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/build/guides/transactions/signing-soroban-invocations.mdx New comprehensive guide (459 lines) covering two methods for signing Soroban contract invocations, with complete code examples, tables comparing approaches, and detailed explanations of simulation modes and security considerations
docs/build/guides/transactions/fee-bump-transactions.mdx Added image reference to visualize fee-bump transaction structure

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

@stellar-jenkins
Copy link

2 similar comments
@stellar-jenkins
Copy link

@stellar-jenkins
Copy link

@janewang
Copy link
Contributor

janewang commented Jan 27, 2026

My only suggestion is that you had mentioned multi-party signing. Found an example in the docs that illustrates this. So maybe we can link there: https://developers.stellar.org/docs/learn/fundamentals/contract-development/contract-interactions/transaction-simulation#example-2-multi-party-authentication

That is amazing and I think finally we are getting decent docs on auth signing!

@stellar-jenkins
Copy link

1 similar comment
@stellar-jenkins
Copy link

@marcelosalloum marcelosalloum force-pushed the add-auth-entry-signing-flow branch from 43dd0e3 to 9944e1a Compare January 30, 2026 19:18
@stellar-jenkins
Copy link

@marcelosalloum marcelosalloum merged commit 679bbaf into main Jan 30, 2026
10 checks passed
@marcelosalloum marcelosalloum deleted the add-auth-entry-signing-flow branch January 30, 2026 20:15
@github-project-automation github-project-automation bot moved this from Needs Review to Done in DevX Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants