COZ has launched v1.4.0 of Boa, a Python compiler for the Neo N3 blockchain. This replace introduces lacking native contract strategies, enhanced conversion utilities, and assist for Python 3.13.
New options
This launch contains: StringSplit and StrLen Add native contract strategies from Neo’s commonplace library, RecoverSecp256K1 from CryptoLib Native contract. This replace additionally modifications the habits of the SHA256 and RIPEMD160 hash features to solely settle for byte parameters.
of to_bytes and to_int The tactic now accepts further arguments for endianness and signal, offering extra flexibility when dealing with knowledge conversion.
Boa v1.4.0 additionally introduces constructors and validation for Neo enums, together with new case-sensitivity checks when compiling contracts. Moreover, builders can add GetContractById ContractManagement Native contract strategies.
Modification and upkeep
A number of compiler points have been resolved. TypeHintMissing An error happens when defining a operate inside a category, Sequence.insert Features, and errors that happen when returning collections.
This replace permits exceptions for use as legitimate operate return values and fixes a problem when courses adorned with a number of contracts are included in the identical file.
This launch updates the Boa documentation to reference boa3.sc as an alternative of deprecated boa3.builtin bundle. Different upkeep modifications embrace upgrading to Python 3.13, updating CircleCI configuration, and eradicating deprecation warnings for setuptools.
The whole changelog might be learn on the following hyperlink:
https://github.com/CityOfZion/neo3-boa/releases/tag/v1.4.0

