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

Design: Make it simpler to create InvokeHostFunctionOps for clients #333

Closed
paulbellamy opened this issue Jan 5, 2023 · 2 comments
Closed

Comments

@paulbellamy
Copy link
Contributor

What problem does your feature solve?

Currently, creating an InvokeHostFunctionOp is laborious in clients. Mainly this is due to converting your arguments to ScVals (Paul: Is this it?)

<Insert example here>

What would you like to see?

We should do a spike for ways we could make this easier. It should support: go, typescript/javascript, and rust. But, it should also provide an example for clients in other languages.

But we should do an end-to-end example here to understand how the whole stack would fit together for at least one language.

Some approaches:

  • soroban gen ... to generate statically typed bindings?
  • Dynamic inference of contracts?
  • Other

Related

#8

@paulbellamy
Copy link
Contributor Author

cc @willemneal & @chadoh , I believe are thinking about how to do this.

@paulbellamy
Copy link
Contributor Author

Closed in favor of #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant