react-native-nitro-ark 0.0.38 → 0.0.40
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.
- package/cpp/NitroArk.hpp +594 -558
- package/cpp/generated/ark_cxx.h +68 -22
- package/lib/module/index.js +93 -91
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/NitroArk.nitro.d.ts +35 -18
- package/lib/typescript/src/NitroArk.nitro.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +65 -66
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/nitrogen/generated/shared/c++/HybridNitroArkSpec.cpp +16 -15
- package/nitrogen/generated/shared/c++/HybridNitroArkSpec.hpp +35 -22
- package/nitrogen/generated/shared/c++/{Bolt11PaymentResult.hpp → LightningPaymentResult.hpp} +10 -10
- package/nitrogen/generated/shared/c++/NewAddressResult.hpp +77 -0
- package/nitrogen/generated/shared/c++/OffchainBalanceResult.hpp +77 -0
- package/nitrogen/generated/shared/c++/OnchainBalanceResult.hpp +81 -0
- package/package.json +1 -1
- package/src/NitroArk.nitro.ts +55 -25
- package/src/index.tsx +112 -108
package/cpp/generated/ark_cxx.h
CHANGED
|
@@ -799,6 +799,7 @@ std::size_t align_of() {
|
|
|
799
799
|
namespace bark_cxx {
|
|
800
800
|
struct BarkVtxo;
|
|
801
801
|
enum class PaymentTypes : ::std::uint8_t;
|
|
802
|
+
struct NewAddressResult;
|
|
802
803
|
struct Bolt11PaymentResult;
|
|
803
804
|
struct LnurlPaymentResult;
|
|
804
805
|
struct ArkoorPaymentResult;
|
|
@@ -808,6 +809,8 @@ namespace bark_cxx {
|
|
|
808
809
|
struct CreateOpts;
|
|
809
810
|
struct SendManyOutput;
|
|
810
811
|
enum class RefreshModeType : ::std::uint8_t;
|
|
812
|
+
struct OffchainBalance;
|
|
813
|
+
struct OnChainBalance;
|
|
811
814
|
}
|
|
812
815
|
|
|
813
816
|
namespace bark_cxx {
|
|
@@ -833,6 +836,17 @@ enum class PaymentTypes : ::std::uint8_t {
|
|
|
833
836
|
};
|
|
834
837
|
#endif // CXXBRIDGE1_ENUM_bark_cxx$PaymentTypes
|
|
835
838
|
|
|
839
|
+
#ifndef CXXBRIDGE1_STRUCT_bark_cxx$NewAddressResult
|
|
840
|
+
#define CXXBRIDGE1_STRUCT_bark_cxx$NewAddressResult
|
|
841
|
+
struct NewAddressResult final {
|
|
842
|
+
::rust::String user_pubkey;
|
|
843
|
+
::rust::String ark_id;
|
|
844
|
+
::rust::String address;
|
|
845
|
+
|
|
846
|
+
using IsRelocatable = ::std::true_type;
|
|
847
|
+
};
|
|
848
|
+
#endif // CXXBRIDGE1_STRUCT_bark_cxx$NewAddressResult
|
|
849
|
+
|
|
836
850
|
#ifndef CXXBRIDGE1_STRUCT_bark_cxx$Bolt11PaymentResult
|
|
837
851
|
#define CXXBRIDGE1_STRUCT_bark_cxx$Bolt11PaymentResult
|
|
838
852
|
struct Bolt11PaymentResult final {
|
|
@@ -947,6 +961,36 @@ enum class RefreshModeType : ::std::uint8_t {
|
|
|
947
961
|
};
|
|
948
962
|
#endif // CXXBRIDGE1_ENUM_bark_cxx$RefreshModeType
|
|
949
963
|
|
|
964
|
+
#ifndef CXXBRIDGE1_STRUCT_bark_cxx$OffchainBalance
|
|
965
|
+
#define CXXBRIDGE1_STRUCT_bark_cxx$OffchainBalance
|
|
966
|
+
struct OffchainBalance final {
|
|
967
|
+
// Coins that are spendable in the Ark, either in-round or out-of-round.
|
|
968
|
+
::std::uint64_t spendable CXX_DEFAULT_VALUE(0);
|
|
969
|
+
// Coins that are in the process of being sent over Lightning.
|
|
970
|
+
::std::uint64_t pending_lightning_send CXX_DEFAULT_VALUE(0);
|
|
971
|
+
// Coins that are in the process of unilaterally exiting the Ark.
|
|
972
|
+
::std::uint64_t pending_exit CXX_DEFAULT_VALUE(0);
|
|
973
|
+
|
|
974
|
+
using IsRelocatable = ::std::true_type;
|
|
975
|
+
};
|
|
976
|
+
#endif // CXXBRIDGE1_STRUCT_bark_cxx$OffchainBalance
|
|
977
|
+
|
|
978
|
+
#ifndef CXXBRIDGE1_STRUCT_bark_cxx$OnChainBalance
|
|
979
|
+
#define CXXBRIDGE1_STRUCT_bark_cxx$OnChainBalance
|
|
980
|
+
struct OnChainBalance final {
|
|
981
|
+
// All coinbase outputs not yet matured
|
|
982
|
+
::std::uint64_t immature CXX_DEFAULT_VALUE(0);
|
|
983
|
+
// Unconfirmed UTXOs generated by a wallet tx
|
|
984
|
+
::std::uint64_t trusted_pending CXX_DEFAULT_VALUE(0);
|
|
985
|
+
// Unconfirmed UTXOs received from an external wallet
|
|
986
|
+
::std::uint64_t untrusted_pending CXX_DEFAULT_VALUE(0);
|
|
987
|
+
// Confirmed and immediately spendable balance
|
|
988
|
+
::std::uint64_t confirmed CXX_DEFAULT_VALUE(0);
|
|
989
|
+
|
|
990
|
+
using IsRelocatable = ::std::true_type;
|
|
991
|
+
};
|
|
992
|
+
#endif // CXXBRIDGE1_STRUCT_bark_cxx$OnChainBalance
|
|
993
|
+
|
|
950
994
|
void init_logger() noexcept;
|
|
951
995
|
|
|
952
996
|
::rust::String create_mnemonic();
|
|
@@ -959,57 +1003,59 @@ void persist_config(::bark_cxx::ConfigOpts opts);
|
|
|
959
1003
|
|
|
960
1004
|
::bark_cxx::CxxArkInfo get_ark_info();
|
|
961
1005
|
|
|
962
|
-
::
|
|
963
|
-
|
|
964
|
-
::std::uint64_t offchain_balance();
|
|
1006
|
+
::bark_cxx::OffchainBalance offchain_balance();
|
|
965
1007
|
|
|
966
|
-
::
|
|
1008
|
+
::rust::String derive_store_next_keypair();
|
|
967
1009
|
|
|
968
|
-
::rust::String
|
|
1010
|
+
::rust::String peak_keypair(::std::uint32_t index);
|
|
969
1011
|
|
|
970
|
-
::
|
|
1012
|
+
::bark_cxx::NewAddressResult new_address();
|
|
971
1013
|
|
|
972
|
-
::rust::
|
|
1014
|
+
::rust::Vec<::bark_cxx::BarkVtxo> get_vtxos();
|
|
973
1015
|
|
|
974
1016
|
::rust::String bolt11_invoice(::std::uint64_t amount_msat);
|
|
975
1017
|
|
|
976
|
-
void claim_bolt11_payment(::rust::Str bolt11);
|
|
977
|
-
|
|
978
1018
|
void maintenance();
|
|
979
1019
|
|
|
980
1020
|
void sync();
|
|
981
1021
|
|
|
982
|
-
void sync_ark();
|
|
983
|
-
|
|
984
1022
|
void sync_rounds();
|
|
985
1023
|
|
|
986
1024
|
void load_wallet(::rust::Str datadir, ::bark_cxx::CreateOpts opts);
|
|
987
1025
|
|
|
988
|
-
::bark_cxx::OnchainPaymentResult send_onchain(::rust::Str destination, ::std::uint64_t amount_sat);
|
|
989
|
-
|
|
990
|
-
::rust::String drain_onchain(::rust::Str destination, bool no_sync);
|
|
991
|
-
|
|
992
|
-
::rust::String send_many_onchain(::rust::Vec<::bark_cxx::SendManyOutput> outputs, bool no_sync);
|
|
993
|
-
|
|
994
1026
|
::rust::String board_amount(::std::uint64_t amount_sat);
|
|
995
1027
|
|
|
996
1028
|
::rust::String board_all();
|
|
997
1029
|
|
|
998
1030
|
::bark_cxx::ArkoorPaymentResult send_arkoor_payment(::rust::Str destination, ::std::uint64_t amount_sat);
|
|
999
1031
|
|
|
1000
|
-
::bark_cxx::Bolt11PaymentResult
|
|
1032
|
+
::bark_cxx::Bolt11PaymentResult send_lightning_payment(::rust::Str destination, ::std::uint64_t const *amount_sat);
|
|
1001
1033
|
|
|
1002
1034
|
::bark_cxx::LnurlPaymentResult send_lnaddr(::rust::Str addr, ::std::uint64_t amount_sat, ::rust::Str comment);
|
|
1003
1035
|
|
|
1004
|
-
::rust::String
|
|
1036
|
+
::rust::String send_round_onchain_payment(::rust::Str destination, ::std::uint64_t amount_sat);
|
|
1005
1037
|
|
|
1006
1038
|
::rust::String offboard_specific(::rust::Vec<::rust::String> vtxo_ids, ::rust::Str destination_address);
|
|
1007
1039
|
|
|
1008
1040
|
::rust::String offboard_all(::rust::Str destination_address);
|
|
1009
1041
|
|
|
1010
|
-
|
|
1042
|
+
void finish_lightning_receive(::rust::String bolt11);
|
|
1043
|
+
|
|
1044
|
+
void sync_exits();
|
|
1045
|
+
|
|
1046
|
+
::bark_cxx::OnChainBalance onchain_balance();
|
|
1047
|
+
|
|
1048
|
+
void onchain_sync();
|
|
1049
|
+
|
|
1050
|
+
::rust::String onchain_list_unspent();
|
|
1051
|
+
|
|
1052
|
+
::rust::String onchain_utxos();
|
|
1053
|
+
|
|
1054
|
+
::rust::String onchain_address();
|
|
1055
|
+
|
|
1056
|
+
::bark_cxx::OnchainPaymentResult onchain_send(::rust::Str destination, ::std::uint64_t amount_sat, ::std::uint64_t const *fee_rate);
|
|
1011
1057
|
|
|
1012
|
-
|
|
1058
|
+
::rust::String onchain_drain(::rust::Str destination, ::std::uint64_t const *fee_rate);
|
|
1013
1059
|
|
|
1014
|
-
::rust::String
|
|
1060
|
+
::rust::String onchain_send_many(::rust::Vec<::bark_cxx::SendManyOutput> outputs, ::std::uint64_t const *fee_rate);
|
|
1015
1061
|
} // namespace bark_cxx
|
package/lib/module/index.js
CHANGED
|
@@ -67,11 +67,11 @@ export function sync() {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Synchronizes the Ark-specific
|
|
70
|
+
* Synchronizes the Ark-specific exits.
|
|
71
71
|
* @returns A promise that resolves on success.
|
|
72
72
|
*/
|
|
73
|
-
export function
|
|
74
|
-
return NitroArkHybridObject.
|
|
73
|
+
export function syncExits() {
|
|
74
|
+
return NitroArkHybridObject.syncExits();
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
@@ -92,88 +92,116 @@ export function getArkInfo() {
|
|
|
92
92
|
return NitroArkHybridObject.getArkInfo();
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
/**
|
|
96
|
-
* Gets the onchain balance for the loaded wallet.
|
|
97
|
-
* @returns A promise resolving to the onchain balance in satoshis.
|
|
98
|
-
*/
|
|
99
|
-
export function onchainBalance() {
|
|
100
|
-
return NitroArkHybridObject.onchainBalance();
|
|
101
|
-
}
|
|
102
|
-
|
|
103
95
|
/**
|
|
104
96
|
* Gets the offchain balance for the loaded wallet.
|
|
105
|
-
* @returns A promise resolving to the
|
|
97
|
+
* @returns A promise resolving to the OffchainBalanceResult object.
|
|
106
98
|
*/
|
|
107
99
|
export function offchainBalance() {
|
|
108
100
|
return NitroArkHybridObject.offchainBalance();
|
|
109
101
|
}
|
|
110
102
|
|
|
111
103
|
/**
|
|
112
|
-
*
|
|
113
|
-
* @returns A promise resolving to the
|
|
104
|
+
* Derives the next keypair for the store.
|
|
105
|
+
* @returns A promise resolving to the hex-encoded public key string.
|
|
114
106
|
*/
|
|
115
|
-
export function
|
|
116
|
-
return NitroArkHybridObject.
|
|
107
|
+
export function deriveStoreNextKeypair() {
|
|
108
|
+
return NitroArkHybridObject.deriveStoreNextKeypair();
|
|
117
109
|
}
|
|
118
110
|
|
|
119
111
|
/**
|
|
120
|
-
* Gets the
|
|
121
|
-
* @param
|
|
122
|
-
* @returns A promise resolving to the
|
|
112
|
+
* Gets the wallet's VTXO public key (hex string).
|
|
113
|
+
* @param index Index of the VTXO pubkey to retrieve.
|
|
114
|
+
* @returns A promise resolving to the hex-encoded public key string.
|
|
123
115
|
*/
|
|
124
|
-
export function
|
|
125
|
-
return NitroArkHybridObject.
|
|
116
|
+
export function peakKeyPair(index) {
|
|
117
|
+
return NitroArkHybridObject.peakKeyPair(index);
|
|
126
118
|
}
|
|
127
119
|
|
|
128
120
|
/**
|
|
129
|
-
* Gets the wallet's
|
|
130
|
-
* @
|
|
131
|
-
* @returns A promise resolving to the hex-encoded public key string.
|
|
121
|
+
* Gets the wallet's Address.
|
|
122
|
+
* @returns A promise resolving to NewAddressResult object.
|
|
132
123
|
*/
|
|
133
|
-
export function
|
|
134
|
-
return NitroArkHybridObject.
|
|
124
|
+
export function newAddress() {
|
|
125
|
+
return NitroArkHybridObject.newAddress();
|
|
135
126
|
}
|
|
136
127
|
|
|
137
128
|
/**
|
|
138
129
|
* Gets the list of VTXOs as a JSON string for the loaded wallet.
|
|
139
130
|
* @param no_sync If true, skips synchronization with the blockchain. Defaults to false.
|
|
140
|
-
* @returns A promise resolving
|
|
131
|
+
* @returns A promise resolving BarkVtxo[] array.
|
|
141
132
|
*/
|
|
142
|
-
export function getVtxos(
|
|
143
|
-
return NitroArkHybridObject.getVtxos(
|
|
133
|
+
export function getVtxos() {
|
|
134
|
+
return NitroArkHybridObject.getVtxos();
|
|
144
135
|
}
|
|
145
136
|
|
|
146
137
|
// --- Onchain Operations ---
|
|
147
138
|
|
|
139
|
+
/**
|
|
140
|
+
* Gets the onchain balance for the loaded wallet.
|
|
141
|
+
* @returns A promise resolving to the OnchainBalanceResult object.
|
|
142
|
+
*/
|
|
143
|
+
export function onchainBalance() {
|
|
144
|
+
return NitroArkHybridObject.onchainBalance();
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Synchronizes the onchain state of the wallet.
|
|
149
|
+
* @returns A promise that resolves on success.
|
|
150
|
+
*/
|
|
151
|
+
export function onchainSync() {
|
|
152
|
+
return NitroArkHybridObject.onchainSync();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Gets the list of unspent onchain outputs as a JSON string for the loaded wallet.
|
|
157
|
+
* @returns A promise resolving to the JSON string of unspent outputs.
|
|
158
|
+
*/
|
|
159
|
+
export function onchainListUnspent() {
|
|
160
|
+
return NitroArkHybridObject.onchainListUnspent();
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Gets the list of onchain UTXOs as a JSON string for the loaded wallet.
|
|
165
|
+
* @returns A promise resolving to the JSON string of UTXOs.
|
|
166
|
+
*/
|
|
167
|
+
export function onchainUtxos() {
|
|
168
|
+
return NitroArkHybridObject.onchainUtxos();
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Gets a fresh onchain address for the loaded wallet.
|
|
173
|
+
* @returns A promise resolving to the Bitcoin address string.
|
|
174
|
+
*/
|
|
175
|
+
export function onchainAddress() {
|
|
176
|
+
return NitroArkHybridObject.onchainAddress();
|
|
177
|
+
}
|
|
178
|
+
|
|
148
179
|
/**
|
|
149
180
|
* Sends funds using the onchain wallet.
|
|
150
181
|
* @param destination The destination Bitcoin address.
|
|
151
182
|
* @param amountSat The amount to send in satoshis.
|
|
152
|
-
* @param no_sync If true, skips synchronization with the blockchain. Defaults to false.
|
|
153
183
|
* @returns A promise resolving to the OnchainPaymentResult object
|
|
154
184
|
*/
|
|
155
|
-
export function
|
|
156
|
-
return NitroArkHybridObject.
|
|
185
|
+
export function onchainSend(destination, amountSat) {
|
|
186
|
+
return NitroArkHybridObject.onchainSend(destination, amountSat);
|
|
157
187
|
}
|
|
158
188
|
|
|
159
189
|
/**
|
|
160
190
|
* Sends all funds from the onchain wallet to a destination address.
|
|
161
191
|
* @param destination The destination Bitcoin address.
|
|
162
|
-
* @param no_sync If true, skips synchronization with the blockchain. Defaults to false.
|
|
163
192
|
* @returns A promise resolving to the transaction ID string.
|
|
164
193
|
*/
|
|
165
|
-
export function
|
|
166
|
-
return NitroArkHybridObject.
|
|
194
|
+
export function onchainDrain(destination) {
|
|
195
|
+
return NitroArkHybridObject.onchainDrain(destination);
|
|
167
196
|
}
|
|
168
197
|
|
|
169
198
|
/**
|
|
170
199
|
* Sends funds to multiple recipients using the onchain wallet.
|
|
171
200
|
* @param outputs An array of objects containing destination address and amountSat.
|
|
172
|
-
* @param no_sync If true, skips synchronization with the blockchain. Defaults to false.
|
|
173
201
|
* @returns A promise resolving to the transaction ID string.
|
|
174
202
|
*/
|
|
175
|
-
export function
|
|
176
|
-
return NitroArkHybridObject.
|
|
203
|
+
export function onchainSendMany(outputs) {
|
|
204
|
+
return NitroArkHybridObject.onchainSendMany(outputs);
|
|
177
205
|
}
|
|
178
206
|
|
|
179
207
|
// --- Lightning Operations ---
|
|
@@ -188,12 +216,33 @@ export function bolt11Invoice(amountMsat) {
|
|
|
188
216
|
}
|
|
189
217
|
|
|
190
218
|
/**
|
|
191
|
-
* Claims a
|
|
192
|
-
* @param bolt11 The
|
|
219
|
+
* Claims a Lightning payment.
|
|
220
|
+
* @param bolt11 The Lightning invoice string to claim.
|
|
193
221
|
* @returns A promise that resolves on success or rejects on error.
|
|
194
222
|
*/
|
|
195
|
-
export function
|
|
196
|
-
return NitroArkHybridObject.
|
|
223
|
+
export function finishLightningReceive(bolt11) {
|
|
224
|
+
return NitroArkHybridObject.finishLightningReceive(bolt11);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Sends a Lightning payment.
|
|
229
|
+
* @param destination The Lightning invoice.
|
|
230
|
+
* @param amountSat The amount in satoshis to send. Use 0 for invoice amount.
|
|
231
|
+
* @returns A promise resolving to a LightningPaymentResult object
|
|
232
|
+
*/
|
|
233
|
+
export function sendLightningPayment(destination, amountSat) {
|
|
234
|
+
return NitroArkHybridObject.sendLightningPayment(destination, amountSat);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Sends a payment to a Lightning Address.
|
|
239
|
+
* @param addr The Lightning Address.
|
|
240
|
+
* @param amountSat The amount in satoshis to send.
|
|
241
|
+
* @param comment An optional comment.
|
|
242
|
+
* @returns A promise resolving to a LnurlPaymentResult object
|
|
243
|
+
*/
|
|
244
|
+
export function sendLnaddr(addr, amountSat, comment) {
|
|
245
|
+
return NitroArkHybridObject.sendLnaddr(addr, amountSat, comment);
|
|
197
246
|
}
|
|
198
247
|
|
|
199
248
|
// --- Ark Operations ---
|
|
@@ -225,36 +274,14 @@ export function sendArkoorPayment(destination, amountSat) {
|
|
|
225
274
|
return NitroArkHybridObject.sendArkoorPayment(destination, amountSat);
|
|
226
275
|
}
|
|
227
276
|
|
|
228
|
-
/**
|
|
229
|
-
* Sends a Bolt11 payment.
|
|
230
|
-
* @param destination The Bolt11 invoice.
|
|
231
|
-
* @param amountSat The amount in satoshis to send. Use 0 for invoice amount.
|
|
232
|
-
* @returns A promise resolving to a Bolt11PaymentResult object
|
|
233
|
-
*/
|
|
234
|
-
export function sendBolt11Payment(destination, amountSat) {
|
|
235
|
-
return NitroArkHybridObject.sendBolt11Payment(destination, amountSat);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Sends a payment to a Lightning Address.
|
|
240
|
-
* @param addr The Lightning Address.
|
|
241
|
-
* @param amountSat The amount in satoshis to send.
|
|
242
|
-
* @param comment An optional comment.
|
|
243
|
-
* @returns A promise resolving to a LnurlPaymentResult object
|
|
244
|
-
*/
|
|
245
|
-
export function sendLnaddr(addr, amountSat, comment) {
|
|
246
|
-
return NitroArkHybridObject.sendLnaddr(addr, amountSat, comment);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
277
|
/**
|
|
250
278
|
* Sends an onchain payment via an Ark round.
|
|
251
279
|
* @param destination The destination Bitcoin address.
|
|
252
280
|
* @param amountSat The amount in satoshis to send.
|
|
253
|
-
* @param no_sync If true, skips synchronization with the wallet. Defaults to false.
|
|
254
281
|
* @returns A promise resolving to a JSON status string.
|
|
255
282
|
*/
|
|
256
|
-
export function
|
|
257
|
-
return NitroArkHybridObject.
|
|
283
|
+
export function sendRoundOnchainPayment(destination, amountSat) {
|
|
284
|
+
return NitroArkHybridObject.sendRoundOnchainPayment(destination, amountSat);
|
|
258
285
|
}
|
|
259
286
|
|
|
260
287
|
// --- Offboarding / Exiting ---
|
|
@@ -280,30 +307,5 @@ export function offboardAll(destinationAddress) {
|
|
|
280
307
|
return NitroArkHybridObject.offboardAll(destinationAddress);
|
|
281
308
|
}
|
|
282
309
|
|
|
283
|
-
/**
|
|
284
|
-
* Starts the exit process for specific VTXOs.
|
|
285
|
-
* @param vtxoIds Array of VtxoId strings to start exiting.
|
|
286
|
-
* @returns A promise resolving to a JSON status string.
|
|
287
|
-
*/
|
|
288
|
-
export function startExitForVtxos(vtxoIds) {
|
|
289
|
-
return NitroArkHybridObject.exitStartSpecific(vtxoIds);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Starts the exit process for all VTXOs in the wallet.
|
|
294
|
-
* @returns A promise that resolves or rejects.
|
|
295
|
-
*/
|
|
296
|
-
export function startExitForEntireWallet() {
|
|
297
|
-
return NitroArkHybridObject.startExitForEntireWallet();
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Progresses the exit process once and returns the current status.
|
|
302
|
-
* @returns A promise resolving to a JSON status string.
|
|
303
|
-
*/
|
|
304
|
-
export function exitProgressOnce() {
|
|
305
|
-
return NitroArkHybridObject.exitProgressOnce();
|
|
306
|
-
}
|
|
307
|
-
|
|
308
310
|
// --- Re-export types and enums ---
|
|
309
311
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NitroModules","NitroArkHybridObject","createHybridObject","createMnemonic","loadWallet","datadir","opts","closeWallet","isWalletLoaded","persistConfig","maintenance","sync","
|
|
1
|
+
{"version":3,"names":["NitroModules","NitroArkHybridObject","createHybridObject","createMnemonic","loadWallet","datadir","opts","closeWallet","isWalletLoaded","persistConfig","maintenance","sync","syncExits","syncRounds","getArkInfo","offchainBalance","deriveStoreNextKeypair","peakKeyPair","index","newAddress","getVtxos","onchainBalance","onchainSync","onchainListUnspent","onchainUtxos","onchainAddress","onchainSend","destination","amountSat","onchainDrain","onchainSendMany","outputs","bolt11Invoice","amountMsat","finishLightningReceive","bolt11","sendLightningPayment","sendLnaddr","addr","comment","boardAmount","boardAll","sendArkoorPayment","sendRoundOnchainPayment","offboardSpecific","vtxoIds","destinationAddress","offboardAll"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,4BAA4B;AAiBzD;AACA,OAAO,MAAMC,oBAAoB,GAC/BD,YAAY,CAACE,kBAAkB,CAAW,UAAU,CAAC;;AAEvD;;AAEA;AACA;AACA;AACA;AACA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;AACA;AACA,OAAO,SAASC,iBAAiBA,CAC/Bf,WAAmB,EACnBC,SAAiB,EACa;EAC9B,OAAO3B,oBAAoB,CAACyC,iBAAiB,CAACf,WAAW,EAAEC,SAAS,CAAC;AACvE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASe,uBAAuBA,CACrChB,WAAmB,EACnBC,SAAiB,EACA;EACjB,OAAO3B,oBAAoB,CAAC0C,uBAAuB,CAAChB,WAAW,EAAEC,SAAS,CAAC;AAC7E;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASgB,gBAAgBA,CAC9BC,OAAiB,EACjBC,kBAA0B,EACT;EACjB,OAAO7C,oBAAoB,CAAC2C,gBAAgB,CAACC,OAAO,EAAEC,kBAAkB,CAAC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACD,kBAA0B,EAAmB;EACvE,OAAO7C,oBAAoB,CAAC8C,WAAW,CAACD,kBAAkB,CAAC;AAC7D;;AAEA","ignoreList":[]}
|
|
@@ -43,7 +43,7 @@ export interface ArkoorPaymentResult {
|
|
|
43
43
|
vtxos: BarkVtxo[];
|
|
44
44
|
payment_type: PaymentTypes;
|
|
45
45
|
}
|
|
46
|
-
export interface
|
|
46
|
+
export interface LightningPaymentResult {
|
|
47
47
|
bolt11_invoice: string;
|
|
48
48
|
preimage: string;
|
|
49
49
|
payment_type: PaymentTypes;
|
|
@@ -60,41 +60,58 @@ export interface OnchainPaymentResult {
|
|
|
60
60
|
destination_address: string;
|
|
61
61
|
payment_type: PaymentTypes;
|
|
62
62
|
}
|
|
63
|
+
export interface OffchainBalanceResult {
|
|
64
|
+
spendable: number;
|
|
65
|
+
pending_lightning_send: number;
|
|
66
|
+
pending_exit: number;
|
|
67
|
+
}
|
|
68
|
+
export interface OnchainBalanceResult {
|
|
69
|
+
immature: number;
|
|
70
|
+
trusted_pending: number;
|
|
71
|
+
untrusted_pending: number;
|
|
72
|
+
confirmed: number;
|
|
73
|
+
}
|
|
74
|
+
export interface NewAddressResult {
|
|
75
|
+
user_pubkey: string;
|
|
76
|
+
ark_id: string;
|
|
77
|
+
address: string;
|
|
78
|
+
}
|
|
63
79
|
export interface NitroArk extends HybridObject<{
|
|
64
80
|
ios: 'c++';
|
|
65
81
|
android: 'c++';
|
|
66
82
|
}> {
|
|
67
83
|
createMnemonic(): Promise<string>;
|
|
68
84
|
loadWallet(datadir: string, opts: BarkCreateOpts): Promise<void>;
|
|
69
|
-
closeWallet(): Promise<void>;
|
|
70
85
|
isWalletLoaded(): Promise<boolean>;
|
|
86
|
+
closeWallet(): Promise<void>;
|
|
71
87
|
persistConfig(opts: BarkConfigOpts): Promise<void>;
|
|
72
88
|
maintenance(): Promise<void>;
|
|
73
89
|
sync(): Promise<void>;
|
|
74
|
-
|
|
90
|
+
syncExits(): Promise<void>;
|
|
75
91
|
syncRounds(): Promise<void>;
|
|
76
92
|
getArkInfo(): Promise<BarkArkInfo>;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
93
|
+
offchainBalance(): Promise<OffchainBalanceResult>;
|
|
94
|
+
deriveStoreNextKeypair(): Promise<string>;
|
|
95
|
+
peakKeyPair(index: number): Promise<string>;
|
|
96
|
+
newAddress(): Promise<NewAddressResult>;
|
|
97
|
+
getVtxos(): Promise<BarkVtxo[]>;
|
|
98
|
+
onchainBalance(): Promise<OnchainBalanceResult>;
|
|
99
|
+
onchainSync(): Promise<void>;
|
|
100
|
+
onchainListUnspent(): Promise<string>;
|
|
101
|
+
onchainUtxos(): Promise<string>;
|
|
102
|
+
onchainAddress(): Promise<string>;
|
|
103
|
+
onchainSend(destination: string, amountSat: number, feeRate?: number): Promise<OnchainPaymentResult>;
|
|
104
|
+
onchainDrain(destination: string, feeRate?: number): Promise<string>;
|
|
105
|
+
onchainSendMany(outputs: BarkSendManyOutput[], feeRate?: number): Promise<string>;
|
|
86
106
|
boardAmount(amountSat: number): Promise<string>;
|
|
87
107
|
boardAll(): Promise<string>;
|
|
88
108
|
sendArkoorPayment(destination: string, amountSat: number): Promise<ArkoorPaymentResult>;
|
|
89
|
-
|
|
109
|
+
sendLightningPayment(destination: string, amountSat?: number): Promise<LightningPaymentResult>;
|
|
90
110
|
sendLnaddr(addr: string, amountSat: number, comment: string): Promise<LnurlPaymentResult>;
|
|
91
|
-
|
|
111
|
+
sendRoundOnchainPayment(destination: string, amountSat: number): Promise<string>;
|
|
92
112
|
bolt11Invoice(amountMsat: number): Promise<string>;
|
|
93
|
-
|
|
113
|
+
finishLightningReceive(bolt11: string): Promise<void>;
|
|
94
114
|
offboardSpecific(vtxoIds: string[], destinationAddress: string): Promise<string>;
|
|
95
115
|
offboardAll(destinationAddress: string): Promise<string>;
|
|
96
|
-
exitStartSpecific(vtxoIds: string[]): Promise<string>;
|
|
97
|
-
startExitForEntireWallet(): Promise<void>;
|
|
98
|
-
exitProgressOnce(): Promise<string>;
|
|
99
116
|
}
|
|
100
117
|
//# sourceMappingURL=NitroArk.nitro.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NitroArk.nitro.d.ts","sourceRoot":"","sources":["../../../src/NitroArk.nitro.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM/D,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW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