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

Convert form input values to Clarity buffer for contract params that require buffer #1820

Open
ECBSJ opened this issue Sep 28, 2024 · 2 comments
Labels

Comments

@ECBSJ
Copy link

ECBSJ commented Sep 28, 2024

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

Users are unable to call contract functions that require a buffer value for a parameter.

Describe the solution you'd like

To help convert a form's input value to a Clarity buffer type if a function's parameter type calls for a buffer.

Describe alternatives you've considered

Suggesting to users to programmatically call these functions, but not all users know how to do this.

Additional context

This request stems from a recent issue a user brought up in our Discord channel:

https://discord.com/channels/621759717756370964/911531946738339900/1288976074243444776

@ryanwaits
Copy link

ryanwaits commented Sep 30, 2024

Users are unable to call contract functions that require a buffer value for a parameter.

are they unable to make the contract call? or you're saying it's complex/confusing on how to create the buff and pass it in?

@ECBSJ
Copy link
Author

ECBSJ commented Sep 30, 2024

Users are unable to call contract functions that require a buffer value for a parameter.

are they unable to make the contract call? or you're saying it's complex/confusing on how to create the buff and pass it in?

both. A normal user using the Sandbox and Contract page of the Explorer is unable to pass in buffer values as a parameter.

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

No branches or pull requests

3 participants