zeldwallet 0.1.0

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 (133) hide show
  1. package/README.md +305 -0
  2. package/dist/index.d.ts +6 -0
  3. package/dist/src/ZeldWallet.d.ts +254 -0
  4. package/dist/src/ZeldWallet.d.ts.map +1 -0
  5. package/dist/src/component/ZeldWalletUI.d.ts +56 -0
  6. package/dist/src/component/ZeldWalletUI.d.ts.map +1 -0
  7. package/dist/src/component/balance.d.ts +41 -0
  8. package/dist/src/component/balance.d.ts.map +1 -0
  9. package/dist/src/component/bindings.d.ts +76 -0
  10. package/dist/src/component/bindings.d.ts.map +1 -0
  11. package/dist/src/component/constants.d.ts +15 -0
  12. package/dist/src/component/constants.d.ts.map +1 -0
  13. package/dist/src/component/controller.d.ts +224 -0
  14. package/dist/src/component/controller.d.ts.map +1 -0
  15. package/dist/src/component/errors.d.ts +5 -0
  16. package/dist/src/component/errors.d.ts.map +1 -0
  17. package/dist/src/component/i18n.d.ts +156 -0
  18. package/dist/src/component/i18n.d.ts.map +1 -0
  19. package/dist/src/component/messages/ar.d.ts +3 -0
  20. package/dist/src/component/messages/ar.d.ts.map +1 -0
  21. package/dist/src/component/messages/bn.d.ts +3 -0
  22. package/dist/src/component/messages/bn.d.ts.map +1 -0
  23. package/dist/src/component/messages/cs.d.ts +3 -0
  24. package/dist/src/component/messages/cs.d.ts.map +1 -0
  25. package/dist/src/component/messages/de.d.ts +3 -0
  26. package/dist/src/component/messages/de.d.ts.map +1 -0
  27. package/dist/src/component/messages/el.d.ts +3 -0
  28. package/dist/src/component/messages/el.d.ts.map +1 -0
  29. package/dist/src/component/messages/en.d.ts +3 -0
  30. package/dist/src/component/messages/en.d.ts.map +1 -0
  31. package/dist/src/component/messages/es.d.ts +3 -0
  32. package/dist/src/component/messages/es.d.ts.map +1 -0
  33. package/dist/src/component/messages/fa.d.ts +3 -0
  34. package/dist/src/component/messages/fa.d.ts.map +1 -0
  35. package/dist/src/component/messages/fr.d.ts +3 -0
  36. package/dist/src/component/messages/fr.d.ts.map +1 -0
  37. package/dist/src/component/messages/he.d.ts +3 -0
  38. package/dist/src/component/messages/he.d.ts.map +1 -0
  39. package/dist/src/component/messages/hi.d.ts +3 -0
  40. package/dist/src/component/messages/hi.d.ts.map +1 -0
  41. package/dist/src/component/messages/id.d.ts +3 -0
  42. package/dist/src/component/messages/id.d.ts.map +1 -0
  43. package/dist/src/component/messages/index.d.ts +31 -0
  44. package/dist/src/component/messages/index.d.ts.map +1 -0
  45. package/dist/src/component/messages/it.d.ts +3 -0
  46. package/dist/src/component/messages/it.d.ts.map +1 -0
  47. package/dist/src/component/messages/ja.d.ts +3 -0
  48. package/dist/src/component/messages/ja.d.ts.map +1 -0
  49. package/dist/src/component/messages/ko.d.ts +3 -0
  50. package/dist/src/component/messages/ko.d.ts.map +1 -0
  51. package/dist/src/component/messages/ms.d.ts +3 -0
  52. package/dist/src/component/messages/ms.d.ts.map +1 -0
  53. package/dist/src/component/messages/nl.d.ts +3 -0
  54. package/dist/src/component/messages/nl.d.ts.map +1 -0
  55. package/dist/src/component/messages/pl.d.ts +3 -0
  56. package/dist/src/component/messages/pl.d.ts.map +1 -0
  57. package/dist/src/component/messages/pt.d.ts +3 -0
  58. package/dist/src/component/messages/pt.d.ts.map +1 -0
  59. package/dist/src/component/messages/ro.d.ts +3 -0
  60. package/dist/src/component/messages/ro.d.ts.map +1 -0
  61. package/dist/src/component/messages/ru.d.ts +3 -0
  62. package/dist/src/component/messages/ru.d.ts.map +1 -0
  63. package/dist/src/component/messages/sw.d.ts +3 -0
  64. package/dist/src/component/messages/sw.d.ts.map +1 -0
  65. package/dist/src/component/messages/th.d.ts +3 -0
  66. package/dist/src/component/messages/th.d.ts.map +1 -0
  67. package/dist/src/component/messages/tl.d.ts +3 -0
  68. package/dist/src/component/messages/tl.d.ts.map +1 -0
  69. package/dist/src/component/messages/tr.d.ts +3 -0
  70. package/dist/src/component/messages/tr.d.ts.map +1 -0
  71. package/dist/src/component/messages/uk.d.ts +3 -0
  72. package/dist/src/component/messages/uk.d.ts.map +1 -0
  73. package/dist/src/component/messages/ur.d.ts +3 -0
  74. package/dist/src/component/messages/ur.d.ts.map +1 -0
  75. package/dist/src/component/messages/vi.d.ts +3 -0
  76. package/dist/src/component/messages/vi.d.ts.map +1 -0
  77. package/dist/src/component/messages/zh-CN.d.ts +3 -0
  78. package/dist/src/component/messages/zh-CN.d.ts.map +1 -0
  79. package/dist/src/component/messages/zh-TW.d.ts +3 -0
  80. package/dist/src/component/messages/zh-TW.d.ts.map +1 -0
  81. package/dist/src/component/miner.d.ts +108 -0
  82. package/dist/src/component/miner.d.ts.map +1 -0
  83. package/dist/src/component/render.d.ts +11 -0
  84. package/dist/src/component/render.d.ts.map +1 -0
  85. package/dist/src/component/state.d.ts +142 -0
  86. package/dist/src/component/state.d.ts.map +1 -0
  87. package/dist/src/component/styles.d.ts +2 -0
  88. package/dist/src/component/styles.d.ts.map +1 -0
  89. package/dist/src/component/viewModel.d.ts +281 -0
  90. package/dist/src/component/viewModel.d.ts.map +1 -0
  91. package/dist/src/component/wallets.d.ts +40 -0
  92. package/dist/src/component/wallets.d.ts.map +1 -0
  93. package/dist/src/index.d.ts +18 -0
  94. package/dist/src/index.d.ts.map +1 -0
  95. package/dist/src/keys/KeyManager.d.ts +132 -0
  96. package/dist/src/keys/KeyManager.d.ts.map +1 -0
  97. package/dist/src/keys/derivation.d.ts +58 -0
  98. package/dist/src/keys/derivation.d.ts.map +1 -0
  99. package/dist/src/keys/signing.d.ts +44 -0
  100. package/dist/src/keys/signing.d.ts.map +1 -0
  101. package/dist/src/provider/WBIPProvider.d.ts +74 -0
  102. package/dist/src/provider/WBIPProvider.d.ts.map +1 -0
  103. package/dist/src/react/ZeldWalletCard.d.ts +29 -0
  104. package/dist/src/react/ZeldWalletCard.d.ts.map +1 -0
  105. package/dist/src/react/index.d.ts +3 -0
  106. package/dist/src/react/index.d.ts.map +1 -0
  107. package/dist/src/react/useZeldWalletController.d.ts +28 -0
  108. package/dist/src/react/useZeldWalletController.d.ts.map +1 -0
  109. package/dist/src/storage/SecureStorage.d.ts +183 -0
  110. package/dist/src/storage/SecureStorage.d.ts.map +1 -0
  111. package/dist/src/storage/constants.d.ts +59 -0
  112. package/dist/src/storage/constants.d.ts.map +1 -0
  113. package/dist/src/types/index.d.ts +245 -0
  114. package/dist/src/types/index.d.ts.map +1 -0
  115. package/dist/src/ui/Modal.d.ts +19 -0
  116. package/dist/src/ui/Modal.d.ts.map +1 -0
  117. package/dist/src/unifiedWallet.d.ts +29 -0
  118. package/dist/src/unifiedWallet.d.ts.map +1 -0
  119. package/dist/src/utils/crypto.d.ts +36 -0
  120. package/dist/src/utils/crypto.d.ts.map +1 -0
  121. package/dist/src/utils/encoding.d.ts +46 -0
  122. package/dist/src/utils/encoding.d.ts.map +1 -0
  123. package/dist/src/utils/validation.d.ts +42 -0
  124. package/dist/src/utils/validation.d.ts.map +1 -0
  125. package/dist/wasm/package.json +31 -0
  126. package/dist/wasm/zeldhash_miner_wasm.d.ts +82 -0
  127. package/dist/wasm/zeldhash_miner_wasm.js +1404 -0
  128. package/dist/wasm/zeldhash_miner_wasm_bg.wasm +0 -0
  129. package/dist/wasm/zeldhash_miner_wasm_bg.wasm.d.ts +27 -0
  130. package/dist/worker.js +338 -0
  131. package/dist/zeldwallet.es.js +36558 -0
  132. package/dist/zeldwallet.es.js.map +1 -0
  133. package/package.json +99 -0
@@ -0,0 +1,31 @@
1
+ export { en } from './en';
2
+ export { fr } from './fr';
3
+ export { zhCN } from './zh-CN';
4
+ export { zhTW } from './zh-TW';
5
+ export { es } from './es';
6
+ export { hi } from './hi';
7
+ export { pt } from './pt';
8
+ export { vi } from './vi';
9
+ export { id } from './id';
10
+ export { ar } from './ar';
11
+ export { tr } from './tr';
12
+ export { ru } from './ru';
13
+ export { ko } from './ko';
14
+ export { ja } from './ja';
15
+ export { th } from './th';
16
+ export { tl } from './tl';
17
+ export { uk } from './uk';
18
+ export { de } from './de';
19
+ export { pl } from './pl';
20
+ export { ur } from './ur';
21
+ export { fa } from './fa';
22
+ export { bn } from './bn';
23
+ export { nl } from './nl';
24
+ export { it } from './it';
25
+ export { ms } from './ms';
26
+ export { sw } from './sw';
27
+ export { ro } from './ro';
28
+ export { cs } from './cs';
29
+ export { el } from './el';
30
+ export { he } from './he';
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const it: LocaleStringsInput;
3
+ //# sourceMappingURL=it.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/it.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ja: LocaleStringsInput;
3
+ //# sourceMappingURL=ja.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ja.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ko: LocaleStringsInput;
3
+ //# sourceMappingURL=ko.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ko.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ms: LocaleStringsInput;
3
+ //# sourceMappingURL=ms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ms.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const nl: LocaleStringsInput;
3
+ //# sourceMappingURL=nl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const pl: LocaleStringsInput;
3
+ //# sourceMappingURL=pl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/pl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const pt: LocaleStringsInput;
3
+ //# sourceMappingURL=pt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/pt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ro: LocaleStringsInput;
3
+ //# sourceMappingURL=ro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ru: LocaleStringsInput;
3
+ //# sourceMappingURL=ru.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ru.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const sw: LocaleStringsInput;
3
+ //# sourceMappingURL=sw.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sw.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/sw.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const th: LocaleStringsInput;
3
+ //# sourceMappingURL=th.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"th.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/th.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const tl: LocaleStringsInput;
3
+ //# sourceMappingURL=tl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tl.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/tl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const tr: LocaleStringsInput;
3
+ //# sourceMappingURL=tr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/tr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const uk: LocaleStringsInput;
3
+ //# sourceMappingURL=uk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uk.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/uk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const ur: LocaleStringsInput;
3
+ //# sourceMappingURL=ur.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ur.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/ur.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const vi: LocaleStringsInput;
3
+ //# sourceMappingURL=vi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vi.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/vi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,EAAE,EAAE,kBAiJhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const zhCN: LocaleStringsInput;
3
+ //# sourceMappingURL=zh-CN.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/zh-CN.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,IAAI,EAAE,kBAiJlB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { LocaleStringsInput } from '../i18n';
2
+ export declare const zhTW: LocaleStringsInput;
3
+ //# sourceMappingURL=zh-TW.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../../src/component/messages/zh-TW.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,IAAI,EAAE,kBAiJlB,CAAC"}
@@ -0,0 +1,108 @@
1
+ import { NetworkType } from '../types';
2
+ export { DUST, MIN_FEE_RESERVE } from './constants';
3
+ /** UTXO from Electrs API */
4
+ export interface UtxoInfo {
5
+ txid: string;
6
+ vout: number;
7
+ value: number;
8
+ status: {
9
+ confirmed: boolean;
10
+ block_height?: number;
11
+ };
12
+ }
13
+ /** UTXO with Zeld balance (for ordinals address) */
14
+ export interface OrdinalsUtxo extends UtxoInfo {
15
+ zeldBalance: number;
16
+ }
17
+ /** Input format for zeldhash-miner */
18
+ export interface TxInput {
19
+ txid: string;
20
+ vout: number;
21
+ scriptPubKey: string;
22
+ amount: number;
23
+ }
24
+ /** Output format for zeldhash-miner */
25
+ export interface TxOutput {
26
+ address: string;
27
+ amount?: number;
28
+ change: boolean;
29
+ }
30
+ /** Result from prepareMinerArgs */
31
+ export interface MinerArgs {
32
+ inputs: TxInput[];
33
+ outputs: TxOutput[];
34
+ targetZeros: number;
35
+ useGpu: boolean;
36
+ distribution?: bigint[];
37
+ }
38
+ /** Optional BTC output */
39
+ export interface BtcOutput {
40
+ address: string;
41
+ amount: number;
42
+ }
43
+ /** Optional Zeld output */
44
+ export interface ZeldOutput {
45
+ address: string;
46
+ amount: number;
47
+ }
48
+ /** Error codes for miner errors */
49
+ export type MinerErrorCode = 'MINER_NO_UTXO' | 'MINER_INSUFFICIENT_BTC' | 'MINER_INSUFFICIENT_ZELD' | 'MINER_INSUFFICIENT_BTC_FOR_ZELD' | 'MINER_INVALID_TARGET_ZEROS';
50
+ /** Error thrown when funds are insufficient or other miner errors */
51
+ export declare class MinerError extends Error {
52
+ readonly code: MinerErrorCode;
53
+ readonly params: Record<string, string | number>;
54
+ constructor(code: MinerErrorCode, params?: Record<string, string | number>);
55
+ }
56
+ /** @deprecated Use MinerError instead */
57
+ export declare class InsufficientFundsError extends MinerError {
58
+ constructor(message: string);
59
+ }
60
+ /**
61
+ * Converts a Bitcoin address to its scriptPubKey (hex).
62
+ */
63
+ export declare function addressToScriptPubKey(address: string, network?: NetworkType): string;
64
+ /**
65
+ * Prepares inputs/outputs for a simple hunt (no BTC or Zeld sending).
66
+ *
67
+ * Algorithm:
68
+ * - Input: Select the smallest UTXO from payment address that has > 2 * DUST sats.
69
+ * - Outputs:
70
+ * 1. Ordinals address, value = DUST (330 sats), change = false
71
+ * 2. Payment address, value = null, change = true (BTC change)
72
+ */
73
+ export declare function prepareSimpleHunt(paymentAddress: string, paymentUtxos: UtxoInfo[], ordinalsAddress: string, targetZeros: number, useGpu: boolean, network?: NetworkType): MinerArgs;
74
+ /**
75
+ * Prepares inputs/outputs for a hunt with BTC sending.
76
+ *
77
+ * Algorithm:
78
+ * - Inputs: Starting with the largest UTXO from payment address, take enough to cover
79
+ * btc_output.amount + DUST + MIN_FEE_RESERVE.
80
+ * - Outputs:
81
+ * 1. Ordinals address, value = DUST (330 sats), change = false
82
+ * 2. btc_output.address with btc_output.amount, change = false
83
+ * 3. Payment address, value = null, change = true (BTC change)
84
+ */
85
+ export declare function prepareBtcSendHunt(paymentAddress: string, paymentUtxos: UtxoInfo[], ordinalsAddress: string, btcOutput: BtcOutput, targetZeros: number, useGpu: boolean, network?: NetworkType): MinerArgs;
86
+ /**
87
+ * Prepares inputs/outputs for a hunt with Zeld sending.
88
+ *
89
+ * Algorithm:
90
+ * - Inputs:
91
+ * 1. Starting with the largest, select Ordinals UTXOs to cover zeld_output.amount.
92
+ * 2. If total BTC from selected inputs < 2 * DUST + MIN_FEE_RESERVE,
93
+ * add more UTXOs (Ordinals or Payment) to reach that threshold.
94
+ * - Outputs:
95
+ * 1. Ordinals address, value = DUST (330 sats), change = false (Zeld change)
96
+ * 2. zeld_output.address, value = DUST (330 sats), change = false
97
+ * 3. Payment address, value = null, change = true (BTC change, if needed)
98
+ * - Distribution: [change_zeld, zeld_output.amount]
99
+ * where change_zeld = total Zeld in inputs - zeld_output.amount
100
+ */
101
+ export declare function prepareZeldSendHunt(paymentAddress: string, paymentUtxos: UtxoInfo[], ordinalsAddress: string, ordinalsUtxos: OrdinalsUtxo[], zeldOutput: ZeldOutput, targetZeros: number, useGpu: boolean, network?: NetworkType): MinerArgs;
102
+ /**
103
+ * Prepares arguments for zeldhash-miner based on the hunting mode.
104
+ *
105
+ * Dispatches to the appropriate helper function based on btc_output and zeld_output.
106
+ */
107
+ export declare function prepareMinerArgs(paymentAddress: string, paymentUtxos: UtxoInfo[], ordinalsAddress: string, ordinalsUtxos: OrdinalsUtxo[], targetZeros: number, useGpu: boolean, btcOutput?: BtcOutput, zeldOutput?: ZeldOutput, network?: NetworkType): MinerArgs;
108
+ //# sourceMappingURL=miner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"miner.d.ts","sourceRoot":"","sources":["../../../src/component/miner.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAUpD,4BAA4B;AAC5B,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QACN,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;CACH;AAED,oDAAoD;AACpD,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,sCAAsC;AACtC,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,uCAAuC;AACvC,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,mCAAmC;AACnC,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,OAAO,EAAE,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eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,OAAO,EACf,OAAO,GAAE,WAAuB,GAC/B,SAAS,CAsCX;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CACjC,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,QAAQ,EAAE,EACxB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,YAAY,EAAE,EAC7B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,OAAO,EACf,OAAO,GAAE,WAAuB,GAC/B,SAAS,CAwFX;AAMD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,QAAQ,EAAE,EACxB,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,YAAY,EAAE,EAC7B,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,OAAO,EACf,SAAS,CAAC,EAAE,SAAS,EACrB,UAAU,CAAC,EAAE,UAAU,EACvB,OAAO,GAAE,WAAuB,GAC/B,SAAS,CA0CX"}
@@ -0,0 +1,11 @@
1
+ import { RenderTemplateProps } from './viewModel';
2
+ declare const COPY_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"/><path d=\"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2\"/><path d=\"M16 4h2a2 2 0 0 1 2 2v4\"/><path d=\"M21 14H11\"/><path d=\"m15 10-4 4 4 4\"/></svg>";
3
+ declare const COPIED_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"/></svg>";
4
+ declare const DOWNLOAD_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"7 10 12 15 17 10\"/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"/></svg>";
5
+ declare const CANCEL_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/></svg>";
6
+ declare const UNLOCK_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"11\" width=\"18\" height=\"11\" rx=\"2\" ry=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 9.9-1\"/></svg>";
7
+ declare const CHECK_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"/></svg>";
8
+ declare const TARGET_ICON = "<svg class=\"zeldwallet-btn-icon\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><circle cx=\"12\" cy=\"12\" r=\"6\"/><circle cx=\"12\" cy=\"12\" r=\"2\"/></svg>";
9
+ export { COPY_ICON, COPIED_ICON, DOWNLOAD_ICON, CANCEL_ICON, UNLOCK_ICON, CHECK_ICON, TARGET_ICON };
10
+ export declare const buildTemplate: (props: RenderTemplateProps) => string;
11
+ //# sourceMappingURL=render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/component/render.ts"],"names":[],"mappings":"AAEA,OAAO,EAWL,KAAK,mBAAmB,EAIzB,MAAM,aAAa,CAAC;AAGrB,QAAA,MAAM,SAAS,4aAAsY,CAAC;AAEtZ,QAAA,MAAM,WAAW,gPAA4N,CAAC;AAC9O,QAAA,MAAM,aAAa,uVAAyT,CAAC;AAE7U,QAAA,MAAM,WAAW,qSAAmQ,CAAC;AAErR,QAAA,MAAM,WAAW,qTAAqR,CAAC;AAEvS,QAAA,MAAM,UAAU,gPAA4N,CAAC;AAG7O,QAAA,MAAM,WAAW,2TAAuR,CAAC;AAKzS,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;AAu3BpG,eAAO,MAAM,aAAa,GAAI,OAAO,mBAAmB,KAAG,MA0C1D,CAAC"}
@@ -0,0 +1,142 @@
1
+ import { NetworkType, AddressInfo } from '../types';
2
+ import { SupportedWalletId, WalletOptionState } from './wallets';
3
+ export type ComponentStatus = 'loading' | 'generating' | 'recovering' | 'locked' | 'ready' | 'error';
4
+ export type BalanceState = {
5
+ btcSats: number;
6
+ zeldBalance: number;
7
+ /** BTC balance in sats for payment address only */
8
+ btcPaymentSats?: number;
9
+ loading: boolean;
10
+ error?: string;
11
+ };
12
+ /** Mining progress stats */
13
+ export type MiningStats = {
14
+ hashRate: number;
15
+ hashesProcessed: bigint;
16
+ elapsedMs: number;
17
+ };
18
+ /** Mining result after successful hunt */
19
+ export type MiningResult = {
20
+ txid: string;
21
+ psbt: string;
22
+ nonce: bigint;
23
+ attempts: bigint;
24
+ duration: number;
25
+ };
26
+ /** Parsed transaction input for confirmation dialog */
27
+ export type ParsedTxInput = {
28
+ txid: string;
29
+ vout: number;
30
+ address: string;
31
+ value: number;
32
+ /** ZELD balance for this input (in minimal units, 8 decimals) */
33
+ zeldBalance?: number;
34
+ };
35
+ /** Type of OP_RETURN data */
36
+ export type OpReturnType = 'nonce' | 'zeld';
37
+ /** OP_RETURN data parsed from script */
38
+ export type OpReturnData = {
39
+ type: OpReturnType;
40
+ /** Raw nonce value for simple nonce OP_RETURN */
41
+ nonce?: bigint;
42
+ /** ZELD distribution amounts for CBOR array OP_RETURN (including nonce as last element) */
43
+ distribution?: bigint[];
44
+ };
45
+ /** Parsed transaction output for confirmation dialog */
46
+ export type ParsedTxOutput = {
47
+ address: string;
48
+ value: number;
49
+ isChange?: boolean;
50
+ /** OP_RETURN data if this is an OP_RETURN output */
51
+ opReturn?: OpReturnData;
52
+ };
53
+ /** Parsed transaction details for confirmation dialog */
54
+ export type ParsedTransaction = {
55
+ inputs: ParsedTxInput[];
56
+ outputs: ParsedTxOutput[];
57
+ fee: number;
58
+ totalInputValue: number;
59
+ totalOutputValue: number;
60
+ };
61
+ /** Mining status */
62
+ export type MiningStatus = 'idle' | 'mining' | 'paused' | 'found' | 'signing' | 'broadcast' | 'error';
63
+ /** Fee mode selection */
64
+ export type FeeMode = 'slow' | 'medium' | 'fast' | 'custom';
65
+ /** Recommended fees from mempool.space */
66
+ export type RecommendedFees = {
67
+ slow: number;
68
+ medium: number;
69
+ fast: number;
70
+ };
71
+ /** Hunting section state */
72
+ export type HuntingState = {
73
+ sendBtcChecked: boolean;
74
+ sendZeldChecked: boolean;
75
+ zeroCount: number;
76
+ useGpu: boolean;
77
+ recipientAddress: string;
78
+ amount: string;
79
+ addressError?: string;
80
+ amountError?: string;
81
+ feeMode: FeeMode;
82
+ customFeeRate: string;
83
+ recommendedFees?: RecommendedFees;
84
+ feeLoading?: boolean;
85
+ feeError?: string;
86
+ feeExpanded?: boolean;
87
+ miningStatus: MiningStatus;
88
+ miningStats?: MiningStats;
89
+ miningResult?: MiningResult;
90
+ miningError?: string;
91
+ broadcastTxid?: string;
92
+ showConfirmDialog?: boolean;
93
+ parsedTransaction?: ParsedTransaction;
94
+ /** Map of "txid:vout" -> ZELD balance for inputs used in the current mining session */
95
+ inputUtxoZeldBalances?: Record<string, number>;
96
+ };
97
+ /** Mobile tab selection for addresses/balances columns */
98
+ export type MobileActiveTab = 'balances' | 'addresses';
99
+ /** Restore mode selection */
100
+ export type RestoreMode = 'backup' | 'mnemonic';
101
+ /** Mnemonic restore form state */
102
+ export type MnemonicRestoreState = {
103
+ mnemonic: string;
104
+ paymentDerivationPath: string;
105
+ ordinalsDerivationPath: string;
106
+ password: string;
107
+ confirmPassword: string;
108
+ showAdvanced: boolean;
109
+ };
110
+ export declare const DEFAULT_PAYMENT_PATH = "m/84'/0'/0'/0/0";
111
+ export declare const DEFAULT_ORDINALS_PATH = "m/86'/0'/0'/0/0";
112
+ export declare const createInitialMnemonicRestoreState: () => MnemonicRestoreState;
113
+ export type ComponentState = {
114
+ status: ComponentStatus;
115
+ addresses?: AddressInfo[];
116
+ message?: string;
117
+ passwordError?: string;
118
+ hasPassword?: boolean;
119
+ showSetPasswordForm?: boolean;
120
+ setPasswordError?: string;
121
+ hasBackup?: boolean;
122
+ showBackupForm?: boolean;
123
+ backupError?: string;
124
+ backupValue?: string;
125
+ showRestoreForm?: boolean;
126
+ restoreError?: string;
127
+ restoreMode?: RestoreMode;
128
+ mnemonicRestoreState?: MnemonicRestoreState;
129
+ walletKind: 'zeld' | 'external';
130
+ activeWalletId: SupportedWalletId;
131
+ activeWalletName: string;
132
+ walletPickerOpen: boolean;
133
+ walletOptions: WalletOptionState[];
134
+ externalNetwork?: NetworkType;
135
+ balance?: BalanceState;
136
+ hunting?: HuntingState;
137
+ /** Active tab on mobile (balances shown by default) */
138
+ mobileActiveTab: MobileActiveTab;
139
+ };
140
+ export declare const createInitialHuntingState: () => HuntingState;
141
+ export declare const createInitialState: (walletOptions?: WalletOptionState[]) => ComponentState;
142
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/component/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAErG,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,mDAAmD;IACnD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,4BAA4B;AAC5B,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,0CAA0C;AAC1C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,uDAAuD;AACvD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,iEA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