libnexapy-test 0.4.0__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/MANIFEST.in +3 -1
  2. {libnexapy_test-0.4.0/libnexapy_test.egg-info → libnexapy_test-0.6.0}/PKG-INFO +1 -1
  3. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/common/types.py +1 -1
  4. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/address/address.py +11 -11
  5. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/address/address_formatter.py +2 -2
  6. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/block/block.py +8 -8
  7. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/block/block_header.py +6 -6
  8. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/grouptoken.py +11 -11
  9. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/message.py +9 -9
  10. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/network/network.py +1 -1
  11. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/network/network_manager.py +3 -3
  12. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/script/opcode.py +1 -1
  13. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/script/script.py +5 -5
  14. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/script/script_factory.py +10 -10
  15. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/input/input.py +6 -6
  16. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/input/public_key_hash.py +5 -5
  17. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/input/public_key_template.py +6 -6
  18. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/input/script_template.py +7 -7
  19. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/output.py +9 -9
  20. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/sighash_type.py +5 -5
  21. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/transaction.py +14 -14
  22. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/tx_builder.py +15 -15
  23. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/tx_signature.py +6 -6
  24. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/tx_signer.py +9 -9
  25. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/core/transaction/unspent_output.py +6 -6
  26. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/digital_signature.py +6 -6
  27. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/ecdsa.py +8 -8
  28. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/hash.py +3 -3
  29. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/signature.py +2 -2
  30. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/encoding/base32.py +1 -1
  31. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/encoding/base58.py +2 -2
  32. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/encoding/base58_check.py +4 -4
  33. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/encoding/buffer_reader.py +4 -4
  34. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/encoding/buffer_writer.py +3 -3
  35. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/keys/hd_private_key.py +13 -13
  36. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/keys/hd_public_key.py +13 -13
  37. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/keys/hdkey_utils.py +5 -5
  38. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/keys/private_key.py +11 -11
  39. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/keys/public_key.py +6 -6
  40. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0/libnexapy_test.egg-info}/PKG-INFO +1 -1
  41. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/pyproject.toml +2 -2
  42. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/setup.py +1 -1
  43. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/LICENCE +0 -0
  44. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/README.md +0 -0
  45. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/__init__.py +0 -0
  46. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/common/__init__.py +0 -0
  47. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/common/class_types.py +0 -0
  48. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/__init__.py +0 -0
  49. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/curve_utils.py +0 -0
  50. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/ecc_fast.py +0 -0
  51. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/ripemd160.py +0 -0
  52. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/schnorr.py +0 -0
  53. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/crypto/secp256k1.py +0 -0
  54. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/utils/buffer_utils.py +0 -0
  55. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/utils/common_utils.py +0 -0
  56. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/utils/num_utils.py +0 -0
  57. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test/utils/unit_utils.py +0 -0
  58. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test.egg-info/SOURCES.txt +0 -0
  59. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test.egg-info/dependency_links.txt +0 -0
  60. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test.egg-info/requires.txt +0 -0
  61. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/libnexapy_test.egg-info/top_level.txt +0 -0
  62. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/COPYING +0 -0
  63. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/Makefile.am +0 -0
  64. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/README.md +0 -0
  65. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/autogen.sh +0 -0
  66. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/build-aux/m4/ax_jni_include_dir.m4 +0 -0
  67. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/build-aux/m4/ax_prog_cc_for_build.m4 +0 -0
  68. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/build-aux/m4/bitcoin_secp.m4 +0 -0
  69. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/configure.ac +0 -0
  70. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/contrib/lax_der_parsing.c +0 -0
  71. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/contrib/lax_der_parsing.h +0 -0
  72. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/contrib/lax_der_privatekey_parsing.c +0 -0
  73. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/contrib/lax_der_privatekey_parsing.h +0 -0
  74. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1.h +0 -0
  75. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1_ecdh.h +0 -0
  76. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1_multiset.h +0 -0
  77. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1_preallocated.h +0 -0
  78. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1_recovery.h +0 -0
  79. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/include/secp256k1_schnorr.h +0 -0
  80. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/libsecp256k1.pc.in +0 -0
  81. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/asm/field_10x26_arm.s +0 -0
  82. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/basic-config.h +0 -0
  83. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench.h +0 -0
  84. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_ecdh.c +0 -0
  85. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_ecmult.c +0 -0
  86. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_internal.c +0 -0
  87. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_multiset.c +0 -0
  88. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_recover.c +0 -0
  89. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_sign.c +0 -0
  90. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/bench_verify.c +0 -0
  91. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecdsa.h +0 -0
  92. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecdsa_impl.h +0 -0
  93. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/eckey.h +0 -0
  94. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/eckey_impl.h +0 -0
  95. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult.h +0 -0
  96. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult_const.h +0 -0
  97. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult_const_impl.h +0 -0
  98. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult_gen.h +0 -0
  99. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult_gen_impl.h +0 -0
  100. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/ecmult_impl.h +0 -0
  101. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field.h +0 -0
  102. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_10x26.h +0 -0
  103. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_10x26_impl.h +0 -0
  104. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_5x52.h +0 -0
  105. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_5x52_asm_impl.h +0 -0
  106. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_5x52_impl.h +0 -0
  107. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_5x52_int128_impl.h +0 -0
  108. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/field_impl.h +0 -0
  109. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/gen_context.c +0 -0
  110. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/group.h +0 -0
  111. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/group_impl.h +0 -0
  112. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/hash.h +0 -0
  113. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/hash_impl.h +0 -0
  114. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c +0 -0
  115. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/java/org_bitcoin_NativeSecp256k1.h +0 -0
  116. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/java/org_bitcoin_Secp256k1Context.c +0 -0
  117. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/java/org_bitcoin_Secp256k1Context.h +0 -0
  118. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/ecdh/Makefile.am.include +0 -0
  119. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/ecdh/main_impl.h +0 -0
  120. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/ecdh/tests_impl.h +0 -0
  121. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/multiset/Makefile.am.include +0 -0
  122. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/multiset/main_impl.h +0 -0
  123. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/multiset/tests_impl.h +0 -0
  124. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/recovery/Makefile.am.include +0 -0
  125. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/recovery/main_impl.h +0 -0
  126. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/recovery/tests_impl.h +0 -0
  127. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/schnorr/Makefile.am.include +0 -0
  128. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/schnorr/main_impl.h +0 -0
  129. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/schnorr/schnorr.h +0 -0
  130. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/schnorr/schnorr_impl.h +0 -0
  131. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/modules/schnorr/tests_impl.h +0 -0
  132. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/num.h +0 -0
  133. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/num_gmp.h +0 -0
  134. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/num_gmp_impl.h +0 -0
  135. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/num_impl.h +0 -0
  136. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar.h +0 -0
  137. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_4x64.h +0 -0
  138. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_4x64_impl.h +0 -0
  139. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_8x32.h +0 -0
  140. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_8x32_impl.h +0 -0
  141. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_impl.h +0 -0
  142. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_low.h +0 -0
  143. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scalar_low_impl.h +0 -0
  144. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scratch.h +0 -0
  145. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/scratch_impl.h +0 -0
  146. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/secp256k1.c +0 -0
  147. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/testrand.h +0 -0
  148. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/testrand_impl.h +0 -0
  149. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/tests.c +0 -0
  150. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/tests_exhaustive.c +0 -0
  151. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/secp256k1/src/util.h +0 -0
  152. {libnexapy_test-0.4.0 → libnexapy_test-0.6.0}/setup.cfg +0 -0
@@ -11,4 +11,6 @@ recursive-include secp256k1/src *.c *.h *.s *.include
11
11
  recursive-include secp256k1/include *.h
12
12
  recursive-include secp256k1/build-aux *
13
13
  recursive-include secp256k1/contrib *
14
- global-exclude src/crypto/libsecp256k1.so.0
14
+ global-exclude libnexapy_test/crypto/libsecp256k1.so.0
15
+ global-exclude libnexapy_test/crypto/libsecp256k1.0.dylib
16
+ global-exclude libnexapy_test/crypto/libsecp256k1-0.dll
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libnexapy_test
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
4
  Summary: A pure and powerful Python Nexa SDK library (TEST).
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.12
@@ -2,7 +2,7 @@ from enum import Enum, IntEnum, unique
2
2
  from typing import TypeVar
3
3
 
4
4
  from .class_types import TypedClass
5
- from src.core.network.network import Network
5
+ from libnexapy_test.core.network.network import Network
6
6
 
7
7
  COIN = 100
8
8
  MAX_MONEY = 21000000000000 * COIN
@@ -1,17 +1,17 @@
1
1
  import json
2
2
  from typing import Self
3
3
 
4
- from src.core.address.address_formatter import *
5
- from src.core.network.network_manager import networks
6
- from src.core.script.opcode import Opcode
7
- from src.core.script.script import Script, ScriptElement
8
- from src.common.class_types import FrozenClass
9
- from src.common.types import Networkish, AddressDto
10
- from src.crypto.hash import Hash
11
- from src.encoding.buffer_writer import BufferWriter
12
- from src.keys.public_key import PublicKey
13
- from src.utils.buffer_utils import is_hash_buffer
14
- from src.utils.common_utils import is_hex_string
4
+ from libnexapy_test.core.address.address_formatter import *
5
+ from libnexapy_test.core.network.network_manager import networks
6
+ from libnexapy_test.core.script.opcode import Opcode
7
+ from libnexapy_test.core.script.script import Script, ScriptElement
8
+ from libnexapy_test.common.class_types import FrozenClass
9
+ from libnexapy_test.common.types import Networkish, AddressDto
10
+ from libnexapy_test.crypto.hash import Hash
11
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
12
+ from libnexapy_test.keys.public_key import PublicKey
13
+ from libnexapy_test.utils.buffer_utils import is_hash_buffer
14
+ from libnexapy_test.utils.common_utils import is_hex_string
15
15
 
16
16
 
17
17
  class AddressError(Exception):
@@ -1,7 +1,7 @@
1
1
  from enum import Enum, unique
2
2
 
3
- from src.common.class_types import *
4
- from src.encoding.base32 import Base32
3
+ from libnexapy_test.common.class_types import *
4
+ from libnexapy_test.encoding.base32 import Base32
5
5
 
6
6
 
7
7
  @unique
@@ -1,13 +1,13 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import IBlock, IBlockHeader
5
- from src.core.block.block_header import BlockHeader
6
- from src.core.transaction.transaction import Transaction
7
- from src.encoding.buffer_reader import BufferReader
8
- from src.encoding.buffer_writer import BufferWriter
9
- from src.crypto.hash import Hash
10
- from src.utils.buffer_utils import concat
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import IBlock, IBlockHeader
5
+ from libnexapy_test.core.block.block_header import BlockHeader
6
+ from libnexapy_test.core.transaction.transaction import Transaction
7
+ from libnexapy_test.encoding.buffer_reader import BufferReader
8
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
9
+ from libnexapy_test.crypto.hash import Hash
10
+ from libnexapy_test.utils.buffer_utils import concat
11
11
 
12
12
 
13
13
  class Block(TypedClass):
@@ -2,12 +2,12 @@ from typing import Self
2
2
 
3
3
  import time
4
4
 
5
- from src.common.class_types import TypedClass
6
- from src.common.types import IBlockHeader
7
- from src.crypto.hash import Hash
8
- from src.encoding.buffer_reader import BufferReader
9
- from src.encoding.buffer_writer import BufferWriter
10
- import src.utils.buffer_utils
5
+ from libnexapy_test.common.class_types import TypedClass
6
+ from libnexapy_test.common.types import IBlockHeader
7
+ from libnexapy_test.crypto.hash import Hash
8
+ from libnexapy_test.encoding.buffer_reader import BufferReader
9
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
10
+ import libnexapy_test.utils.buffer_utils
11
11
 
12
12
 
13
13
  class BlockHeader(TypedClass):
@@ -1,17 +1,17 @@
1
1
  import json
2
2
  from enum import Enum, unique
3
3
 
4
- from src.common.class_types import FrozenClass
5
- from src.common.types import GroupIdData
6
- from src.core.address.address import Address
7
- from src.core.message import Message
8
- from src.core.script.script import Script
9
- from src.crypto.hash import Hash
10
- from src.encoding.buffer_writer import BufferWriter
11
- from src.keys.private_key import PrivateKey
12
- from src.utils.buffer_utils import *
13
- from src.utils.common_utils import is_hex_string
14
- from src.utils.num_utils import to_buffer
4
+ from libnexapy_test.common.class_types import FrozenClass
5
+ from libnexapy_test.common.types import GroupIdData
6
+ from libnexapy_test.core.address.address import Address
7
+ from libnexapy_test.core.message import Message
8
+ from libnexapy_test.core.script.script import Script
9
+ from libnexapy_test.crypto.hash import Hash
10
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
11
+ from libnexapy_test.keys.private_key import PrivateKey
12
+ from libnexapy_test.utils.buffer_utils import *
13
+ from libnexapy_test.utils.common_utils import is_hex_string
14
+ from libnexapy_test.utils.num_utils import to_buffer
15
15
 
16
16
 
17
17
  class GroupIdFlag(Enum):
@@ -1,15 +1,15 @@
1
1
  import base64
2
2
  import json
3
3
 
4
- from src.common.class_types import TypedClass
5
- from src.core.address.address import Address
6
- from src.crypto.ecdsa import ECDSA
7
- from src.crypto.hash import Hash
8
- from src.crypto.signature import Signature
9
- from src.encoding.buffer_writer import BufferWriter
10
- from src.keys.private_key import PrivateKey
11
- from src.keys.public_key import PublicKey
12
- from src.utils.buffer_utils import *
4
+ from libnexapy_test.common.class_types import TypedClass
5
+ from libnexapy_test.core.address.address import Address
6
+ from libnexapy_test.crypto.ecdsa import ECDSA
7
+ from libnexapy_test.crypto.hash import Hash
8
+ from libnexapy_test.crypto.signature import Signature
9
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
10
+ from libnexapy_test.keys.private_key import PrivateKey
11
+ from libnexapy_test.keys.public_key import PublicKey
12
+ from libnexapy_test.utils.buffer_utils import *
13
13
 
14
14
 
15
15
  class Message(TypedClass):
@@ -1,4 +1,4 @@
1
- from src.common.class_types import FrozenClass, TypedClass
1
+ from libnexapy_test.common.class_types import FrozenClass, TypedClass
2
2
 
3
3
 
4
4
  class NetworkParams(TypedClass):
@@ -1,8 +1,8 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import FrozenClass, TypedClass
4
- from src.common.types import Networkish
5
- from src.core.network.network import (
3
+ from libnexapy_test.common.class_types import FrozenClass, TypedClass
4
+ from libnexapy_test.common.types import Networkish
5
+ from libnexapy_test.core.network.network import (
6
6
  NetworkParams,
7
7
  Network,
8
8
  LiveNetwork,
@@ -1,7 +1,7 @@
1
1
  from typing import Self
2
2
  from enum import Enum, unique
3
3
 
4
- from src.common.class_types import FrozenClass
4
+ from libnexapy_test.common.class_types import FrozenClass
5
5
 
6
6
 
7
7
  class Opcode(Enum):
@@ -2,11 +2,11 @@ from typing import Self, TypeVar
2
2
  import json
3
3
  import math
4
4
 
5
- from src.common.class_types import TypedClass
6
- from src.core.script.opcode import ScriptOpcode, Opcode
7
- from src.encoding.buffer_reader import BufferReader
8
- from src.utils.buffer_utils import is_hash_buffer
9
- from src.utils.common_utils import is_hex_string
5
+ from libnexapy_test.common.class_types import TypedClass
6
+ from libnexapy_test.core.script.opcode import ScriptOpcode, Opcode
7
+ from libnexapy_test.encoding.buffer_reader import BufferReader
8
+ from libnexapy_test.utils.buffer_utils import is_hash_buffer
9
+ from libnexapy_test.utils.common_utils import is_hex_string
10
10
 
11
11
 
12
12
  class ScriptChunk(TypedClass):
@@ -1,15 +1,15 @@
1
1
  from urllib.parse import urlparse
2
2
 
3
- from src.common.class_types import FrozenClass
4
- from src.core.address.address import Address
5
- from src.core.address.address_formatter import AddressType
6
- from src.core.grouptoken import GroupToken, GroupIdType
7
- from src.core.script.opcode import ScriptOpcode, Opcode
8
- from src.core.script.script import Script
9
- from src.crypto.signature import Signature
10
- from src.encoding.buffer_reader import BufferReader
11
- from src.keys.public_key import PublicKey
12
- from src.utils.common_utils import is_hex_string
3
+ from libnexapy_test.common.class_types import FrozenClass
4
+ from libnexapy_test.core.address.address import Address
5
+ from libnexapy_test.core.address.address_formatter import AddressType
6
+ from libnexapy_test.core.grouptoken import GroupToken, GroupIdType
7
+ from libnexapy_test.core.script.opcode import ScriptOpcode, Opcode
8
+ from libnexapy_test.core.script.script import Script
9
+ from libnexapy_test.crypto.signature import Signature
10
+ from libnexapy_test.encoding.buffer_reader import BufferReader
11
+ from libnexapy_test.keys.public_key import PublicKey
12
+ from libnexapy_test.utils.common_utils import is_hex_string
13
13
 
14
14
 
15
15
  class ScriptFactory(FrozenClass):
@@ -1,11 +1,11 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import InputType
5
- from src.core.script.script import Script
6
- from src.core.transaction.output import Output
7
- from src.encoding.buffer_reader import BufferReader
8
- from src.encoding.buffer_writer import BufferWriter
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import InputType
5
+ from libnexapy_test.core.script.script import Script
6
+ from libnexapy_test.core.transaction.output import Output
7
+ from libnexapy_test.encoding.buffer_reader import BufferReader
8
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
9
9
 
10
10
 
11
11
  class Input(TypedClass):
@@ -1,10 +1,10 @@
1
1
  from typing import Self
2
2
 
3
- from src.core.script.script import Script
4
- from src.core.script.script_factory import ScriptFactory
5
- from src.core.transaction.input.input import Input
6
- from src.core.transaction.output import Output
7
- from src.crypto.hash import Hash
3
+ from libnexapy_test.core.script.script import Script
4
+ from libnexapy_test.core.script.script_factory import ScriptFactory
5
+ from libnexapy_test.core.transaction.input.input import Input
6
+ from libnexapy_test.core.transaction.output import Output
7
+ from libnexapy_test.crypto.hash import Hash
8
8
 
9
9
 
10
10
  class PublicKeyHashInput(Input):
@@ -1,11 +1,11 @@
1
1
  from typing import Self
2
2
 
3
- from src.core.script.opcode import Opcode
4
- from src.core.script.script import Script
5
- from src.core.script.script_factory import ScriptFactory
6
- from src.core.transaction.input.input import Input
7
- from src.core.transaction.output import Output
8
- from src.crypto.hash import Hash
3
+ from libnexapy_test.core.script.opcode import Opcode
4
+ from libnexapy_test.core.script.script import Script
5
+ from libnexapy_test.core.script.script_factory import ScriptFactory
6
+ from libnexapy_test.core.transaction.input.input import Input
7
+ from libnexapy_test.core.transaction.output import Output
8
+ from libnexapy_test.crypto.hash import Hash
9
9
 
10
10
 
11
11
  class PublicKeyTemplateInput(Input):
@@ -1,12 +1,12 @@
1
1
  from typing import Self
2
2
 
3
- from src.core.script.opcode import Opcode
4
- from src.core.script.script import Script
5
- from src.core.script.script_factory import ScriptFactory
6
- from src.core.transaction.input.input import Input
7
- from src.core.transaction.output import Output
8
- from src.crypto.hash import Hash
9
- from src.keys.public_key import PublicKey
3
+ from libnexapy_test.core.script.opcode import Opcode
4
+ from libnexapy_test.core.script.script import Script
5
+ from libnexapy_test.core.script.script_factory import ScriptFactory
6
+ from libnexapy_test.core.transaction.input.input import Input
7
+ from libnexapy_test.core.transaction.output import Output
8
+ from libnexapy_test.crypto.hash import Hash
9
+ from libnexapy_test.keys.public_key import PublicKey
10
10
 
11
11
 
12
12
  class ScriptTemplateInput(Input):
@@ -1,14 +1,14 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import OutputType
5
- from src.core.address.address import Address
6
- from src.core.address.address_formatter import AddressType
7
- from src.core.grouptoken import GroupToken
8
- from src.core.network.network_manager import networks
9
- from src.core.script.script import Script
10
- from src.encoding.buffer_reader import BufferReader
11
- from src.encoding.buffer_writer import BufferWriter
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import OutputType
5
+ from libnexapy_test.core.address.address import Address
6
+ from libnexapy_test.core.address.address_formatter import AddressType
7
+ from libnexapy_test.core.grouptoken import GroupToken
8
+ from libnexapy_test.core.network.network_manager import networks
9
+ from libnexapy_test.core.script.script import Script
10
+ from libnexapy_test.encoding.buffer_reader import BufferReader
11
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
12
12
 
13
13
 
14
14
  class Output(TypedClass):
@@ -2,11 +2,11 @@ from typing import Self
2
2
 
3
3
  import re
4
4
 
5
- from src.common.class_types import TypedClass
6
- from src.common.types import InputSighashType, OutputSighashType
7
- from src.encoding.buffer_reader import BufferReader
8
- from src.encoding.buffer_writer import BufferWriter
9
- from src.utils.common_utils import is_hex_string
5
+ from libnexapy_test.common.class_types import TypedClass
6
+ from libnexapy_test.common.types import InputSighashType, OutputSighashType
7
+ from libnexapy_test.encoding.buffer_reader import BufferReader
8
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
9
+ from libnexapy_test.utils.common_utils import is_hex_string
10
10
 
11
11
 
12
12
  class SighashType(TypedClass):
@@ -2,20 +2,20 @@ from datetime import datetime, timezone
2
2
  import math
3
3
  from typing import Self
4
4
 
5
- from src.common.class_types import TypedClass
6
- from src.common.types import InputType
7
- from src.core.script.opcode import Opcode
8
- from src.core.script.script import Script
9
- from src.core.script.script_factory import ScriptFactory
10
- from src.core.transaction.input.input import Input
11
- from src.core.transaction.input.public_key_hash import PublicKeyHashInput
12
- from src.core.transaction.input.public_key_template import PublicKeyTemplateInput
13
- from src.core.transaction.input.script_template import ScriptTemplateInput
14
- from src.core.transaction.output import Output
15
- from src.encoding.buffer_reader import BufferReader
16
- from src.encoding.buffer_writer import BufferWriter
17
- from src.crypto.hash import Hash
18
- from src.utils.common_utils import *
5
+ from libnexapy_test.common.class_types import TypedClass
6
+ from libnexapy_test.common.types import InputType
7
+ from libnexapy_test.core.script.opcode import Opcode
8
+ from libnexapy_test.core.script.script import Script
9
+ from libnexapy_test.core.script.script_factory import ScriptFactory
10
+ from libnexapy_test.core.transaction.input.input import Input
11
+ from libnexapy_test.core.transaction.input.public_key_hash import PublicKeyHashInput
12
+ from libnexapy_test.core.transaction.input.public_key_template import PublicKeyTemplateInput
13
+ from libnexapy_test.core.transaction.input.script_template import ScriptTemplateInput
14
+ from libnexapy_test.core.transaction.output import Output
15
+ from libnexapy_test.encoding.buffer_reader import BufferReader
16
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
17
+ from libnexapy_test.crypto.hash import Hash
18
+ from libnexapy_test.utils.common_utils import *
19
19
 
20
20
  """
21
21
  Represents a Nexa transaction
@@ -1,21 +1,21 @@
1
1
  from datetime import datetime
2
2
  from typing import Self
3
3
 
4
- from src.common.class_types import TypedClass
5
- from src.common.types import InputType
6
- from src.core.script.script import Script
7
- from src.core.script.script_factory import ScriptFactory
8
- from src.core.transaction.input.input import Input
9
- from src.core.transaction.input.public_key_hash import PublicKeyHashInput
10
- from src.core.transaction.input.public_key_template import PublicKeyTemplateInput
11
- from src.core.transaction.input.script_template import ScriptTemplateInput
12
- from src.core.transaction.output import Output
13
- from src.core.transaction.sighash_type import SighashType
14
- from src.core.transaction.transaction import Transaction
15
- from src.core.transaction.tx_signer import TxSigner
16
- from src.core.transaction.unspent_output import UnspentOutput
17
- from src.keys.private_key import PrivateKey
18
- from src.utils.buffer_utils import *
4
+ from libnexapy_test.common.class_types import TypedClass
5
+ from libnexapy_test.common.types import InputType
6
+ from libnexapy_test.core.script.script import Script
7
+ from libnexapy_test.core.script.script_factory import ScriptFactory
8
+ from libnexapy_test.core.transaction.input.input import Input
9
+ from libnexapy_test.core.transaction.input.public_key_hash import PublicKeyHashInput
10
+ from libnexapy_test.core.transaction.input.public_key_template import PublicKeyTemplateInput
11
+ from libnexapy_test.core.transaction.input.script_template import ScriptTemplateInput
12
+ from libnexapy_test.core.transaction.output import Output
13
+ from libnexapy_test.core.transaction.sighash_type import SighashType
14
+ from libnexapy_test.core.transaction.transaction import Transaction
15
+ from libnexapy_test.core.transaction.tx_signer import TxSigner
16
+ from libnexapy_test.core.transaction.unspent_output import UnspentOutput
17
+ from libnexapy_test.keys.private_key import PrivateKey
18
+ from libnexapy_test.utils.buffer_utils import *
19
19
 
20
20
 
21
21
  class TransactionBuilder(TypedClass):
@@ -1,11 +1,11 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.core.script.script import Script
5
- from src.core.transaction.sighash_type import SighashType
6
- from src.crypto.signature import Signature
7
- from src.keys.public_key import PublicKey
8
- from src.utils.common_utils import is_hex_string
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.core.script.script import Script
5
+ from libnexapy_test.core.transaction.sighash_type import SighashType
6
+ from libnexapy_test.crypto.signature import Signature
7
+ from libnexapy_test.keys.public_key import PublicKey
8
+ from libnexapy_test.utils.common_utils import is_hex_string
9
9
 
10
10
 
11
11
  class TxSignature(TypedClass):
@@ -1,12 +1,12 @@
1
- from src.common.class_types import FrozenClass
2
- from src.common.types import InputSighashType, OutputSighashType
3
- from src.core.transaction.input.input import Input
4
- from src.core.transaction.sighash_type import SighashType
5
- from src.core.transaction.tx_signature import TxSignature
6
- from src.encoding.buffer_writer import BufferWriter
7
- from src.crypto import schnorr
8
- from src.crypto.hash import Hash
9
- from src.crypto.signature import Signature
1
+ from libnexapy_test.common.class_types import FrozenClass
2
+ from libnexapy_test.common.types import InputSighashType, OutputSighashType
3
+ from libnexapy_test.core.transaction.input.input import Input
4
+ from libnexapy_test.core.transaction.sighash_type import SighashType
5
+ from libnexapy_test.core.transaction.tx_signature import TxSignature
6
+ from libnexapy_test.encoding.buffer_writer import BufferWriter
7
+ from libnexapy_test.crypto import schnorr
8
+ from libnexapy_test.crypto.hash import Hash
9
+ from libnexapy_test.crypto.signature import Signature
10
10
 
11
11
 
12
12
  class TxSigner(FrozenClass):
@@ -1,9 +1,9 @@
1
- from src.common.class_types import TypedClass
2
- from src.core.script.script import Script
3
- from src.core.script.script_factory import ScriptFactory
4
- from src.utils.buffer_utils import *
5
- from src.utils.common_utils import *
6
- from src.utils.unit_utils import UnitUtils
1
+ from libnexapy_test.common.class_types import TypedClass
2
+ from libnexapy_test.core.script.script import Script
3
+ from libnexapy_test.core.script.script_factory import ScriptFactory
4
+ from libnexapy_test.utils.buffer_utils import *
5
+ from libnexapy_test.utils.common_utils import *
6
+ from libnexapy_test.utils.unit_utils import UnitUtils
7
7
 
8
8
 
9
9
  class UnspentOutput(TypedClass):
@@ -1,11 +1,11 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import ISignature
5
- from src.crypto.signature import Signature
6
- from src.keys.private_key import PrivateKey
7
- from src.keys.public_key import PublicKey
8
- from src.utils.num_utils import from_buffer
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import ISignature
5
+ from libnexapy_test.crypto.signature import Signature
6
+ from libnexapy_test.keys.private_key import PrivateKey
7
+ from libnexapy_test.keys.public_key import PublicKey
8
+ from libnexapy_test.utils.num_utils import from_buffer
9
9
 
10
10
 
11
11
  class DigitalSignature(TypedClass):
@@ -13,14 +13,14 @@ from ctypes import (
13
13
 
14
14
  from ecdsa.ellipticcurve import INFINITY, Point
15
15
 
16
- from src.crypto.digital_signature import DigitalSignature
17
- from src.crypto.hash import Hash
18
- from src.crypto.secp256k1 import N, P, secp256k1
19
- from src.crypto.signature import Signature
20
- from src.keys.private_key import PrivateKey
21
- from src.keys.public_key import PublicKey, curve, generator
22
- from src.utils.buffer_utils import *
23
- from src.utils.num_utils import from_buffer, to_buffer
16
+ from libnexapy_test.crypto.digital_signature import DigitalSignature
17
+ from libnexapy_test.crypto.hash import Hash
18
+ from libnexapy_test.crypto.secp256k1 import N, P, secp256k1
19
+ from libnexapy_test.crypto.signature import Signature
20
+ from libnexapy_test.keys.private_key import PrivateKey
21
+ from libnexapy_test.keys.public_key import PublicKey, curve, generator
22
+ from libnexapy_test.utils.buffer_utils import *
23
+ from libnexapy_test.utils.num_utils import from_buffer, to_buffer
24
24
 
25
25
  NONCEFUNC = CFUNCTYPE(c_int, POINTER(c_byte), c_char_p, c_char_p, c_char_p, c_void_p, c_uint)
26
26
 
@@ -1,9 +1,9 @@
1
1
  import hashlib
2
2
  import hmac
3
3
 
4
- from src.common.class_types import FrozenClass
5
- from src.crypto.ripemd160 import RIPEMD160
6
- from src.utils.buffer_utils import *
4
+ from libnexapy_test.common.class_types import FrozenClass
5
+ from libnexapy_test.crypto.ripemd160 import RIPEMD160
6
+ from libnexapy_test.utils.buffer_utils import *
7
7
 
8
8
 
9
9
  class Hash(FrozenClass):
@@ -1,7 +1,7 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.types import ISignature
4
- from src.utils.buffer_utils import *
3
+ from libnexapy_test.common.types import ISignature
4
+ from libnexapy_test.utils.buffer_utils import *
5
5
 
6
6
 
7
7
  class Signature(ISignature):
@@ -1,4 +1,4 @@
1
- from src.common.class_types import FrozenClass
1
+ from libnexapy_test.common.class_types import FrozenClass
2
2
 
3
3
 
4
4
  class Base32(FrozenClass):
@@ -1,7 +1,7 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import BufferParams
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import BufferParams
5
5
 
6
6
 
7
7
  class Base58(TypedClass):
@@ -1,9 +1,9 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import BufferParams
5
- from src.crypto.hash import Hash
6
- from src.encoding.base58 import Base58
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import BufferParams
5
+ from libnexapy_test.crypto.hash import Hash
6
+ from libnexapy_test.encoding.base58 import Base58
7
7
 
8
8
 
9
9
  class Base58Check(TypedClass):
@@ -1,9 +1,9 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import BufferParams
5
- import src.utils.buffer_utils as BufferUtils
6
- import src.utils.common_utils as CommonUtils
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import BufferParams
5
+ import libnexapy_test.utils.buffer_utils as BufferUtils
6
+ import libnexapy_test.utils.common_utils as CommonUtils
7
7
 
8
8
 
9
9
  class BufferReader(TypedClass):
@@ -1,8 +1,8 @@
1
1
  from typing import Self
2
2
 
3
- from src.common.class_types import TypedClass
4
- from src.common.types import BufferWriterOptions
5
- import src.utils.buffer_utils as BufferUtils
3
+ from libnexapy_test.common.class_types import TypedClass
4
+ from libnexapy_test.common.types import BufferWriterOptions
5
+ import libnexapy_test.utils.buffer_utils as BufferUtils
6
6
 
7
7
 
8
8
  class BufferWriter(TypedClass):