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

Implement realm client generation #1319

Closed
deelawn opened this issue Oct 30, 2023 · 2 comments
Closed

Implement realm client generation #1319

deelawn opened this issue Oct 30, 2023 · 2 comments
Assignees

Comments

@deelawn
Copy link
Contributor

deelawn commented Oct 30, 2023

The goal is to write a code generation CLI tool that does the following:

  • retrieve function definitions of a deployed contract
  • generate a CLI tool with each supported contract function being a separate subcommand
  • continue to support other maketx CLI flags but include reasonable default values so they must not be specified each time
@clockworkgr
Copy link

The tool should also use templating to generate a ts file of this format:

https://github.com/gnolang/gno-js-client/blob/feat/extensible-client/src/realm-module-example/realm-module.ts

for the various realm method calls in order to support code-completion & type-safety for realms as plugins to gno-js client as enabled in this PR: gnolang/gno-js-client#57

@deelawn
Copy link
Contributor Author

deelawn commented May 1, 2024

stale

@deelawn deelawn closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants