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

Improve DX for Script class #1458

Closed
arboleya opened this issue Nov 27, 2023 · 1 comment · Fixed by #1466
Closed

Improve DX for Script class #1458

arboleya opened this issue Nov 27, 2023 · 1 comment · Fixed by #1466
Assignees
Labels
feat Issue is a feature

Comments

@arboleya
Copy link
Member

It should follow the same DX we have on Contract, supporting things like:

  • txParams
  • callParams
  • getTransactionRequest
  • Etc.

This increases flexibility and ease of use, giving users complete control of everything.

Related:

@arboleya arboleya added feat Issue is a feature refactor labels Nov 27, 2023
@danielbate danielbate self-assigned this Nov 27, 2023
@danielbate
Copy link
Member

Given we already have access to the invocation scope for a Script in the same way we'd expect to access it for a Contract (i.e. script.functions.main(argument)), we already have access to the same transaction preparation DX. However we should look to improve the documentation on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants