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

contract client support #157

Open
joe-p opened this issue Oct 13, 2023 · 0 comments
Open

contract client support #157

joe-p opened this issue Oct 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@joe-p
Copy link
Contributor

joe-p commented Oct 13, 2023

Currently if one wants to call another TEALScript contract, they need to manually form sendMethodCall. Instead it would be great to allow a way to directly call a method and have TEALScript be aware of types.

I think an interface could like this

const myAppClient = MyTEALScriptContract.client(appID)

myAppClient.foo(this.txn.sender)
@joe-p joe-p added the enhancement New feature or request label Oct 13, 2023
@joe-p joe-p changed the title Contract client support contract client support Oct 21, 2023
@joe-p joe-p added this to TEALScript Oct 23, 2023
@joe-p joe-p moved this to Todo in TEALScript Dec 1, 2023
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
Status: TODO
Development

No branches or pull requests

1 participant