JS Maxi
JS Maxi
Simple example demonstrating inconsistent behavior when invoking a contract function that accepts a `BytesN` parameter: ```rust #![no_std] use soroban_sdk::{contract, contractimpl, BytesN, Env}; #[contract] pub struct Contract; #[contractimpl] impl Contract {...
In general, the encode and decode commands would allow developers to provide loose values (such as strings, numbers, arrays, or maps) and convert them into properly typed Soroban values for...
Your example about zero-padding explains why the CLI accepts `ABCD` as a valid BytesN hex value. However, I'm still puzzled why `"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"` succeed while `"4142434400000000000000000000000000000000000000000000000000000000"` fails? Both are properly formatted...
Interestingly, this value, for example, works without issues: `"414243440000000000000000000000000000000000000000000000000000000a"` This seems like a bug.
@JakeUrban Thanks for your answer. That's what I originally meant - an option to hide the account from the Freighter extension interface, like it is possible in MetaMask. My wording...
In other words, "hide" would put the address into some hidden folder inside the extension interface, and the account could be easily added (made visible) again. While "remove" would remove...
@CoveMB Thanks for checking. This would be primarily for convenience to accommodate various user needs. I envision two main use cases: - Some users may want to inspect all available...