Skip to content

Permissioned domains #3102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 29, 2025
Merged

Permissioned domains #3102

merged 5 commits into from
May 29, 2025

Conversation

oeggert
Copy link
Collaborator

@oeggert oeggert commented Apr 29, 2025

Add modular tutorial for Permissioned Domains. Includes pending refactors from #3091

@oeggert oeggert requested a review from maria-robobug April 29, 2025 20:40
@oeggert
Copy link
Collaborator Author

oeggert commented Apr 29, 2025

@maria-robobug After #3091 is merged, I'll update whatever changes happened there into this PR. I expect only the code to change on the backend, the frontend functionality and tutorial page should stay the same, so those can be safely reviewed.


// Get credential type - convert string to hex if needed
let credentialType = credentialTypeField.value;
if (!/^[0-9A-F]+$/i.test(credentialType)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We can use convenience functions from the @xrplf/isomorphic package to convert string to hex or hex back to string: stringToHex, hexToString.

Also mentioned in xrpl.js reference:
https://js.xrpl.org/functions/convertStringToHex.html
https://js.xrpl.org/functions/convertHexToString.html

@oeggert oeggert force-pushed the permissioned-domains branch from b01f4a5 to d965bff Compare May 28, 2025 18:57
Topher68chris
Topher68chris previously approved these changes May 28, 2025
@oeggert oeggert force-pushed the permissioned-domains branch from d965bff to cd53966 Compare May 28, 2025 20:03
maria-robobug
maria-robobug previously approved these changes May 29, 2025
Copy link
Contributor

@maria-robobug maria-robobug left a comment

Choose a reason for hiding this comment

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

LGTM!

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
oeggert and others added 2 commits May 29, 2025 11:23
…ns.md

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
…ns.md

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
@oeggert oeggert requested a review from maria-robobug May 29, 2025 18:24
@oeggert oeggert merged commit 5dcb5cb into master May 29, 2025
5 of 6 checks passed
@oeggert oeggert deleted the permissioned-domains branch May 29, 2025 18:35
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