You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was trying to mint an ARC69 via smart contract, and include a property for "Owner", but could not represent the Address as a string, see "Owner" field in asset creation transaction below.
Attempted to pass in the account as a String type, but Account only excepts str or Bytes type, Address only supports str, Bytes, or Account type.
Allow decoding methods to str types, perhaps as Account.str attribute, or String.str attribute for string literals
While on the topic it is important to note there is no itoa support (Integer to Ascii), and currently we have to manually input this function into our programs to convert integers into strings:
Problem
Was trying to mint an ARC69 via smart contract, and include a property for "Owner", but could not represent the Address as a string, see "Owner" field in asset creation transaction below.
Attempted to pass in the account as a String type, but Account only excepts str or Bytes type, Address only supports str, Bytes, or Account type.
Solution
Allow decoding methods to str types, perhaps as Account.str attribute, or String.str attribute for string literals
While on the topic it is important to note there is no itoa support (Integer to Ascii), and currently we have to manually input this function into our programs to convert integers into strings:
The text was updated successfully, but these errors were encountered: