react-native-nitro-ark 0.0.7 → 0.0.9
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/android/build.gradle +2 -19
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/com/{nitroark → margelo/nitro/nitroark}/NitroArkPackage.kt +1 -1
- package/lib/typescript/src/NitroArk.nitro.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/package.json +9 -20
- package/lib/commonjs/NitroArk.nitro.js +0 -6
- package/lib/commonjs/NitroArk.nitro.js.map +0 -1
- package/lib/commonjs/index.js +0 -292
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/NitroArk.nitro.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/NitroArk.nitro.d.ts +0 -59
- package/lib/typescript/module/src/NitroArk.nitro.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -180
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/NitroArk.nitro.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
package/android/build.gradle
CHANGED
|
@@ -30,25 +30,8 @@ def getExtOrIntegerDefault(name) {
|
|
|
30
30
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["NitroArk_" + name]).toInteger()
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
def supportsNamespace() {
|
|
34
|
-
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
|
|
35
|
-
def major = parsed[0].toInteger()
|
|
36
|
-
def minor = parsed[1].toInteger()
|
|
37
|
-
|
|
38
|
-
// Namespace support was added in 7.3.0
|
|
39
|
-
return (major == 7 && minor >= 3) || major >= 8
|
|
40
|
-
}
|
|
41
|
-
|
|
42
33
|
android {
|
|
43
|
-
|
|
44
|
-
namespace "com.margelo.nitro.nitroark"
|
|
45
|
-
|
|
46
|
-
sourceSets {
|
|
47
|
-
main {
|
|
48
|
-
manifest.srcFile "src/main/AndroidManifestNew.xml"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
34
|
+
namespace "com.margelo.nitro.nitroark"
|
|
52
35
|
|
|
53
36
|
compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
|
|
54
37
|
|
|
@@ -59,7 +42,7 @@ android {
|
|
|
59
42
|
externalNativeBuild {
|
|
60
43
|
cmake {
|
|
61
44
|
cppFlags "-frtti -fexceptions -Wall -fstack-protector-all"
|
|
62
|
-
arguments "-DANDROID_STL=c++_shared"
|
|
45
|
+
arguments "-DANDROID_STL=c++_shared", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
|
|
63
46
|
abiFilters (*reactNativeArchitectures())
|
|
64
47
|
|
|
65
48
|
buildTypes {
|
|
@@ -0,0 +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;AAI/D,MAAM,MAAM,mBAAmB,GAC3B,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,KAAK,GACL,UAAU,CAAC;AAIf,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;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE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AM,CAAC,CAQjB;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,eAAe,GAAE,MAAM,GAAG,IAAW,EACrC,OAAO,GAAE,OAAe,GACvB,OAAO,CAAC,MAAM,CAAC,CAOjB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,GAAE,OAAe,GACvB,OAAO,CAAC,MAAM,CAAC,CAQjB;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAe,GACvB,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC,CAEjB;AAGD,YAAY,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nitro-ark",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Pure C++ Nitro Modules for Ark client",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
|
-
"main": "./lib/
|
|
6
|
+
"main": "./lib/module/index.js",
|
|
7
7
|
"module": "./lib/module/index.js",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"default": "./lib/module/index.js"
|
|
13
|
-
},
|
|
14
|
-
"require": {
|
|
15
|
-
"types": "./lib/typescript/commonjs/src/index.d.ts",
|
|
16
|
-
"default": "./lib/commonjs/index.js"
|
|
17
|
-
}
|
|
10
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
11
|
+
"default": "./lib/module/index.js"
|
|
18
12
|
},
|
|
19
13
|
"./package.json": "./package.json"
|
|
20
14
|
},
|
|
@@ -43,7 +37,7 @@
|
|
|
43
37
|
"test": "jest",
|
|
44
38
|
"typecheck": "tsc",
|
|
45
39
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
46
|
-
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
40
|
+
"clean": "del-cli android/build android/.cxx example/android/build example/android/app/build example/android/app/.cxx example/ios/build lib",
|
|
47
41
|
"prepare": "bob build",
|
|
48
42
|
"nitrogen": "rm -rf nitrogen && nitro-codegen",
|
|
49
43
|
"release": "release-it"
|
|
@@ -75,7 +69,7 @@
|
|
|
75
69
|
"@react-native/eslint-config": "^0.78.0",
|
|
76
70
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
77
71
|
"@types/jest": "^29.5.5",
|
|
78
|
-
"@types/react": "^19.0.
|
|
72
|
+
"@types/react": "^19.0.10",
|
|
79
73
|
"commitlint": "^19.6.1",
|
|
80
74
|
"del-cli": "^5.1.0",
|
|
81
75
|
"eslint": "^9.22.0",
|
|
@@ -85,8 +79,8 @@
|
|
|
85
79
|
"nitro-codegen": "^0.26.2",
|
|
86
80
|
"prettier": "^3.0.3",
|
|
87
81
|
"react": "19.0.0",
|
|
88
|
-
"react-native": "0.
|
|
89
|
-
"react-native-builder-bob": "^0.
|
|
82
|
+
"react-native": "0.79.3",
|
|
83
|
+
"react-native-builder-bob": "^0.40.12",
|
|
90
84
|
"react-native-nitro-modules": "^0.26.2",
|
|
91
85
|
"release-it": "^17.10.0",
|
|
92
86
|
"turbo": "^1.10.7",
|
|
@@ -124,6 +118,7 @@
|
|
|
124
118
|
},
|
|
125
119
|
"github": {
|
|
126
120
|
"release": true,
|
|
121
|
+
"releaseName": "v${version}",
|
|
127
122
|
"assets": [
|
|
128
123
|
"../release_assets/libbark_cpp.a",
|
|
129
124
|
"../release_assets/Ark.xcframework.zip"
|
|
@@ -161,12 +156,6 @@
|
|
|
161
156
|
"esm": true
|
|
162
157
|
}
|
|
163
158
|
],
|
|
164
|
-
[
|
|
165
|
-
"commonjs",
|
|
166
|
-
{
|
|
167
|
-
"esm": true
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
159
|
[
|
|
171
160
|
"typescript",
|
|
172
161
|
{
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["NitroArk.nitro.ts"],"mappings":"","ignoreList":[]}
|
package/lib/commonjs/index.js
DELETED
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.NitroArkHybridObject = void 0;
|
|
7
|
-
exports.boardAll = boardAll;
|
|
8
|
-
exports.boardAmount = boardAmount;
|
|
9
|
-
exports.createMnemonic = createMnemonic;
|
|
10
|
-
exports.createWallet = createWallet;
|
|
11
|
-
exports.drainOnchain = drainOnchain;
|
|
12
|
-
exports.exitProgressOnce = exitProgressOnce;
|
|
13
|
-
exports.exitStartAll = exitStartAll;
|
|
14
|
-
exports.exitStartSpecific = exitStartSpecific;
|
|
15
|
-
exports.getBalance = getBalance;
|
|
16
|
-
exports.getOnchainAddress = getOnchainAddress;
|
|
17
|
-
exports.getOnchainUtxos = getOnchainUtxos;
|
|
18
|
-
exports.getVtxoPubkey = getVtxoPubkey;
|
|
19
|
-
exports.getVtxos = getVtxos;
|
|
20
|
-
exports.offboardAll = offboardAll;
|
|
21
|
-
exports.offboardSpecific = offboardSpecific;
|
|
22
|
-
exports.refreshVtxos = refreshVtxos;
|
|
23
|
-
exports.send = send;
|
|
24
|
-
exports.sendManyOnchain = sendManyOnchain;
|
|
25
|
-
exports.sendOnchain = sendOnchain;
|
|
26
|
-
exports.sendRoundOnchain = sendRoundOnchain;
|
|
27
|
-
var _reactNativeNitroModules = require("react-native-nitro-modules");
|
|
28
|
-
// Create the hybrid object instance
|
|
29
|
-
const NitroArkHybridObject = exports.NitroArkHybridObject = _reactNativeNitroModules.NitroModules.createHybridObject('NitroArk');
|
|
30
|
-
|
|
31
|
-
// --- Management ---
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Creates a new BIP39 mnemonic phrase.
|
|
35
|
-
* @returns A promise resolving to the mnemonic string.
|
|
36
|
-
*/
|
|
37
|
-
function createMnemonic() {
|
|
38
|
-
return NitroArkHybridObject.createMnemonic();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Creates a new wallet at the specified directory.
|
|
43
|
-
* @param datadir Path to the data directory.
|
|
44
|
-
* @param opts Creation options.
|
|
45
|
-
* @returns A promise that resolves on success or rejects on error.
|
|
46
|
-
*/
|
|
47
|
-
function createWallet(datadir, opts) {
|
|
48
|
-
return NitroArkHybridObject.createWallet(datadir, opts);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// --- Wallet Info ---
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Gets the offchain and onchain balances.
|
|
55
|
-
* @param datadir Path to the data directory.
|
|
56
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
57
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
58
|
-
* @returns A promise resolving to the BarkBalance object.
|
|
59
|
-
*/
|
|
60
|
-
function getBalance(datadir, mnemonic, no_sync = false) {
|
|
61
|
-
// Pass mnemonic correctly, adjusted default position for optional no_sync
|
|
62
|
-
return NitroArkHybridObject.getBalance(datadir, no_sync, mnemonic);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Gets a fresh onchain address.
|
|
67
|
-
* @param datadir Path to the data directory.
|
|
68
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
69
|
-
* @returns A promise resolving to the Bitcoin address string.
|
|
70
|
-
*/
|
|
71
|
-
function getOnchainAddress(datadir, mnemonic) {
|
|
72
|
-
return NitroArkHybridObject.getOnchainAddress(datadir, mnemonic);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Gets the list of onchain UTXOs as a JSON string.
|
|
77
|
-
* @param datadir Path to the data directory.
|
|
78
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
79
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
80
|
-
* @returns A promise resolving to the JSON string of UTXOs.
|
|
81
|
-
*/
|
|
82
|
-
function getOnchainUtxos(datadir, mnemonic, no_sync = false) {
|
|
83
|
-
return NitroArkHybridObject.getOnchainUtxos(datadir, mnemonic, no_sync);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Gets the wallet's VTXO public key (hex string).
|
|
88
|
-
* @param datadir Path to the data directory.
|
|
89
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
90
|
-
* @returns A promise resolving to the hex-encoded public key string.
|
|
91
|
-
*/
|
|
92
|
-
function getVtxoPubkey(datadir, mnemonic) {
|
|
93
|
-
return NitroArkHybridObject.getVtxoPubkey(datadir, mnemonic);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Gets the list of VTXOs as a JSON string.
|
|
98
|
-
* @param datadir Path to the data directory.
|
|
99
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
100
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
101
|
-
* @returns A promise resolving to the JSON string of VTXOs.
|
|
102
|
-
*/
|
|
103
|
-
function getVtxos(datadir, mnemonic, no_sync = false) {
|
|
104
|
-
return NitroArkHybridObject.getVtxos(datadir, mnemonic, no_sync);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// --- Onchain Operations ---
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Sends funds using the onchain wallet.
|
|
111
|
-
* @param datadir Path to the data directory.
|
|
112
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
113
|
-
* @param destination The destination Bitcoin address.
|
|
114
|
-
* @param amountSat The amount to send in satoshis.
|
|
115
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
116
|
-
* @returns A promise resolving to the transaction ID string.
|
|
117
|
-
*/
|
|
118
|
-
function sendOnchain(datadir, mnemonic, destination, amountSat, no_sync = false) {
|
|
119
|
-
return NitroArkHybridObject.sendOnchain(datadir, mnemonic, destination, amountSat, no_sync);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Sends all funds from the onchain wallet to a destination address.
|
|
124
|
-
* @param datadir Path to the data directory.
|
|
125
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
126
|
-
* @param destination The destination Bitcoin address.
|
|
127
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
128
|
-
* @returns A promise resolving to the transaction ID string.
|
|
129
|
-
*/
|
|
130
|
-
function drainOnchain(datadir, mnemonic, destination, no_sync = false) {
|
|
131
|
-
return NitroArkHybridObject.drainOnchain(datadir, mnemonic, destination, no_sync);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Sends funds to multiple recipients using the onchain wallet.
|
|
136
|
-
* @param datadir Path to the data directory.
|
|
137
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
138
|
-
* @param outputs An array of objects containing destination address and amountSat.
|
|
139
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
140
|
-
* @returns A promise resolving to the transaction ID string.
|
|
141
|
-
*/
|
|
142
|
-
function sendManyOnchain(datadir, mnemonic, outputs, no_sync = false) {
|
|
143
|
-
return NitroArkHybridObject.sendManyOnchain(datadir, mnemonic, outputs, no_sync);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// --- Ark Operations ---
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Refreshes VTXOs based on specified criteria.
|
|
150
|
-
* @param datadir Path to the data directory.
|
|
151
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
152
|
-
* @param refreshOpts Options specifying which VTXOs to refresh.
|
|
153
|
-
* `mode_type` should be one of: 'DefaultThreshold', 'ThresholdBlocks', 'ThresholdHours', 'Counterparty', 'All', 'Specific'.
|
|
154
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
155
|
-
* @returns A promise resolving to a JSON status string.
|
|
156
|
-
* @example
|
|
157
|
-
* // Refresh using default threshold
|
|
158
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'DefaultThreshold' });
|
|
159
|
-
* // Refresh specific VTXOs
|
|
160
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'Specific', specific_vtxo_ids: ['vtxo_id_1', 'vtxo_id_2'] });
|
|
161
|
-
* // Refresh if older than 10 blocks
|
|
162
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'ThresholdBlocks', threshold_value: 10 });
|
|
163
|
-
*/
|
|
164
|
-
function refreshVtxos(datadir, mnemonic, refreshOpts, no_sync = false) {
|
|
165
|
-
// Ensure mode_type is provided (should be handled by TS type system)
|
|
166
|
-
if (!refreshOpts.mode_type) {
|
|
167
|
-
return Promise.reject(new Error('refreshVtxos requires refreshOpts.mode_type'));
|
|
168
|
-
}
|
|
169
|
-
// Additional validation for specific modes could be added here if desired
|
|
170
|
-
if (refreshOpts.mode_type === 'Specific' && (!refreshOpts.specific_vtxo_ids || refreshOpts.specific_vtxo_ids.length === 0)) {
|
|
171
|
-
return Promise.reject(new Error("refreshVtxos with mode_type 'Specific' requires non-empty specific_vtxo_ids array"));
|
|
172
|
-
}
|
|
173
|
-
if ((refreshOpts.mode_type === 'ThresholdBlocks' || refreshOpts.mode_type === 'ThresholdHours') && (refreshOpts.threshold_value === undefined || refreshOpts.threshold_value <= 0)) {
|
|
174
|
-
return Promise.reject(new Error(`refreshVtxos with mode_type '${refreshOpts.mode_type}' requires a positive threshold_value`));
|
|
175
|
-
}
|
|
176
|
-
return NitroArkHybridObject.refreshVtxos(datadir, mnemonic, refreshOpts, no_sync);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Boards a specific amount from the onchain wallet into Ark.
|
|
181
|
-
* @param datadir Path to the data directory.
|
|
182
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
183
|
-
* @param amountSat The amount in satoshis to board.
|
|
184
|
-
* @param no_sync Whether to skip syncing the onchain wallet. Defaults to false.
|
|
185
|
-
* @returns A promise resolving to a JSON status string.
|
|
186
|
-
*/
|
|
187
|
-
function boardAmount(datadir, mnemonic, amountSat, no_sync = false) {
|
|
188
|
-
return NitroArkHybridObject.boardAmount(datadir, mnemonic, amountSat, no_sync);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Boards all available funds from the onchain wallet into Ark.
|
|
193
|
-
* @param datadir Path to the data directory.
|
|
194
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
195
|
-
* @param no_sync Whether to skip syncing the onchain wallet. Defaults to false.
|
|
196
|
-
* @returns A promise resolving to a JSON status string.
|
|
197
|
-
*/
|
|
198
|
-
function boardAll(datadir, mnemonic, no_sync = false) {
|
|
199
|
-
return NitroArkHybridObject.boardAll(datadir, mnemonic, no_sync);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Sends funds offchain using Ark VTXOs.
|
|
204
|
-
* @param datadir Path to the data directory.
|
|
205
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
206
|
-
* @param destination Ark address (VTXO pubkey) or onchain Bitcoin address.
|
|
207
|
-
* @param amountSat The amount in satoshis to send.
|
|
208
|
-
* @param comment Optional comment (can be null).
|
|
209
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
210
|
-
* @returns A promise resolving to a JSON status string.
|
|
211
|
-
*/
|
|
212
|
-
function send(datadir, mnemonic, destination, amountSat, comment = null, no_sync = false) {
|
|
213
|
-
return NitroArkHybridObject.send(datadir, mnemonic, destination, amountSat, comment, no_sync);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Sends an onchain payment via an Ark round.
|
|
218
|
-
* @param datadir Path to the data directory.
|
|
219
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
220
|
-
* @param destination The destination Bitcoin address.
|
|
221
|
-
* @param amountSat The amount in satoshis to send.
|
|
222
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
223
|
-
* @returns A promise resolving to a JSON status string.
|
|
224
|
-
*/
|
|
225
|
-
function sendRoundOnchain(datadir, mnemonic, destination, amountSat, no_sync = false) {
|
|
226
|
-
return NitroArkHybridObject.sendRoundOnchain(datadir, mnemonic, destination, amountSat, no_sync);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// --- Offboarding / Exiting ---
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Offboards specific VTXOs to an optional onchain address.
|
|
233
|
-
* @param datadir Path to the data directory.
|
|
234
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
235
|
-
* @param vtxoIds Array of VtxoId strings to offboard.
|
|
236
|
-
* @param optionalAddress Optional destination Bitcoin address (null if sending to internal wallet).
|
|
237
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
238
|
-
* @returns A promise resolving to a JSON result string.
|
|
239
|
-
*/
|
|
240
|
-
function offboardSpecific(datadir, mnemonic, vtxoIds, optionalAddress = null, no_sync = false) {
|
|
241
|
-
return NitroArkHybridObject.offboardSpecific(datadir, mnemonic, vtxoIds, optionalAddress, no_sync);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Offboards all VTXOs to an optional onchain address.
|
|
246
|
-
* @param datadir Path to the data directory.
|
|
247
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
248
|
-
* @param optionalAddress Optional destination Bitcoin address (null if sending to internal wallet).
|
|
249
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
250
|
-
* @returns A promise resolving to a JSON result string.
|
|
251
|
-
*/
|
|
252
|
-
function offboardAll(datadir, mnemonic, optionalAddress = null, no_sync = false) {
|
|
253
|
-
return NitroArkHybridObject.offboardAll(datadir, mnemonic, optionalAddress, no_sync);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Starts the exit process for specific VTXOs.
|
|
258
|
-
* @param datadir Path to the data directory.
|
|
259
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
260
|
-
* @param vtxoIds Array of VtxoId strings to start exiting.
|
|
261
|
-
* @param no_sync Whether to skip syncing the wallet (Note: This might depend on potential C header updates). Defaults to false.
|
|
262
|
-
* @returns A promise resolving to a JSON status string.
|
|
263
|
-
*/
|
|
264
|
-
function exitStartSpecific(datadir, mnemonic, vtxoIds, no_sync = false) {
|
|
265
|
-
// Passing no_sync, aligning with the TS/C++ interface definition, even if C header might differ
|
|
266
|
-
return NitroArkHybridObject.exitStartSpecific(datadir, mnemonic, vtxoIds, no_sync);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Starts the exit process for all VTXOs in the wallet.
|
|
271
|
-
* @param datadir Path to the data directory.
|
|
272
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
273
|
-
* @param no_sync Whether to skip syncing the wallet (Note: This might depend on potential C header updates). Defaults to false.
|
|
274
|
-
* @returns A promise resolving to a JSON status string.
|
|
275
|
-
*/
|
|
276
|
-
function exitStartAll(datadir, mnemonic, no_sync = false) {
|
|
277
|
-
// Passing no_sync, aligning with the TS/C++ interface definition, even if C header might differ
|
|
278
|
-
return NitroArkHybridObject.exitStartAll(datadir, mnemonic, no_sync);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Progresses the exit process once and returns the current status.
|
|
283
|
-
* @param datadir Path to the data directory.
|
|
284
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
285
|
-
* @returns A promise resolving to a JSON status string.
|
|
286
|
-
*/
|
|
287
|
-
function exitProgressOnce(datadir, mnemonic) {
|
|
288
|
-
return NitroArkHybridObject.exitProgressOnce(datadir, mnemonic);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
// --- Re-export types and enums ---
|
|
292
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeNitroModules","require","NitroArkHybridObject","exports","NitroModules","createHybridObject","createMnemonic","createWallet","datadir","opts","getBalance","mnemonic","no_sync","getOnchainAddress","getOnchainUtxos","getVtxoPubkey","getVtxos","sendOnchain","destination","amountSat","drainOnchain","sendManyOnchain","outputs","refreshVtxos","refreshOpts","mode_type","Promise","reject","Error","specific_vtxo_ids","length","threshold_value","undefined","boardAmount","boardAll","send","comment","sendRoundOnchain","offboardSpecific","vtxoIds","optionalAddress","offboardAll","exitStartSpecific","exitStartAll","exitProgressOnce"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AASA;AACO,MAAMC,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAC/BE,qCAAY,CAACC,kBAAkB,CAAW,UAAU,CAAC;;AAEvD;;AAEA;AACA;AACA;AACA;AACO,SAASC,cAAcA,CAAA,EAAoB;EAChD,OAAOJ,oBAAoB,CAACI,cAAc,CAAC,CAAC;AAC9C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,YAAYA,CAC1BC,OAAe,EACfC,IAAoB,EACL;EACf,OAAOP,oBAAoB,CAACK,YAAY,CAACC,OAAO,EAAEC,IAAI,CAAC;AACzD;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,UAAUA,CACxBF,OAAe,EACfG,QAAgB,EAChBC,OAAgB,GAAG,KAAK,EACF;EACtB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Q,EACR4B,OAAO,EACPC,eAAe,EACf5B,OACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS6B,WAAWA,CACzBjC,OAAe,EACfG,QAAgB,EAChB6B,eAA8B,GAAG,IAAI,EACrC5B,OAAgB,GAAG,KAAK,EACP;EACjB,OAAOV,oBAAoB,CAACuC,WAAW,CACrCjC,OAAO,EACPG,QAAQ,EACR6B,eAAe,EACf5B,OACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS8B,iBAAiBA,CAC/BlC,OAAe,EACfG,QAAgB,EAChB4B,OAAiB,EACjB3B,OAAgB,GAAG,KAAK,EACP;EACjB;EACA,OAAOV,oBAAoB,CAACwC,iBAAiB,CAC3ClC,OAAO,EACPG,QAAQ,EACR4B,OAAO,EACP3B,OACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS+B,YAAYA,CAC1BnC,OAAe,EACfG,QAAgB,EAChBC,OAAgB,GAAG,KAAK,EACP;EACjB;EACA,OAAOV,oBAAoB,CAACyC,YAAY,CAACnC,OAAO,EAAEG,QAAQ,EAAEC,OAAO,CAAC;AACtE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASgC,gBAAgBA,CAC9BpC,OAAe,EACfG,QAAgB,EACC;EACjB,OAAOT,oBAAoB,CAAC0C,gBAAgB,CAACpC,OAAO,EAAEG,QAAQ,CAAC;AACjE;;AAEA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
|
@@ -1 +0,0 @@
|
|
|
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;AAI/D,MAAM,M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-
export type BarkRefreshModeType = 'DefaultThreshold' | 'ThresholdBlocks' | 'ThresholdHours' | 'Counterparty' | 'All' | 'Specific';
|
|
3
|
-
export interface BarkConfigOpts {
|
|
4
|
-
asp?: string;
|
|
5
|
-
esplora?: string;
|
|
6
|
-
bitcoind?: string;
|
|
7
|
-
bitcoind_cookie?: string;
|
|
8
|
-
bitcoind_user?: string;
|
|
9
|
-
bitcoind_pass?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface BarkCreateOpts {
|
|
12
|
-
force?: boolean;
|
|
13
|
-
regtest?: boolean;
|
|
14
|
-
signet?: boolean;
|
|
15
|
-
bitcoin?: boolean;
|
|
16
|
-
mnemonic: string;
|
|
17
|
-
birthday_height?: number;
|
|
18
|
-
config?: BarkConfigOpts;
|
|
19
|
-
}
|
|
20
|
-
export interface BarkBalance {
|
|
21
|
-
onchain: number;
|
|
22
|
-
offchain: number;
|
|
23
|
-
pending_exit: number;
|
|
24
|
-
}
|
|
25
|
-
export interface BarkRefreshOpts {
|
|
26
|
-
mode_type: BarkRefreshModeType;
|
|
27
|
-
threshold_value?: number;
|
|
28
|
-
specific_vtxo_ids?: string[];
|
|
29
|
-
}
|
|
30
|
-
export interface BarkSendManyOutput {
|
|
31
|
-
destination: string;
|
|
32
|
-
amountSat: number;
|
|
33
|
-
}
|
|
34
|
-
export interface NitroArk extends HybridObject<{
|
|
35
|
-
ios: 'c++';
|
|
36
|
-
android: 'c++';
|
|
37
|
-
}> {
|
|
38
|
-
createMnemonic(): Promise<string>;
|
|
39
|
-
createWallet(datadir: string, opts: BarkCreateOpts): Promise<void>;
|
|
40
|
-
getBalance(datadir: string, no_sync: boolean, mnemonic: string): Promise<BarkBalance>;
|
|
41
|
-
getOnchainAddress(datadir: string, mnemonic: string): Promise<string>;
|
|
42
|
-
getOnchainUtxos(datadir: string, mnemonic: string, no_sync: boolean): Promise<string>;
|
|
43
|
-
getVtxoPubkey(datadir: string, mnemonic: string): Promise<string>;
|
|
44
|
-
getVtxos(datadir: string, mnemonic: string, no_sync: boolean): Promise<string>;
|
|
45
|
-
sendOnchain(datadir: string, mnemonic: string, destination: string, amountSat: number, no_sync: boolean): Promise<string>;
|
|
46
|
-
drainOnchain(datadir: string, mnemonic: string, destination: string, no_sync: boolean): Promise<string>;
|
|
47
|
-
sendManyOnchain(datadir: string, mnemonic: string, outputs: BarkSendManyOutput[], no_sync: boolean): Promise<string>;
|
|
48
|
-
refreshVtxos(datadir: string, mnemonic: string, refreshOpts: BarkRefreshOpts, no_sync: boolean): Promise<string>;
|
|
49
|
-
boardAmount(datadir: string, mnemonic: string, amountSat: number, no_sync: boolean): Promise<string>;
|
|
50
|
-
boardAll(datadir: string, mnemonic: string, no_sync: boolean): Promise<string>;
|
|
51
|
-
send(datadir: string, mnemonic: string, destination: string, amountSat: number, comment: string | null, no_sync: boolean): Promise<string>;
|
|
52
|
-
sendRoundOnchain(datadir: string, mnemonic: string, destination: string, amountSat: number, no_sync: boolean): Promise<string>;
|
|
53
|
-
offboardSpecific(datadir: string, mnemonic: string, vtxoIds: string[], optionalAddress: string | null, no_sync: boolean): Promise<string>;
|
|
54
|
-
offboardAll(datadir: string, mnemonic: string, optionalAddress: string | null, no_sync: boolean): Promise<string>;
|
|
55
|
-
exitStartSpecific(datadir: string, mnemonic: string, vtxoIds: string[], no_sync: boolean): Promise<string>;
|
|
56
|
-
exitStartAll(datadir: string, mnemonic: string, no_sync: boolean): Promise<string>;
|
|
57
|
-
exitProgressOnce(datadir: string, mnemonic: string): Promise<string>;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=NitroArk.nitro.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAI/D,MAAM,MAAM,mBAAmB,GAC3B,kBAAkB,GAClB,iBAAiB,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CAAC;CACtE"}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import type { NitroArk, BarkCreateOpts, BarkBalance, BarkRefreshOpts, BarkSendManyOutput } from './NitroArk.nitro';
|
|
2
|
-
export declare const NitroArkHybridObject: NitroArk;
|
|
3
|
-
/**
|
|
4
|
-
* Creates a new BIP39 mnemonic phrase.
|
|
5
|
-
* @returns A promise resolving to the mnemonic string.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createMnemonic(): Promise<string>;
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new wallet at the specified directory.
|
|
10
|
-
* @param datadir Path to the data directory.
|
|
11
|
-
* @param opts Creation options.
|
|
12
|
-
* @returns A promise that resolves on success or rejects on error.
|
|
13
|
-
*/
|
|
14
|
-
export declare function createWallet(datadir: string, opts: BarkCreateOpts): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Gets the offchain and onchain balances.
|
|
17
|
-
* @param datadir Path to the data directory.
|
|
18
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
19
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
20
|
-
* @returns A promise resolving to the BarkBalance object.
|
|
21
|
-
*/
|
|
22
|
-
export declare function getBalance(datadir: string, mnemonic: string, no_sync?: boolean): Promise<BarkBalance>;
|
|
23
|
-
/**
|
|
24
|
-
* Gets a fresh onchain address.
|
|
25
|
-
* @param datadir Path to the data directory.
|
|
26
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
27
|
-
* @returns A promise resolving to the Bitcoin address string.
|
|
28
|
-
*/
|
|
29
|
-
export declare function getOnchainAddress(datadir: string, mnemonic: string): Promise<string>;
|
|
30
|
-
/**
|
|
31
|
-
* Gets the list of onchain UTXOs as a JSON string.
|
|
32
|
-
* @param datadir Path to the data directory.
|
|
33
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
34
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
35
|
-
* @returns A promise resolving to the JSON string of UTXOs.
|
|
36
|
-
*/
|
|
37
|
-
export declare function getOnchainUtxos(datadir: string, mnemonic: string, no_sync?: boolean): Promise<string>;
|
|
38
|
-
/**
|
|
39
|
-
* Gets the wallet's VTXO public key (hex string).
|
|
40
|
-
* @param datadir Path to the data directory.
|
|
41
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
42
|
-
* @returns A promise resolving to the hex-encoded public key string.
|
|
43
|
-
*/
|
|
44
|
-
export declare function getVtxoPubkey(datadir: string, mnemonic: string): Promise<string>;
|
|
45
|
-
/**
|
|
46
|
-
* Gets the list of VTXOs as a JSON string.
|
|
47
|
-
* @param datadir Path to the data directory.
|
|
48
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
49
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
50
|
-
* @returns A promise resolving to the JSON string of VTXOs.
|
|
51
|
-
*/
|
|
52
|
-
export declare function getVtxos(datadir: string, mnemonic: string, no_sync?: boolean): Promise<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Sends funds using the onchain wallet.
|
|
55
|
-
* @param datadir Path to the data directory.
|
|
56
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
57
|
-
* @param destination The destination Bitcoin address.
|
|
58
|
-
* @param amountSat The amount to send in satoshis.
|
|
59
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
60
|
-
* @returns A promise resolving to the transaction ID string.
|
|
61
|
-
*/
|
|
62
|
-
export declare function sendOnchain(datadir: string, mnemonic: string, destination: string, amountSat: number, no_sync?: boolean): Promise<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Sends all funds from the onchain wallet to a destination address.
|
|
65
|
-
* @param datadir Path to the data directory.
|
|
66
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
67
|
-
* @param destination The destination Bitcoin address.
|
|
68
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
69
|
-
* @returns A promise resolving to the transaction ID string.
|
|
70
|
-
*/
|
|
71
|
-
export declare function drainOnchain(datadir: string, mnemonic: string, destination: string, no_sync?: boolean): Promise<string>;
|
|
72
|
-
/**
|
|
73
|
-
* Sends funds to multiple recipients using the onchain wallet.
|
|
74
|
-
* @param datadir Path to the data directory.
|
|
75
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
76
|
-
* @param outputs An array of objects containing destination address and amountSat.
|
|
77
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
78
|
-
* @returns A promise resolving to the transaction ID string.
|
|
79
|
-
*/
|
|
80
|
-
export declare function sendManyOnchain(datadir: string, mnemonic: string, outputs: BarkSendManyOutput[], no_sync?: boolean): Promise<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Refreshes VTXOs based on specified criteria.
|
|
83
|
-
* @param datadir Path to the data directory.
|
|
84
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
85
|
-
* @param refreshOpts Options specifying which VTXOs to refresh.
|
|
86
|
-
* `mode_type` should be one of: 'DefaultThreshold', 'ThresholdBlocks', 'ThresholdHours', 'Counterparty', 'All', 'Specific'.
|
|
87
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
88
|
-
* @returns A promise resolving to a JSON status string.
|
|
89
|
-
* @example
|
|
90
|
-
* // Refresh using default threshold
|
|
91
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'DefaultThreshold' });
|
|
92
|
-
* // Refresh specific VTXOs
|
|
93
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'Specific', specific_vtxo_ids: ['vtxo_id_1', 'vtxo_id_2'] });
|
|
94
|
-
* // Refresh if older than 10 blocks
|
|
95
|
-
* refreshVtxos(datadir, mnemonic, { mode_type: 'ThresholdBlocks', threshold_value: 10 });
|
|
96
|
-
*/
|
|
97
|
-
export declare function refreshVtxos(datadir: string, mnemonic: string, refreshOpts: BarkRefreshOpts, no_sync?: boolean): Promise<string>;
|
|
98
|
-
/**
|
|
99
|
-
* Boards a specific amount from the onchain wallet into Ark.
|
|
100
|
-
* @param datadir Path to the data directory.
|
|
101
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
102
|
-
* @param amountSat The amount in satoshis to board.
|
|
103
|
-
* @param no_sync Whether to skip syncing the onchain wallet. Defaults to false.
|
|
104
|
-
* @returns A promise resolving to a JSON status string.
|
|
105
|
-
*/
|
|
106
|
-
export declare function boardAmount(datadir: string, mnemonic: string, amountSat: number, no_sync?: boolean): Promise<string>;
|
|
107
|
-
/**
|
|
108
|
-
* Boards all available funds from the onchain wallet into Ark.
|
|
109
|
-
* @param datadir Path to the data directory.
|
|
110
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
111
|
-
* @param no_sync Whether to skip syncing the onchain wallet. Defaults to false.
|
|
112
|
-
* @returns A promise resolving to a JSON status string.
|
|
113
|
-
*/
|
|
114
|
-
export declare function boardAll(datadir: string, mnemonic: string, no_sync?: boolean): Promise<string>;
|
|
115
|
-
/**
|
|
116
|
-
* Sends funds offchain using Ark VTXOs.
|
|
117
|
-
* @param datadir Path to the data directory.
|
|
118
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
119
|
-
* @param destination Ark address (VTXO pubkey) or onchain Bitcoin address.
|
|
120
|
-
* @param amountSat The amount in satoshis to send.
|
|
121
|
-
* @param comment Optional comment (can be null).
|
|
122
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
123
|
-
* @returns A promise resolving to a JSON status string.
|
|
124
|
-
*/
|
|
125
|
-
export declare function send(datadir: string, mnemonic: string, destination: string, amountSat: number, comment?: string | null, no_sync?: boolean): Promise<string>;
|
|
126
|
-
/**
|
|
127
|
-
* Sends an onchain payment via an Ark round.
|
|
128
|
-
* @param datadir Path to the data directory.
|
|
129
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
130
|
-
* @param destination The destination Bitcoin address.
|
|
131
|
-
* @param amountSat The amount in satoshis to send.
|
|
132
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
133
|
-
* @returns A promise resolving to a JSON status string.
|
|
134
|
-
*/
|
|
135
|
-
export declare function sendRoundOnchain(datadir: string, mnemonic: string, destination: string, amountSat: number, no_sync?: boolean): Promise<string>;
|
|
136
|
-
/**
|
|
137
|
-
* Offboards specific VTXOs to an optional onchain address.
|
|
138
|
-
* @param datadir Path to the data directory.
|
|
139
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
140
|
-
* @param vtxoIds Array of VtxoId strings to offboard.
|
|
141
|
-
* @param optionalAddress Optional destination Bitcoin address (null if sending to internal wallet).
|
|
142
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
143
|
-
* @returns A promise resolving to a JSON result string.
|
|
144
|
-
*/
|
|
145
|
-
export declare function offboardSpecific(datadir: string, mnemonic: string, vtxoIds: string[], optionalAddress?: string | null, no_sync?: boolean): Promise<string>;
|
|
146
|
-
/**
|
|
147
|
-
* Offboards all VTXOs to an optional onchain address.
|
|
148
|
-
* @param datadir Path to the data directory.
|
|
149
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
150
|
-
* @param optionalAddress Optional destination Bitcoin address (null if sending to internal wallet).
|
|
151
|
-
* @param no_sync Whether to skip syncing the wallet. Defaults to false.
|
|
152
|
-
* @returns A promise resolving to a JSON result string.
|
|
153
|
-
*/
|
|
154
|
-
export declare function offboardAll(datadir: string, mnemonic: string, optionalAddress?: string | null, no_sync?: boolean): Promise<string>;
|
|
155
|
-
/**
|
|
156
|
-
* Starts the exit process for specific VTXOs.
|
|
157
|
-
* @param datadir Path to the data directory.
|
|
158
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
159
|
-
* @param vtxoIds Array of VtxoId strings to start exiting.
|
|
160
|
-
* @param no_sync Whether to skip syncing the wallet (Note: This might depend on potential C header updates). Defaults to false.
|
|
161
|
-
* @returns A promise resolving to a JSON status string.
|
|
162
|
-
*/
|
|
163
|
-
export declare function exitStartSpecific(datadir: string, mnemonic: string, vtxoIds: string[], no_sync?: boolean): Promise<string>;
|
|
164
|
-
/**
|
|
165
|
-
* Starts the exit process for all VTXOs in the wallet.
|
|
166
|
-
* @param datadir Path to the data directory.
|
|
167
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
168
|
-
* @param no_sync Whether to skip syncing the wallet (Note: This might depend on potential C header updates). Defaults to false.
|
|
169
|
-
* @returns A promise resolving to a JSON status string.
|
|
170
|
-
*/
|
|
171
|
-
export declare function exitStartAll(datadir: string, mnemonic: string, no_sync?: boolean): Promise<string>;
|
|
172
|
-
/**
|
|
173
|
-
* Progresses the exit process once and returns the current status.
|
|
174
|
-
* @param datadir Path to the data directory.
|
|
175
|
-
* @param mnemonic The wallet mnemonic phrase.
|
|
176
|
-
* @returns A promise resolving to a JSON status string.
|
|
177
|
-
*/
|
|
178
|
-
export declare function exitProgressOnce(datadir: string, mnemonic: string): Promise<string>;
|
|
179
|
-
export type { BarkCreateOpts, BarkConfigOpts, BarkBalance, BarkRefreshOpts, BarkRefreshModeType, BarkSendManyOutput, } from './NitroArk.nitro';
|
|
180
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAG1B,eAAO,MAAM,oBAAoB,UACsB,CAAC;AAIxD;;;GAGG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAEhD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,IAAI,CAAC,CAEf;AAID;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,OAAe,GACvB,OAAO,CAAC,WAAW,CAAC,CAGtB;AAED;;;;;GAK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