Add auditor examples - #2
Merged
Merged
Conversation
…DK calls and set_auditor_example - add set_chain_auditor and set_asset_auditor to transaction builder and public API - expose get_chain_auditor_encryption_key on the public ConfidentialAsset API - add set_auditor_example demonstrating chain and asset auditor set/verify/clear flows
…er address - add with_address() builder method to Ed25519Account to decouple the signing key from the on-chain account address (needed for genesis accounts like @core_resources whose address is fixed regardless of authentication key) - use ISSUER_ADDRESS env var in set_auditor_example to support this case
…transfer - check chain and asset auditor keys before transfer and fail early with a clear message if chain auditor is not configured - make section B of set_auditor_example optional (skipped when TOKEN_ADDRESS is not set) with a helpful message explaining how to proceed - renumber transfer example steps 7–11 after inserting the auditor check
ganymedio
approved these changes
Jun 22, 2026
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.
Add an example on how to set auditor for the chain or asset.