COZ releases Boa v1.4.0 for Neo N3, adding missing native contract methods

COZ has launched v1.4.0 of Boa, its Python compiler for the Neo N3 blockchain. The replace introduces lacking native contract strategies, expanded conversion utilities, and assist for Python 3.13.
New performance
The discharge incorporates the StringSplit and StrLen strategies from Neo’s customary library native contract, and provides RecoverSecp256K1 from the CryptoLib native contract. The replace additionally modifies the habits of the SHA256 and RIPEMD160 hash capabilities to solely settle for byte parameters.
The to_bytes and to_int strategies now settle for further arguments for endianness and signedness, bettering flexibility when dealing with information conversions.
Boa v1.4.0 additionally introduces constructors and validation for Neo enum sorts, together with new case-sensitive checks throughout contract compilation. Moreover, builders can now entry deployed contracts instantly utilizing the GetContractById methodology from the ContractManagement native contract.
Fixes and upkeep
A number of compiler points had been resolved, together with a TypeHintMissing error when defining capabilities inside lessons, incorrect habits of the Sequence.insert perform, and errors encountered when returning collections.
The replace additionally permits exceptions for use as legitimate perform return values and fixes issues when a number of contract-decorated lessons are included in the identical file.
The discharge updates Boa’s documentation to reference boa3.sc as an alternative of the deprecated boa3.builtin bundle. Different upkeep adjustments embody an improve to Python 3.13, updates to CircleCI configuration, and the elimination of setuptools deprecation warnings.
The total changelog will be learn on the following hyperlink:
https://github.com/CityOfZion/neo3-boa/releases/tag/v1.4.0





