hive-nectar 0.0.2__py3-none-any.whl

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.

Potentially problematic release.


This version of hive-nectar might be problematic. Click here for more details.

Files changed (86) hide show
  1. hive_nectar-0.0.2.dist-info/METADATA +182 -0
  2. hive_nectar-0.0.2.dist-info/RECORD +86 -0
  3. hive_nectar-0.0.2.dist-info/WHEEL +4 -0
  4. hive_nectar-0.0.2.dist-info/entry_points.txt +2 -0
  5. hive_nectar-0.0.2.dist-info/licenses/LICENSE.txt +23 -0
  6. nectar/__init__.py +32 -0
  7. nectar/account.py +4371 -0
  8. nectar/amount.py +475 -0
  9. nectar/asciichart.py +270 -0
  10. nectar/asset.py +82 -0
  11. nectar/block.py +446 -0
  12. nectar/blockchain.py +1178 -0
  13. nectar/blockchaininstance.py +2284 -0
  14. nectar/blockchainobject.py +221 -0
  15. nectar/blurt.py +563 -0
  16. nectar/cli.py +6285 -0
  17. nectar/comment.py +1217 -0
  18. nectar/community.py +513 -0
  19. nectar/constants.py +111 -0
  20. nectar/conveyor.py +309 -0
  21. nectar/discussions.py +1709 -0
  22. nectar/exceptions.py +149 -0
  23. nectar/hive.py +546 -0
  24. nectar/hivesigner.py +420 -0
  25. nectar/imageuploader.py +72 -0
  26. nectar/instance.py +129 -0
  27. nectar/market.py +1013 -0
  28. nectar/memo.py +449 -0
  29. nectar/message.py +357 -0
  30. nectar/nodelist.py +444 -0
  31. nectar/price.py +557 -0
  32. nectar/profile.py +65 -0
  33. nectar/rc.py +308 -0
  34. nectar/snapshot.py +726 -0
  35. nectar/steem.py +582 -0
  36. nectar/storage.py +53 -0
  37. nectar/transactionbuilder.py +622 -0
  38. nectar/utils.py +545 -0
  39. nectar/version.py +2 -0
  40. nectar/vote.py +557 -0
  41. nectar/wallet.py +472 -0
  42. nectar/witness.py +617 -0
  43. nectarapi/__init__.py +11 -0
  44. nectarapi/exceptions.py +123 -0
  45. nectarapi/graphenerpc.py +589 -0
  46. nectarapi/node.py +178 -0
  47. nectarapi/noderpc.py +229 -0
  48. nectarapi/rpcutils.py +97 -0
  49. nectarapi/version.py +2 -0
  50. nectarbase/__init__.py +14 -0
  51. nectarbase/ledgertransactions.py +75 -0
  52. nectarbase/memo.py +243 -0
  53. nectarbase/objects.py +429 -0
  54. nectarbase/objecttypes.py +22 -0
  55. nectarbase/operationids.py +102 -0
  56. nectarbase/operations.py +1297 -0
  57. nectarbase/signedtransactions.py +48 -0
  58. nectarbase/transactions.py +11 -0
  59. nectarbase/version.py +2 -0
  60. nectargrapheneapi/__init__.py +6 -0
  61. nectargraphenebase/__init__.py +27 -0
  62. nectargraphenebase/account.py +846 -0
  63. nectargraphenebase/aes.py +52 -0
  64. nectargraphenebase/base58.py +192 -0
  65. nectargraphenebase/bip32.py +494 -0
  66. nectargraphenebase/bip38.py +134 -0
  67. nectargraphenebase/chains.py +149 -0
  68. nectargraphenebase/dictionary.py +3 -0
  69. nectargraphenebase/ecdsasig.py +326 -0
  70. nectargraphenebase/objects.py +123 -0
  71. nectargraphenebase/objecttypes.py +6 -0
  72. nectargraphenebase/operationids.py +3 -0
  73. nectargraphenebase/operations.py +23 -0
  74. nectargraphenebase/prefix.py +11 -0
  75. nectargraphenebase/py23.py +38 -0
  76. nectargraphenebase/signedtransactions.py +201 -0
  77. nectargraphenebase/types.py +419 -0
  78. nectargraphenebase/unsignedtransactions.py +283 -0
  79. nectargraphenebase/version.py +2 -0
  80. nectarstorage/__init__.py +38 -0
  81. nectarstorage/base.py +306 -0
  82. nectarstorage/exceptions.py +16 -0
  83. nectarstorage/interfaces.py +237 -0
  84. nectarstorage/masterpassword.py +239 -0
  85. nectarstorage/ram.py +30 -0
  86. nectarstorage/sqlite.py +334 -0
@@ -0,0 +1,149 @@
1
+ # -*- coding: utf-8 -*-
2
+ default_prefix = "STM"
3
+ known_chains = {
4
+ "HIVE": {
5
+ "chain_id": "0" * int(256 / 4),
6
+ "min_version": "0.23.0",
7
+ "prefix": "STM",
8
+ "chain_assets": [
9
+ {"asset": "@@000000013", "symbol": "HBD", "precision": 3, "id": 0},
10
+ {"asset": "@@000000021", "symbol": "HIVE", "precision": 3, "id": 1},
11
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
12
+ ],
13
+ },
14
+ "HIVE2": {
15
+ "chain_id": "beeab0de00000000000000000000000000000000000000000000000000000000",
16
+ "min_version": "0.24.0",
17
+ "prefix": "STM",
18
+ "chain_assets": [
19
+ {"asset": "@@000000013", "symbol": "HBD", "precision": 3, "id": 0},
20
+ {"asset": "@@000000021", "symbol": "HIVE", "precision": 3, "id": 1},
21
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
22
+ ],
23
+ },
24
+ "BLURT": {
25
+ "chain_id": "cd8d90f29ae273abec3eaa7731e25934c63eb654d55080caff2ebb7f5df6381f",
26
+ "min_version": "0.0.0",
27
+ "prefix": "BLT",
28
+ "chain_assets": [
29
+ {"asset": "@@000000021", "symbol": "BLURT", "precision": 3, "id": 1},
30
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
31
+ ],
32
+ },
33
+ "STEEM": {
34
+ "chain_id": "0" * int(256 / 4),
35
+ "min_version": "0.19.10",
36
+ "prefix": "STM",
37
+ "chain_assets": [
38
+ {"asset": "@@000000013", "symbol": "SBD", "precision": 3, "id": 0},
39
+ {"asset": "@@000000021", "symbol": "STEEM", "precision": 3, "id": 1},
40
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
41
+ ],
42
+ },
43
+ "TESTNET": {
44
+ "chain_id": "79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673",
45
+ "min_version": "0.20.0",
46
+ "prefix": "STX",
47
+ "chain_assets": [
48
+ {"asset": "@@000000013", "symbol": "SBD", "precision": 3, "id": 0},
49
+ {"asset": "@@000000021", "symbol": "STEEM", "precision": 3, "id": 1},
50
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
51
+ ],
52
+ },
53
+ "TESTDEV": {
54
+ "chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e",
55
+ "min_version": "0.20.0",
56
+ "prefix": "TST",
57
+ "chain_assets": [
58
+ {"asset": "@@000000013", "symbol": "TBD", "precision": 3, "id": 0},
59
+ {"asset": "@@000000021", "symbol": "TESTS", "precision": 3, "id": 1},
60
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
61
+ ],
62
+ },
63
+ "GOLOS": {
64
+ "chain_id": "782a3039b478c839e4cb0c941ff4eaeb7df40bdd68bd441afd444b9da763de12",
65
+ "min_version": "0.0.0",
66
+ "prefix": "GLS",
67
+ "chain_assets": [
68
+ {"asset": "SBD", "symbol": "GBG", "precision": 3, "id": 0},
69
+ {"asset": "STEEM", "symbol": "GOLOS", "precision": 3, "id": 1},
70
+ {"asset": "VESTS", "symbol": "GESTS", "precision": 6, "id": 2},
71
+ ],
72
+ },
73
+ "VIT": {
74
+ "chain_id": "73f14dd4b7b07a8663be9d84300de0f65ef2ee7e27aae32bbe911c548c08f000",
75
+ "min_version": "0.0.0",
76
+ "prefix": "VIT",
77
+ "chain_assets": [
78
+ {"asset": "STEEM", "symbol": "VIT", "precision": 3, "id": 1},
79
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
80
+ ],
81
+ },
82
+ "VIZ": {
83
+ "chain_id": "2040effda178d4fffff5eab7a915d4019879f5205cc5392e4bcced2b6edda0cd",
84
+ "min_version": "2.5.0",
85
+ "prefix": "VIZ",
86
+ "chain_assets": [
87
+ {"asset": "STEEM", "symbol": "VIZ", "precision": 3, "id": 1},
88
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
89
+ ],
90
+ },
91
+ "WEKU": {
92
+ "chain_id": "b24e09256ee14bab6d58bfa3a4e47b0474a73ef4d6c47eeea007848195fa085e",
93
+ "min_version": "0.19.3",
94
+ "prefix": "WKA",
95
+ "chain_assets": [
96
+ {"asset": "SBD", "symbol": "WKD", "precision": 3, "id": 0},
97
+ {"asset": "STEEM", "symbol": "WEKU", "precision": 3, "id": 1},
98
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
99
+ ],
100
+ },
101
+ "SMOKE": {
102
+ "chain_id": "1ce08345e61cd3bf91673a47fc507e7ed01550dab841fd9cdb0ab66ef576aaf0",
103
+ "min_version": "0.1.0",
104
+ "prefix": "SMK",
105
+ "chain_assets": [
106
+ {"asset": "STEEM", "symbol": "SMOKE", "precision": 3, "id": 1},
107
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
108
+ ],
109
+ },
110
+ "EFTGAPPBASE": {
111
+ "chain_id": "1c15984beb16945c01cb9bc3d654b0417c650461dfe535018fe03a4fc5a36864",
112
+ "min_version": "0.19.12",
113
+ "prefix": "EUR",
114
+ "chain_assets": [
115
+ {"asset": "@@000000013", "symbol": "EUR", "precision": 3, "id": 0},
116
+ {"asset": "@@000000021", "symbol": "EFTG", "precision": 3, "id": 1},
117
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
118
+ ],
119
+ },
120
+ "EFTG": {
121
+ "chain_id": "1c15984beb16945c01cb9bc3d654b0417c650461dfe535018fe03a4fc5a36864",
122
+ "min_version": "0.19.6",
123
+ "prefix": "EUR",
124
+ "chain_assets": [
125
+ {"asset": "SBD", "symbol": "EUR", "precision": 3, "id": 0},
126
+ {"asset": "STEEM", "symbol": "EFTG", "precision": 3, "id": 1},
127
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
128
+ ],
129
+ },
130
+ "PULSAR": {
131
+ "chain_id": "07c687c01f134adaf217a9b9367d1cef679c3c020167fdd25ee8c403f687528e",
132
+ "min_version": "0.101.0",
133
+ "prefix": "EUR",
134
+ "chain_assets": [
135
+ {"asset": "@@000000013", "symbol": "EUR", "precision": 3, "id": 0},
136
+ {"asset": "@@000000021", "symbol": "PULSE", "precision": 3, "id": 1},
137
+ {"asset": "@@000000037", "symbol": "VESTS", "precision": 6, "id": 2},
138
+ ],
139
+ },
140
+ "WLS": {
141
+ "chain_id": "de999ada2ff7ed3d3d580381f229b40b5a0261aec48eb830e540080817b72866",
142
+ "min_version": "0.0.0",
143
+ "prefix": "WLS",
144
+ "chain_assets": [
145
+ {"asset": "STEEM", "symbol": "WLS", "precision": 3, "id": 1},
146
+ {"asset": "VESTS", "symbol": "VESTS", "precision": 6, "id": 2},
147
+ ],
148
+ },
149
+ }