Skip to content
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

As a developer, I want to generate Azle TypeScript types from Candid files so that I don't have to implement them manually #373

Open
lastmjs opened this issue Aug 31, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lastmjs
Copy link
Contributor

lastmjs commented Aug 31, 2022

Is your feature request related to a problem? Please describe.

If a canister is written with a CDK that is not Azle, then Azle developers will have to manually implement the TypeScript types necessary to interact with those canisters. Since most/all canisters written in Rust/Motoko will have Candid files available, automatically generating Azle TypeScript types from those files could save developers a lot of work.

Describe the solution you'd like

didc bind path_to_candid.did -t azle should produce TypeScript types usable in canisters written in Azle.

Describe alternatives you've considered

Developers can implement the types themselves, or some standalone tool could generate these types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant