Open
Conversation
|
dragosgd
reviewed
Feb 13, 2026
|
|
||
| .. note:: | ||
|
|
||
| For production use, keeping the sponsor private key on a secure backend is essential. The examples use ``@concordium/web-sdk`` version 12.0.0. Follow `this link <https://docs.concordium.com/concordium-node-sdk-js/12.0.0-devnet-p10.0/functions/transactions.Transaction.sponsor.html>`_ to see the function documentation. |
Contributor
There was a problem hiding this comment.
Let's change the link to the one for the complete version, not devnet:
https://docs.concordium.com/concordium-node-sdk-js/12.0.0/functions/transactions.Transaction.sponsor.html
| - Node.js and npm installed | ||
| - A Concordium wallet with CCD funds for the sponsor account | ||
| - Access to a Concordium node (gRPC endpoint) | ||
| - ``@concordium/web-sdk`` version 12.0.0-devnet-p10.0 or later |
Contributor
There was a problem hiding this comment.
We can remove devnet mentions, just version 12.0.0 is fine now.
|
|
||
| const BACKEND_URL = '<YOUR_BACKEND_URL>' | ||
| const TOKEN_ID = '<YOUR_TOKEN_ID>' | ||
| const TOKEN_DECIMALS = <YOUR_TOKEN_DECIMALS> |
Contributor
There was a problem hiding this comment.
small change here, '<YOUR_TOKEN_DECIMALS>' .
(add ' ')
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
To add high-level description plus developer tutorial for sponsored transactions.
Changes
The following files were added:
On the Docs site:
On the Tutorials site:
The general index page for tutorials was updated
The former Sponsored transactions tutorial was renamed to Smart contract sponsored tutorials
Checklist
hard-to-understand areas.
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0