-
Notifications
You must be signed in to change notification settings - Fork 70
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 CLI command that generates a TypeScript type from .wasm. #8
Comments
@paulbellamy is this still blocked and if so. What is the plan for unblocking it? Does this require a priority update? |
It was blocked on https://github.com/stellar/rs-stellar-contract-sdk/issues/168, which is closed now, so this is now unblocked. I'd say it is completion/polish/nice-to-have for meridian. Not strictly necessary, though. |
And actually, in the platform sprint @tamirms had marked it as in-progress so I updated that in the soroban sprint to match. |
DX nice-to-have |
Related: I did a little prototype on generating typescript directly from |
@paulbellamy this will be closed by stellar/rs-soroban-sdk#871 then #644 afaict, correct? |
Yes! |
We should:
xdr.ScVal.toJSON(val, spec)
, andxdr.ScVal.fromJSON(json, spec)
, inspired by the strval.rs code in this reposoroban contract bindings --wasm contract.wasm --output typescript > contract.ts
(updated 2022-04-06)
The text was updated successfully, but these errors were encountered: