-
Notifications
You must be signed in to change notification settings - Fork 103
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
Contract Spec: add XDR format + docs link #1277
Conversation
Preview is available here: |
@quietbits This XDR looks good. Do you think it makes sense to link it to the XDR > JSON decoder? The XDR strings are decode-able by |
@janewang , we need to pass a formatted string to the code editor, so we can't use any components there. Having the option to view the XDR would be nice, though. This is the output we would get in the editor: |
Let's keep it as it is then. |
src/app/(sidebar)/smart-contracts/contract-explorer/components/ContractSpec.tsx
Outdated
Show resolved
Hide resolved
Thanks for catching this, @jeesunikim ! It will show a proper error message from the server now: |
Preview is available here: |
CodeEditor
component: