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

Create a byte_array scheme #91

Open
JorikSchellekens opened this issue Jun 21, 2024 · 2 comments
Open

Create a byte_array scheme #91

JorikSchellekens opened this issue Jun 21, 2024 · 2 comments

Comments

@JorikSchellekens
Copy link

Allow users to input bytearrays efficiently by defining a byte array scheme.

Example:

starkli invoke eth transfer 0x1234 string:"A long string which should be serialised to a byte array"

The scheme should be either string or a specific string encoding such as utf8

@glihm
Copy link
Contributor

glihm commented Jun 21, 2024

May depends on xJonathanLEI/starknet-rs#522 to have a starknet-rs underlying type to convert to.

@ZackAttax
Copy link

Is there a current work around for a byte array as an argument? My constructor uses two bye arrays and I'm getting Failed to deserialize param when I try to deploy.

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

No branches or pull requests

3 participants