@arkade-os/sdk 0.4.60 → 0.4.62
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/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +4 -4
- package/dist/adapters/expo.d.ts +4 -4
- package/dist/adapters/expo.js +3 -3
- package/dist/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-CqijAAPG.d.cts → asyncStorageTaskQueue-B53mOTCw.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-Vsp6uk8e.d.ts → asyncStorageTaskQueue-Df-CTfTE.d.ts} +2 -2
- package/dist/{chunk-Y54MUBT7.js → chunk-2IZW6AEK.js} +879 -146
- package/dist/chunk-2IZW6AEK.js.map +1 -0
- package/dist/{chunk-MZNLCMUP.cjs → chunk-G53HASDV.cjs} +113 -79
- package/dist/chunk-G53HASDV.cjs.map +1 -0
- package/dist/{chunk-3Q7BBUWO.js → chunk-H2ZAJOQA.js} +4 -4
- package/dist/{chunk-3Q7BBUWO.js.map → chunk-H2ZAJOQA.js.map} +1 -1
- package/dist/{chunk-PRFL62ID.cjs → chunk-I6EDUE75.cjs} +17 -17
- package/dist/{chunk-PRFL62ID.cjs.map → chunk-I6EDUE75.cjs.map} +1 -1
- package/dist/{chunk-B66RYHTB.js → chunk-I7RLG6VX.js} +4 -4
- package/dist/{chunk-B66RYHTB.js.map → chunk-I7RLG6VX.js.map} +1 -1
- package/dist/{chunk-2DINXHGQ.js → chunk-L7S5KC5B.js} +66 -35
- package/dist/chunk-L7S5KC5B.js.map +1 -0
- package/dist/{chunk-4A4GRSTB.cjs → chunk-OH2XLTXE.cjs} +3 -3
- package/dist/{chunk-4A4GRSTB.cjs.map → chunk-OH2XLTXE.cjs.map} +1 -1
- package/dist/{chunk-2XLNQHG4.cjs → chunk-PWWA4DBL.cjs} +10 -10
- package/dist/{chunk-2XLNQHG4.cjs.map → chunk-PWWA4DBL.cjs.map} +1 -1
- package/dist/{chunk-H7JCHFM6.cjs → chunk-QRSR4HV4.cjs} +17 -17
- package/dist/{chunk-H7JCHFM6.cjs.map → chunk-QRSR4HV4.cjs.map} +1 -1
- package/dist/{chunk-FSKANUV4.js → chunk-RMBI6P4N.js} +3 -3
- package/dist/{chunk-FSKANUV4.js.map → chunk-RMBI6P4N.js.map} +1 -1
- package/dist/{chunk-JBULXTCC.js → chunk-URT2RVGB.js} +3 -3
- package/dist/{chunk-JBULXTCC.js.map → chunk-URT2RVGB.js.map} +1 -1
- package/dist/{chunk-KNS5MTTI.cjs → chunk-Z2OZMKFV.cjs} +1272 -523
- package/dist/chunk-Z2OZMKFV.cjs.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +5 -5
- package/dist/contracts/handlers/index.d.ts +5 -5
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-DNEuM_nK.d.cts → delegate-BjYJJsml.d.ts} +1 -1
- package/dist/{delegate-DidNTsKm.d.ts → delegate-CC1gcvuC.d.cts} +1 -1
- package/dist/{index-BP8-zniX.d.cts → index-C888wFEV.d.ts} +102 -102
- package/dist/{ark-D2_yNhfz.d.cts → index-CwBr7qzV.d.cts} +3941 -3812
- package/dist/{ark-D2_yNhfz.d.ts → index-CwBr7qzV.d.ts} +3941 -3812
- package/dist/{index-DzQbNQUG.d.ts → index-Cz5_WaQP.d.cts} +102 -102
- package/dist/index.cjs +328 -248
- package/dist/index.d.cts +340 -52
- package/dist/index.d.ts +340 -52
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +19 -19
- package/dist/repositories/realm/index.d.cts +4 -4
- package/dist/repositories/realm/index.d.ts +4 -4
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +18 -18
- package/dist/repositories/sqlite/index.d.cts +4 -4
- package/dist/repositories/sqlite/index.d.ts +4 -4
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-9gnlYEpb.d.ts → taskRunner-BMUndClz.d.cts} +2 -2
- package/dist/{taskRunner-BEQNFEa4.d.cts → taskRunner-DZWUsSzA.d.ts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +5 -5
- package/dist/wallet/expo/background.d.ts +5 -5
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +36 -16
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +13 -6
- package/dist/wallet/expo/index.d.ts +13 -6
- package/dist/wallet/expo/index.js +27 -7
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/{wallet-ipUA1XCp.d.cts → wallet-Dpjx6CJ7.d.ts} +91 -17
- package/dist/{wallet-C_MYHyOj.d.ts → wallet-H3f14est.d.cts} +91 -17
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +6 -6
- package/dist/worker/expo/index.d.ts +6 -6
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-2DINXHGQ.js.map +0 -1
- package/dist/chunk-KNS5MTTI.cjs.map +0 -1
- package/dist/chunk-MZNLCMUP.cjs.map +0 -1
- package/dist/chunk-Y54MUBT7.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { W as Wallet, R as ReadonlyWallet,
|
|
4
|
-
export { A as ArkError, f as ArkErrorName, g as ArkadeCashClaimResult, h as ArkadeCashCreateError, i as ArkadeCashUnclaimedReason, j as ArkadeCashUnclaimedVtxo, k as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, l as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, m as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, n as ProviderKind, o as ProviderUnavailableError, p as REGTEST_MIN_BATCH_EXPIRY_SECONDS, q as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ServerInfoSource, s as ServerResponseMismatchError, t as assertValidBatchExpiry, u as assertValidServerUnrollScript, v as defaultBatchExpiryPolicy, w as defaultCheckpointExitDelayPolicy, x as isArkError, y as isHDAllocationCapable, z as isHDWalletCapable, E as maybeArkError,
|
|
5
|
-
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-
|
|
6
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { a2 as ReadonlyIdentity, a as Identity, ap as DescriptorSigningRequest, aq as Transaction, al as SignerSession, K as DescriptorProvider, ar as IntentFeeConfig, as as OffchainInput, at as FeeAmount, au as OnchainInput, av as FeeOutput, y as IntentRepository, z as ArkIntent, B as IntentFilter, O as Outpoint, D as VirtualTxRepository, F as VirtualTx, H as VtxoBranch, W as WalletRepository, u as ExtendedVirtualCoin, v as VtxoRepositoryKey, E as ExtendedCoin, A as ArkTransaction, w as WalletState, t as Contract, C as ContractRepository, x as ContractFilter, I as IWallet, o as ArkProvider, aj as SettlementConfig, aw as ContractWatcherConfig, ax as Asset, R as Recipient, ay as FeeInfo, i as SettlementEvent, h as SettleParams, S as SendBitcoinParams, G as GetVtxosFilter, az as CreateContractParams, aA as GetContractsFilter, s as VirtualCoin, aB as GetSpendablePathsOptions, aC as GetAllSpendingPathsOptions, aD as IssuanceParams, aE as ReissuanceParams, aF as BurnParams, aG as RenewVtxosOptions, c as WalletBalance, a9 as ContractSyncState, ae as ContractWithVtxos, aH as PathSelection, aI as ContractEvent, aJ as AssetDetails, aK as IssuanceResult, aL as DelegateInfo, aM as MigrationGlobalSkipReason, aN as MigrationLegSkipReason, aO as SignerStatus, a1 as IReadonlyWallet, d as ActivityRegistry, a8 as IReadonlyAssetManager, aP as StorageConfig, e as Activity, N as NormalizedExtendedVirtualCoin, f as IContractManager, k as IAssetManager, j as SendParams, g as IDelegateManager, aQ as IVtxoManager, a3 as OnchainProvider, L as Network, ab as NetworkName, ag as Coin, aR as ExplorerTransaction, r as TapLeafScript, aS as EncodedVtxoScript, M as CSVMultisigTapscript, q as RelativeTimelock, V as VtxoScript, aT as Status, ad as ArkAddress, an as Intent, aU as ChainTx, p as IndexerProvider, U as TxTree, aV as PathContext } from './index-CwBr7qzV.js';
|
|
2
|
+
export { aW as ActivityIntent, aX as ActivityResolver, ac as ArkInfo, aY as ArkIntentState, aZ as ArkTapscript, a_ as AssetMetadata, a$ as BITCOIN_EMULATOR_PUBKEY, b0 as BaseWalletConfig, _ as BatchFailedEvent, Y as BatchFinalizationEvent, Z as BatchFinalizedEvent, b1 as BatchInfo, b2 as BatchSignableIdentity, P as BatchStartedEvent, b3 as CLTVMultisigTapscript, b4 as CandidateDeps, b5 as ChainTxType, J as ChainedTxType, b6 as CommitmentTx, b7 as ConditionCSVMultisigTapscript, b8 as ConditionMultisigTapscript, b9 as ContractBalance, ba as ContractEventCallback, bb as ContractHandler, ah as ContractManager, ai as ContractManagerConfig, bc as ContractState, bd as ContractVtxo, be as ContractWatcher, bf as DelegateManagerImpl, bg as DelegateOptions, a4 as DelegateProvider, bh as DelegatorManagerImpl, bi as DelegatorProvider, bj as DeprecatedSignerMigrationReport, bk as DeprecatedSignerReport, bl as DigestMismatchError, bm as Discoverable, bn as DiscoveredContract, bo as DiscoveryDeps, bp as ESPLORA_URL, bq as EsploraProvider, br as EventSourceCapable, bs as EventSourceFactory, bt as EventSourceLike, bu as EventSourceUnavailableError, a6 as ExitCaptureMode, bv as ExitChainResolver, a7 as ExitDataSource, bw as ExtendedContractVtxo, bx as GroupMembership, by as HandlerError, bz as IDelegatorManager, bA as INTENT_TERMINAL_STATES, bB as IndexerTxType, bC as KnownMetadata, bD as MUTINYNET_EMULATOR_PUBKEY, bE as MigrateDeprecatedSignerOptions, bF as MigrationLegReport, bG as MigrationVtxoRef, bH as MultisigTapscript, bI as Nonces, bJ as Output, bK as PageResponse, bL as PaginationOptions, bM as PartialSig, bN as ProviderClass, bO as REGTEST_EMULATOR_PUBKEY, a5 as ReadonlyWalletConfig, l as RestArkProvider, bP as RestDelegateProvider, bQ as RestDelegatorProvider, m as RestIndexerProvider, bR as ScanContractsOptions, bS as ScanResult, bT as ScheduledSession, bU as SettlementEventType, bV as SignRequest, am as SignedIntent, bW as SignerClassification, bX as SignerSet, bY as SubscriptionEvent, bZ as SubscriptionHeartbeat, n as SubscriptionResponse, b_ as TapLeaves, b$ as TapTreeCoder, c0 as TapscriptType, ao as TimeHeight, c1 as TreeNonces, X as TreeNoncesEvent, c2 as TreePartialSigs, a0 as TreeSignatureEvent, Q as TreeSigningStartedEvent, $ as TreeTxEvent, c3 as Tx, c4 as TxHistoryRecord, c5 as TxKey, T as TxNotification, c6 as TxTag, c7 as TxTreeNode, c8 as TxType, c9 as VirtualStatus, ca as Vtxo, cb as VtxoChain, ak as VtxoManager, cc as VtxoType, b as WalletConfig, cd as WalletMode, ce as assetMintResolver, cf as boardingResolver, cg as canRecoverOnchain, ch as canSpendOffchain, ci as classifyAgainstSignerSet, cj as classifyContractSigner, ck as collabExitResolver, cl as configureEventSource, cm as createDefaultActivityRegistry, cn as createExitChainResolver, co as decodeTapscript, cp as defaultEmulatorPubkey, cq as getConfiguredEventSource, cr as getNetwork, cs as getRandomId, ct as getSequence, cu as hasCandidates, cv as hasTerminalSpend, cw as isBatchSignable, cx as isCooperativelyMigratable, cy as isDiscoverable, cz as isEventSourceUnavailableError, cA as isExpired, cB as isPastExpiry, cC as isRecoverable, cD as isSigningIdentity, cE as isSpendable, cF as isSubdust, cG as isTerminalIntentState, cH as isVirtualCoin, cI as isVtxoExpiringSoon, cJ as networks, cK as resolveEmulatorPubkey, cL as resolveEventSource, cM as scriptFromTapLeafScript, cN as signerSetFromInfo, cO as toXOnlySignerHex } from './index-CwBr7qzV.js';
|
|
3
|
+
import { W as Wallet, R as ReadonlyWallet, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-Dpjx6CJ7.js';
|
|
4
|
+
export { A as ArkError, f as ArkErrorName, g as ArkadeCashClaimResult, h as ArkadeCashCreateError, i as ArkadeCashUnclaimedReason, j as ArkadeCashUnclaimedVtxo, k as BoardingUtxoGroup, C as CheckpointExitDelayPolicy, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, l as DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, m as MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, n as ProviderKind, o as ProviderUnavailableError, p as REGTEST_MIN_BATCH_EXPIRY_SECONDS, q as REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, S as SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, r as ServerInfoSource, s as ServerResponseMismatchError, t as assertValidBatchExpiry, u as assertValidServerUnrollScript, v as defaultBatchExpiryPolicy, w as defaultCheckpointExitDelayPolicy, x as isArkError, y as isHDAllocationCapable, z as isHDWalletCapable, E as maybeArkError, G as resolveBatchExpiryPolicy, J as resolveCheckpointExitDelayPolicy, K as resolveDescriptorSigner, L as selectVirtualCoins, N as signingDescriptorIndex, O as strictSigningDescriptorIndex, Q as waitForIncomingFunds } from './wallet-Dpjx6CJ7.js';
|
|
5
|
+
import { P as Program, A as ArkadeParamValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeArgValue, C as CompiledProgramFunction, d as ArkadeFunction, I as InputRef, e as InputDef, f as ArkadeValueType, g as ArkadeArgType, h as ArkadeContractParams, i as ArkadeSegment, j as AsmToken, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, W as WitnessRef, l as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, m as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-C888wFEV.js';
|
|
6
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, V as VHTLC, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from './index-C888wFEV.js';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-BjYJJsml.js';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-BjYJJsml.js';
|
|
9
9
|
import { Bytes, BTC_NETWORK } from '@scure/btc-signer/utils.js';
|
|
10
10
|
import { P2TR } from '@scure/btc-signer/payment.js';
|
|
11
11
|
import { Transaction as Transaction$1, OP, Script, ScriptType } from '@scure/btc-signer';
|
|
@@ -231,6 +231,17 @@ declare class SeedIdentity implements HDCapableIdentity {
|
|
|
231
231
|
compressedPublicKey(): Promise<Uint8Array>;
|
|
232
232
|
sign(tx: Transaction, inputIndexes?: number[]): Promise<Transaction>;
|
|
233
233
|
signMessage(message: Uint8Array, signatureType?: "schnorr" | "ecdsa"): Promise<Uint8Array>;
|
|
234
|
+
/**
|
|
235
|
+
* BIP-340 sign `messageHash` with this identity's own key, aux_rand = 0.
|
|
236
|
+
*
|
|
237
|
+
* The descriptor-less sibling of
|
|
238
|
+
* {@link signSchnorrDeterministicWithDescriptor}, for an `auto`-mode wallet
|
|
239
|
+
* whose bare `tr(pubkey)` resolves to the identity itself rather than to a
|
|
240
|
+
* {@link DescriptorIdentity}. Deliberately NOT routed through
|
|
241
|
+
* `signMessage`, whose schnorr branch draws a random aux_rand and would
|
|
242
|
+
* make the "deterministic" signature unreproducible.
|
|
243
|
+
*/
|
|
244
|
+
signSchnorrDeterministic(messageHash: Uint8Array): Promise<Uint8Array>;
|
|
234
245
|
signerSession(): SignerSession;
|
|
235
246
|
/**
|
|
236
247
|
* Converts to a watch-only identity that cannot sign. Carries the
|
|
@@ -363,6 +374,21 @@ declare class ReadonlyDescriptorIdentity implements ReadonlyHDCapableIdentity {
|
|
|
363
374
|
isOurs(descriptor: string): boolean;
|
|
364
375
|
}
|
|
365
376
|
|
|
377
|
+
/**
|
|
378
|
+
* Normalize a value to descriptor format.
|
|
379
|
+
* If already a descriptor, return as-is. If hex pubkey, wrap as tr(pubkey).
|
|
380
|
+
* Throws when the value is empty or not a string so we never produce
|
|
381
|
+
* malformed descriptors like `tr()` that downstream parsers would reject.
|
|
382
|
+
*/
|
|
383
|
+
declare function normalizeToDescriptor(value: string): string;
|
|
384
|
+
/**
|
|
385
|
+
* Extract the x-only (32-byte) pubkey from a materialized descriptor.
|
|
386
|
+
* Handles both static `tr(pubkey)` and materialized HD
|
|
387
|
+
* `tr([fp/..]xpub/0/<i>)` shapes via the descriptors-scure expansion map.
|
|
388
|
+
* Throws a plain Error when the descriptor is non-rangeable / unparseable;
|
|
389
|
+
* callers that need a typed error wrap this.
|
|
390
|
+
*/
|
|
391
|
+
declare function deriveDescriptorLeafPubKey(descriptor: string): Uint8Array;
|
|
366
392
|
/**
|
|
367
393
|
* Compressed (33-byte) counterpart of {@link deriveDescriptorLeafPubKey}, for
|
|
368
394
|
* protocols that key on the parity byte (Boltz swap keys).
|
|
@@ -371,6 +397,33 @@ declare class ReadonlyDescriptorIdentity implements ReadonlyHDCapableIdentity {
|
|
|
371
397
|
* synthesizing `02||xonly` would silently produce the wrong key half the time.
|
|
372
398
|
*/
|
|
373
399
|
declare function deriveDescriptorLeafCompressedPubKey(descriptor: string): Uint8Array;
|
|
400
|
+
/** Parsed HD descriptor components. */
|
|
401
|
+
interface ParsedHDDescriptor {
|
|
402
|
+
fingerprint: string;
|
|
403
|
+
basePath: string;
|
|
404
|
+
xpub: string;
|
|
405
|
+
derivationPath: string;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Parse an HD descriptor into its components.
|
|
409
|
+
* HD descriptors have the format: tr([fingerprint/path']xpub/derivation)
|
|
410
|
+
* Returns null if the descriptor is not in HD format.
|
|
411
|
+
*/
|
|
412
|
+
declare function parseHDDescriptor(descriptor: string): ParsedHDDescriptor | null;
|
|
413
|
+
/**
|
|
414
|
+
* The descriptor that names an identity's own key: the whole of a static
|
|
415
|
+
* wallet's key policy, and the descriptor a record bound before an `auto`
|
|
416
|
+
* wallet became HD carries.
|
|
417
|
+
*
|
|
418
|
+
* One spelling, deliberately. Every site that mints this must produce
|
|
419
|
+
* byte-identical output for one identity, or a stored descriptor stops
|
|
420
|
+
* round-tripping through `signerForDescriptor` and `contractSigner`'s
|
|
421
|
+
* pubkey-equality check — a record the wallet can sign for, refused as
|
|
422
|
+
* foreign.
|
|
423
|
+
*/
|
|
424
|
+
declare function identityDescriptor(identity: {
|
|
425
|
+
xOnlyPublicKey(): Promise<Uint8Array>;
|
|
426
|
+
}): Promise<string>;
|
|
374
427
|
|
|
375
428
|
/**
|
|
376
429
|
* Descriptor-scoped signing surface — the two members every
|
|
@@ -472,6 +525,16 @@ declare class SingleKey implements Identity {
|
|
|
472
525
|
xOnlyPublicKey(): Promise<Uint8Array>;
|
|
473
526
|
signerSession(): SignerSession;
|
|
474
527
|
signMessage(message: Uint8Array, signatureType?: "schnorr" | "ecdsa"): Promise<Uint8Array>;
|
|
528
|
+
/**
|
|
529
|
+
* BIP-340 sign `messageHash` with aux_rand = 0, so the signature — and
|
|
530
|
+
* anything derived from it — is reproducible from the key alone.
|
|
531
|
+
*
|
|
532
|
+
* What lets a static wallet derive a swap preimage instead of storing one
|
|
533
|
+
* (see `wallet/contractSecrets.ts`). Deliberately NOT `signMessage`, whose
|
|
534
|
+
* schnorr branch draws a random aux_rand: a preimage derived from that is
|
|
535
|
+
* unrecoverable, and the loss would only surface at claim time.
|
|
536
|
+
*/
|
|
537
|
+
signSchnorrDeterministic(messageHash: Uint8Array): Promise<Uint8Array>;
|
|
475
538
|
toReadonly(): Promise<ReadonlySingleKey>;
|
|
476
539
|
}
|
|
477
540
|
declare class ReadonlySingleKey implements ReadonlyIdentity {
|
|
@@ -494,6 +557,55 @@ declare class ReadonlySingleKey implements ReadonlyIdentity {
|
|
|
494
557
|
compressedPublicKey(): Promise<Uint8Array>;
|
|
495
558
|
}
|
|
496
559
|
|
|
560
|
+
/**
|
|
561
|
+
* Estimator evaluates CEL expressions to calculate fees for Arkade intents
|
|
562
|
+
*/
|
|
563
|
+
declare class Estimator {
|
|
564
|
+
readonly config: IntentFeeConfig;
|
|
565
|
+
private intentOffchainInput?;
|
|
566
|
+
private intentOnchainInput?;
|
|
567
|
+
private intentOffchainOutput?;
|
|
568
|
+
private intentOnchainOutput?;
|
|
569
|
+
/**
|
|
570
|
+
* Creates a new Estimator with the given config
|
|
571
|
+
* @param config - Configuration containing CEL programs for fee calculation
|
|
572
|
+
*/
|
|
573
|
+
constructor(config: IntentFeeConfig);
|
|
574
|
+
/**
|
|
575
|
+
* Evaluates the fee for a given vtxo input
|
|
576
|
+
* @param input - The offchain input to evaluate
|
|
577
|
+
* @returns The fee amount for this input
|
|
578
|
+
*/
|
|
579
|
+
evalOffchainInput(input: OffchainInput): FeeAmount;
|
|
580
|
+
/**
|
|
581
|
+
* Evaluates the fee for a given boarding input
|
|
582
|
+
* @param input - The onchain input to evaluate
|
|
583
|
+
* @returns The fee amount for this input
|
|
584
|
+
*/
|
|
585
|
+
evalOnchainInput(input: OnchainInput): FeeAmount;
|
|
586
|
+
/**
|
|
587
|
+
* Evaluates the fee for a given vtxo output
|
|
588
|
+
* @param output - The output to evaluate
|
|
589
|
+
* @returns The fee amount for this output
|
|
590
|
+
*/
|
|
591
|
+
evalOffchainOutput(output: FeeOutput): FeeAmount;
|
|
592
|
+
/**
|
|
593
|
+
* Evaluates the fee for a given collaborative exit output
|
|
594
|
+
* @param output - The output to evaluate
|
|
595
|
+
* @returns The fee amount for this output
|
|
596
|
+
*/
|
|
597
|
+
evalOnchainOutput(output: FeeOutput): FeeAmount;
|
|
598
|
+
/**
|
|
599
|
+
* Evaluates the fee for a given set of inputs and outputs
|
|
600
|
+
* @param offchainInputs - Array of offchain inputs to evaluate
|
|
601
|
+
* @param onchainInputs - Array of onchain inputs to evaluate
|
|
602
|
+
* @param offchainOutputs - Array of offchain outputs to evaluate
|
|
603
|
+
* @param onchainOutputs - Array of onchain outputs to evaluate
|
|
604
|
+
* @returns The total fee amount
|
|
605
|
+
*/
|
|
606
|
+
evaluate(offchainInputs: OffchainInput[], onchainInputs: OnchainInput[], offchainOutputs: FeeOutput[], onchainOutputs: FeeOutput[]): FeeAmount;
|
|
607
|
+
}
|
|
608
|
+
|
|
497
609
|
declare class InMemoryIntentRepository implements IntentRepository {
|
|
498
610
|
readonly version: 1;
|
|
499
611
|
private byId;
|
|
@@ -624,6 +736,18 @@ type VtxoExclusion = (vtxo: ExcludableVtxo) => string | undefined;
|
|
|
624
736
|
declare function gateExclusion(gated: ReadonlyMap<string, string>): VtxoExclusion;
|
|
625
737
|
/** Outpoints excluded for a shared reason, e.g. an intent-lock set. */
|
|
626
738
|
declare function outpointExclusion(outpoints: ReadonlySet<string>, reason: string): VtxoExclusion;
|
|
739
|
+
/**
|
|
740
|
+
* Outpoints excluded for individually-named reasons — a per-input timelock,
|
|
741
|
+
* where one shared reason would be wrong because the inputs differ.
|
|
742
|
+
*
|
|
743
|
+
* Unlike {@link gateExclusion}, the reasons are the handlers' own sentences and
|
|
744
|
+
* are not rephrased to follow the outpoint: that text is what tells the reader
|
|
745
|
+
* when to retry, and a paraphrase here would be a second spelling to keep in
|
|
746
|
+
* step with it.
|
|
747
|
+
*
|
|
748
|
+
* @see outpointExclusion for the shared-reason form.
|
|
749
|
+
*/
|
|
750
|
+
declare function outpointReasons(reasons: ReadonlyMap<string, string>): VtxoExclusion;
|
|
627
751
|
/**
|
|
628
752
|
* Report VTXOs an exclusion dropped — the only field-diagnosable signal for why
|
|
629
753
|
* a coin is missing from a spend, or why an explicitly named one will fail.
|
|
@@ -893,53 +1017,208 @@ declare class ContractRepositoryImpl implements ContractRepository {
|
|
|
893
1017
|
}
|
|
894
1018
|
|
|
895
1019
|
/**
|
|
896
|
-
*
|
|
1020
|
+
* Domain separator for the preimage derivation.
|
|
1021
|
+
*
|
|
1022
|
+
* Protocol-scoped and versioned, mirroring NArk's `Arkade-Boltz-Preimage-v1`
|
|
1023
|
+
* (`SwapsManagementService.cs:128`), so any Arkade SDK implementing this
|
|
1024
|
+
* scheme reproduces the same preimage and can recover an artifact another
|
|
1025
|
+
* SDK created. Deliberately distinct from the Boltz tag: a shared tag would
|
|
1026
|
+
* make one wallet key derive one preimage for both corridors.
|
|
897
1027
|
*/
|
|
898
|
-
declare
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1028
|
+
declare const ARKADE_SWAP_PREIMAGE_TAG = "Arkade-RFQ-Preimage-v1";
|
|
1029
|
+
/**
|
|
1030
|
+
* Domain separator for the **salted** preimage derivation, used when the
|
|
1031
|
+
* descriptor repeats across artifacts.
|
|
1032
|
+
*
|
|
1033
|
+
* Corridor-generic where {@link ARKADE_SWAP_PREIMAGE_TAG} is not, and that
|
|
1034
|
+
* asymmetry is deliberate. The v1 tags must be per-corridor
|
|
1035
|
+
* (`Arkade-RFQ-Preimage-v1` here, NArk's `Arkade-Boltz-Preimage-v1` there)
|
|
1036
|
+
* because v1 pins its message index, so the tag is the only thing separating
|
|
1037
|
+
* two corridors that reach the same key. v2 mints a salt per artifact, so no
|
|
1038
|
+
* two artifacts share a message within a corridor, let alone across two — the
|
|
1039
|
+
* salt carries the separation, and the tag names the layer it belongs to.
|
|
1040
|
+
*/
|
|
1041
|
+
declare const ARKADE_SALTED_PREIMAGE_TAG = "Arkade-Contract-Preimage-Salted-v1";
|
|
1042
|
+
/**
|
|
1043
|
+
* `TAG ‖ xonly(32) ‖ u32le(index)` — the message that gets BIP-340 signed.
|
|
1044
|
+
*
|
|
1045
|
+
* Anchored on the canonical x-only key rather than the descriptor string: a
|
|
1046
|
+
* restore reconstructs a bare descriptor that serialises differently from the
|
|
1047
|
+
* signing descriptor used at creation, and only the key agrees across both.
|
|
1048
|
+
*/
|
|
1049
|
+
declare function buildPreimageMessage(xonly: Uint8Array, index: number): Uint8Array;
|
|
1050
|
+
/**
|
|
1051
|
+
* `TAG ‖ xonly(32) ‖ salt(32)` — the salted message that gets BIP-340 signed.
|
|
1052
|
+
*
|
|
1053
|
+
* The salt replaces v1's pinned index as the source of per-artifact
|
|
1054
|
+
* uniqueness, which is what lets a key that repeats across artifacts still
|
|
1055
|
+
* derive a distinct preimage for each. It is public: knowing it yields nothing
|
|
1056
|
+
* without the seed.
|
|
1057
|
+
*/
|
|
1058
|
+
declare function buildSaltedPreimageMessage(xonly: Uint8Array, salt: Uint8Array): Uint8Array;
|
|
1059
|
+
/**
|
|
1060
|
+
* True iff `descriptor` names one artifact — an HD child. A bare `tr(pubkey)`
|
|
1061
|
+
* is the same key every time it is handed out, so anything deriving
|
|
1062
|
+
* per-artifact secrets must branch on this, never on the wallet's type.
|
|
1063
|
+
*/
|
|
1064
|
+
declare function isPerArtifactDescriptor(descriptor: string): boolean;
|
|
1065
|
+
/** A key the wallet provisioned for a contract we must be able to spend. */
|
|
1066
|
+
interface ProvisionedKey {
|
|
1067
|
+
/** x-only pubkey to bind into the covenant. */
|
|
1068
|
+
pubkey: Uint8Array;
|
|
909
1069
|
/**
|
|
910
|
-
*
|
|
911
|
-
* @
|
|
912
|
-
* @returns The fee amount for this input
|
|
1070
|
+
* The wallet descriptor it came from. Public — persist it with the
|
|
1071
|
+
* artifact; {@link contractSigner} resolves it back to a signer.
|
|
913
1072
|
*/
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1073
|
+
descriptor: string;
|
|
1074
|
+
}
|
|
1075
|
+
/** A claim key together with the preimage it claims with. */
|
|
1076
|
+
interface ProvisionedClaimSecret extends ProvisionedKey {
|
|
1077
|
+
preimage: Uint8Array;
|
|
1078
|
+
/** `sha256(preimage)` — what the contract commits to. */
|
|
1079
|
+
paymentHash: Uint8Array;
|
|
921
1080
|
/**
|
|
922
|
-
*
|
|
923
|
-
* @
|
|
924
|
-
*
|
|
1081
|
+
* The salt {@link preimage} was derived from, when it came from the salted
|
|
1082
|
+
* arm. **Public** — the opposite of {@link preimage} above: persist it with
|
|
1083
|
+
* the artifact in the clear, because without it a wallet holding the seed
|
|
1084
|
+
* still cannot re-derive P.
|
|
1085
|
+
*
|
|
1086
|
+
* Absent on the other two arms: an HD child descriptor already names one
|
|
1087
|
+
* artifact, and a stored preimage needs no derivation input.
|
|
925
1088
|
*/
|
|
926
|
-
|
|
1089
|
+
preimageSalt?: Uint8Array;
|
|
927
1090
|
/**
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
1091
|
+
* Persist `preimage` with the artifact: this wallet cannot re-derive it.
|
|
1092
|
+
* True when the caller supplied P, or when the signer cannot sign
|
|
1093
|
+
* deterministically. When false the preimage re-derives from the seed —
|
|
1094
|
+
* given {@link preimageSalt}, where there is one — and nothing secret
|
|
1095
|
+
* needs to be stored.
|
|
931
1096
|
*/
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
1097
|
+
mustPersistPreimage: boolean;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* The key that spends a leg we fund — the refund key of an HTLC, the user key
|
|
1101
|
+
* of a covenant's cancel path.
|
|
1102
|
+
*
|
|
1103
|
+
* The returned `pubkey` is taken from a signer the wallet produced, never
|
|
1104
|
+
* from the descriptor string alone. That is the difference between an
|
|
1105
|
+
* invariant and a comment: deriving the leaf key is pure parsing and would
|
|
1106
|
+
* succeed just as well for a key this wallet cannot sign for — a descriptor
|
|
1107
|
+
* allocated by a worker rebound to another identity, a record restored onto
|
|
1108
|
+
* the wrong seed — and the covenant would bind it, the leg would fund, and
|
|
1109
|
+
* the failure would surface at refund time with the money already committed.
|
|
1110
|
+
* Throws {@link ForeignDescriptorError} instead, before there is a quote.
|
|
1111
|
+
*
|
|
1112
|
+
* On an HD wallet this consumes an index even if the artifact is never built,
|
|
1113
|
+
* and a swap index never becomes a funded receive contract, so a long run of
|
|
1114
|
+
* them widens the gap a seed-only restore scan sees.
|
|
1115
|
+
*/
|
|
1116
|
+
declare function provisionRefundKey(wallet: IWallet): Promise<ProvisionedKey>;
|
|
1117
|
+
/**
|
|
1118
|
+
* The key that spends a leg we claim, plus the preimage that unlocks it.
|
|
1119
|
+
*
|
|
1120
|
+
* Pass `opts.preimage` to bring your own 32-byte P; it comes back verbatim
|
|
1121
|
+
* with `mustPersistPreimage` set, since the wallet cannot re-derive what it
|
|
1122
|
+
* did not choose.
|
|
1123
|
+
*
|
|
1124
|
+
* Three arms, and which one a wallet lands in is the whole of this function:
|
|
1125
|
+
*
|
|
1126
|
+
* 1. **Caller-supplied P.** Returned unchanged, `mustPersistPreimage: true`.
|
|
1127
|
+
* 2. **Per-artifact descriptor** (an HD child). Derives from the key alone at
|
|
1128
|
+
* the pinned index. Nothing at rest. Raises rather than falling through if
|
|
1129
|
+
* the signer cannot sign deterministically — an HD descriptor whose wallet
|
|
1130
|
+
* refuses is a broken wallet, not a fallback case.
|
|
1131
|
+
* 3. **Anything else** — a static wallet's `tr(pubkey)`, or a constant
|
|
1132
|
+
* descriptor from a custom provider. Mints a public per-artifact salt and
|
|
1133
|
+
* derives from it, so a key that repeats still yields a distinct P. Only
|
|
1134
|
+
* this arm falls back to a stored random preimage, and only when the signer
|
|
1135
|
+
* refuses — which is discovered by deriving, never by probing.
|
|
1136
|
+
*/
|
|
1137
|
+
declare function provisionClaimSecret(wallet: IWallet, opts?: {
|
|
1138
|
+
preimage?: Uint8Array;
|
|
1139
|
+
}): Promise<ProvisionedClaimSecret>;
|
|
1140
|
+
/**
|
|
1141
|
+
* The signer for a provisioned descriptor, verified to actually be that
|
|
1142
|
+
* descriptor's key.
|
|
1143
|
+
*
|
|
1144
|
+
* The verification is a public-key equality, never a wallet-type probe: a
|
|
1145
|
+
* wallet that answers with the wrong key — another seed's, after a restore
|
|
1146
|
+
* mix-up — would sign happily, and the failure would surface only as a
|
|
1147
|
+
* counterparty rejection or a dead script.
|
|
1148
|
+
*
|
|
1149
|
+
* Know its limit. It catches a wallet that substitutes its *baseline*
|
|
1150
|
+
* identity, which is the failure this exists for. It cannot catch one that
|
|
1151
|
+
* returns a descriptor-scoped identity built over the same descriptor, since
|
|
1152
|
+
* such an identity reads its pubkey back out of the descriptor string and the
|
|
1153
|
+
* comparison becomes a tautology. What rules that case out is
|
|
1154
|
+
* {@link resolveDescriptorSigner}'s `isOurs` test, which both shipped wallets
|
|
1155
|
+
* resolve through — so this is the backstop for a hand-rolled `IWallet`, not
|
|
1156
|
+
* the primary guarantee.
|
|
1157
|
+
*/
|
|
1158
|
+
declare function contractSigner(wallet: IWallet, descriptor: string): Promise<Identity>;
|
|
1159
|
+
/**
|
|
1160
|
+
* A wallet that holds a contract's key but cannot sign with it: a watch-only
|
|
1161
|
+
* identity, or a remote signer whose transport is absent.
|
|
1162
|
+
*
|
|
1163
|
+
* Distinct from {@link ForeignDescriptorError} because the remedy differs —
|
|
1164
|
+
* that one says "wrong wallet", this one says "this wallet, without its
|
|
1165
|
+
* signer". Raised at provisioning as well as at signing, so a wallet that
|
|
1166
|
+
* could never spend the leg finds out before it funds one.
|
|
1167
|
+
*/
|
|
1168
|
+
declare class WalletCannotSignError extends Error {
|
|
1169
|
+
readonly descriptor: string;
|
|
1170
|
+
readonly name = "WalletCannotSignError";
|
|
1171
|
+
constructor(descriptor: string);
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* The preimage for a provisioned descriptor: `opts.stored` when the artifact
|
|
1175
|
+
* kept one, otherwise re-derived from the seed.
|
|
1176
|
+
*
|
|
1177
|
+
* Resolves in one precedence order, mirroring the arms
|
|
1178
|
+
* {@link provisionClaimSecret} chose between:
|
|
1179
|
+
*
|
|
1180
|
+
* 1. `opts.stored` — a caller-supplied P, or one from a wallet that could not
|
|
1181
|
+
* derive. Whatever the wallet can do now, a stored P is the artifact's.
|
|
1182
|
+
* 2. a per-artifact descriptor — derive at the pinned index.
|
|
1183
|
+
* 3. `opts.salt` — derive from the salted message.
|
|
1184
|
+
* 4. otherwise throw: a repeating descriptor with neither a stored preimage
|
|
1185
|
+
* nor a salt has nothing to derive from that would not collide.
|
|
1186
|
+
*/
|
|
1187
|
+
declare function contractPreimage(wallet: IWallet, descriptor: string, opts?: {
|
|
1188
|
+
stored?: Uint8Array;
|
|
1189
|
+
salt?: Uint8Array;
|
|
1190
|
+
}): Promise<Uint8Array>;
|
|
1191
|
+
/** An identity that signs with `aux_rand = 0`, which is what makes the
|
|
1192
|
+
* derivation reproducible. `DescriptorIdentity` satisfies it, and throws
|
|
1193
|
+
* rather than degrading to a random-aux signer. */
|
|
1194
|
+
interface DeterministicSigner extends ReadonlyIdentity {
|
|
1195
|
+
/**
|
|
1196
|
+
* Implementors wrapping a remote: throw only for a refusal that will
|
|
1197
|
+
* repeat. {@link provisionClaimSecret} reads a transient throw — a network
|
|
1198
|
+
* hiccup, an extension timeout — as "this signer cannot derive", and falls
|
|
1199
|
+
* back to a stored random preimage for the artifact's whole life. That is
|
|
1200
|
+
* claimable, but it persists a secret the seed would otherwise have
|
|
1201
|
+
* replaced, and nothing surfaces the downgrade to the caller.
|
|
940
1202
|
*/
|
|
941
|
-
|
|
1203
|
+
signSchnorrDeterministic(messageHash: Uint8Array): Promise<Uint8Array>;
|
|
942
1204
|
}
|
|
1205
|
+
declare function isDeterministicSigner(value: unknown): value is DeterministicSigner;
|
|
1206
|
+
/**
|
|
1207
|
+
* Claim a restored artifact's index so a later allocation cannot reissue it —
|
|
1208
|
+
* which would derive that artifact's preimage a second time, for a different
|
|
1209
|
+
* one.
|
|
1210
|
+
*
|
|
1211
|
+
* Monotonic, and a no-op wherever there is no index to reserve — a shared-key
|
|
1212
|
+
* descriptor, or another seed's artifact. Restores iterate whole histories, so
|
|
1213
|
+
* an artifact this wallet has nothing to adopt for must not abort the loop.
|
|
1214
|
+
*
|
|
1215
|
+
* Telling "another seed's" apart from a failure needs
|
|
1216
|
+
* {@link HDWalletCapable.signerForDescriptor}, so an allocation-capable wallet
|
|
1217
|
+
* that does not also implement it gets only the watermark call's own untyped
|
|
1218
|
+
* refusal, and a foreign artifact reaches the caller as an error rather than a
|
|
1219
|
+
* skip. Every wallet shipped here implements both.
|
|
1220
|
+
*/
|
|
1221
|
+
declare function adoptContractDescriptor(wallet: IWallet, descriptor: string): Promise<void>;
|
|
943
1222
|
|
|
944
1223
|
type RequestEnvelope = {
|
|
945
1224
|
tag: string;
|
|
@@ -2401,6 +2680,8 @@ type RequestSend = RequestEnvelope & {
|
|
|
2401
2680
|
type: "SEND";
|
|
2402
2681
|
payload: {
|
|
2403
2682
|
recipients: [Recipient, ...Recipient[]];
|
|
2683
|
+
/** @see SendParams.selectedVtxos */
|
|
2684
|
+
selectedVtxos?: ExtendedVirtualCoin[];
|
|
2404
2685
|
};
|
|
2405
2686
|
};
|
|
2406
2687
|
type ResponseSend = ResponseEnvelope & {
|
|
@@ -3024,11 +3305,18 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3024
3305
|
/**
|
|
3025
3306
|
* @see HDWalletCapable.signerForDescriptor
|
|
3026
3307
|
*
|
|
3027
|
-
* Runs page-side: an Identity cannot cross the message bus, and it does
|
|
3028
|
-
* not need to — the page owns the signing identity, and
|
|
3029
|
-
* no allocation state.
|
|
3030
|
-
*
|
|
3308
|
+
* Runs page-side: an `Identity` cannot cross the message bus, and it does
|
|
3309
|
+
* not need to — the page owns the signing identity, and resolving a
|
|
3310
|
+
* descriptor reads no allocation state. Shares
|
|
3311
|
+
* {@link resolveDescriptorSigner} with {@link Wallet.signerForDescriptor}
|
|
3312
|
+
* so the two sides of the bus cannot answer differently for one
|
|
3031
3313
|
* descriptor.
|
|
3314
|
+
*
|
|
3315
|
+
* No provider is passed, and none is needed: `HDDescriptorProvider`'s
|
|
3316
|
+
* `isOurs` and signing members all delegate to the identity, which the
|
|
3317
|
+
* page holds. Building one here would only add a page-side read of the
|
|
3318
|
+
* wallet state the worker allocates from — shared mutable state on a path
|
|
3319
|
+
* that has no business touching it.
|
|
3032
3320
|
*/
|
|
3033
3321
|
signerForDescriptor(descriptor: string): Promise<Identity>;
|
|
3034
3322
|
sendBitcoin(params: SendBitcoinParams): Promise<string>;
|
|
@@ -3047,7 +3335,7 @@ declare class ServiceWorkerWallet extends ServiceWorkerReadonlyWallet implements
|
|
|
3047
3335
|
restore(opts?: {
|
|
3048
3336
|
gapLimit?: number;
|
|
3049
3337
|
}): Promise<void>;
|
|
3050
|
-
send(...
|
|
3338
|
+
send(...args: [SendParams] | [Recipient, ...Recipient[]]): Promise<string>;
|
|
3051
3339
|
getDelegateManager(): Promise<IDelegateManager | undefined>;
|
|
3052
3340
|
/** @deprecated alias for @see ServiceWorkerWallet.getDelegateManager */
|
|
3053
3341
|
getDelegatorManager(): Promise<IDelegateManager | undefined>;
|
|
@@ -5804,4 +6092,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
5804
6092
|
burn(params: BurnParams): Promise<string>;
|
|
5805
6093
|
}
|
|
5806
6094
|
|
|
5807
|
-
export { ARKADE_MAGIC, Activity, ActivityRegistry, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, ChainTx, Coin, ConditionWitness, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, OffchainInput, type OffchainTx, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, WsElectrumChainSource, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, btcTarget, buildForfeitTx, buildOffchainTx, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, createAssetPacket, createDefaultPaymentRouter, decodeArkContract, deriveDescriptorLeafCompressedPubKey, deserializeExitPackage, encodeArkContract, gateExclusion, gatedContracts, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, onchainRail, openDatabase, outpointExclusion, requiresMigration, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures };
|
|
6095
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, Activity, ActivityRegistry, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, ArkProvider, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, type ArkadeBatchInput, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, Asset, AssetDetails, AssetManager, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, ChainTx, Coin, ConditionWitness, type ConnectorTreeNode, Contract, ContractEvent, ContractRepository, ContractRepositoryImpl, ContractSyncState, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DelegatorNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, type DescriptorSigner, DescriptorSigningProviderMissingError, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, type EmulatorInfo, EmulatorPacket, type EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetVtxosFilter, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, IndexerProvider, Intent, IntentFeeConfig, IntentFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, type MigrationStatus, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, OffchainInput, type OffchainTx, OnchainInput, OnchainProvider, OnchainWallet, Outpoint, P2A, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, RestEmulatorProvider, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignerSession, SignerStatus, SingleKey, Status, StorageConfig, TapLeafScript, Transaction, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, WalletRepositoryImpl, WsElectrumChainSource, adoptContractDescriptor, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertSendableAmount, assertSubmittedArkTxid, index$1 as asset, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, decodeArkContract, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, gateExclusion, gatedContracts, getArkPsbtFields, getMigrationStatus, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, normalizeToDescriptor, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, provisionClaimSecret, provisionRefundKey, requiresMigration, resolveSendAmount, rollbackMigration, sdkVersion, selectCoinsWithAsset, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, timelockToSequence, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ARKADE_MAGIC, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, Batch, ChainedTxType, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, PaymentRouter, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deserializeExitPackage, encodeArkContract, gateExclusion, gatedContracts, getMigrationStatus, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isCooperativelyMigratable, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, onchainRail, openDatabase, outpointExclusion, requiresMigration, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveSendAmount, rollbackMigration, selectCoinsWithAsset, selectVirtualCoins, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds } from './chunk-
|
|
2
|
-
export { ChainTxType, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-
|
|
3
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, isCltvSatisfied, isCsvSpendable } from './chunk-
|
|
4
|
-
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, buildVersion, canRecoverOnchain, canSpendOffchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getArkPsbtFields, getConfiguredEventSource, getNetwork, getSequence, hasTerminalSpend, isArkError, isEventSourceUnavailableError, isExpired, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-
|
|
1
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, Batch, ChainedTxType, ContractManager, ContractRepositoryImpl, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, ForeignDescriptorError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MUTINYNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, PaymentRouter, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, RestEmulatorProvider, SIGNET_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, adoptContractDescriptor, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deserializeExitPackage, encodeArkContract, gateExclusion, gatedContracts, getMigrationStatus, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, logExcludedVtxos, makeHandle, matchServerCheckpoints, migrateWalletRepository, onchainRail, openDatabase, outpointExclusion, outpointReasons, provisionClaimSecret, provisionRefundKey, requiresMigration, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveDescriptorSigner, resolveSendAmount, rollbackMigration, selectCoinsWithAsset, selectVirtualCoins, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds } from './chunk-2IZW6AEK.js';
|
|
2
|
+
export { ChainTxType, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-RMBI6P4N.js';
|
|
3
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor } from './chunk-L7S5KC5B.js';
|
|
4
|
+
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, buildVersion, canRecoverOnchain, canSpendOffchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getArkPsbtFields, getConfiguredEventSource, getNetwork, getSequence, hasTerminalSpend, isArkError, isEventSourceUnavailableError, isExpired, isPastExpiry, isRecoverable, isRetryableProviderError, isSpendable, isVirtualCoin, maybeArkError, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence } from './chunk-URT2RVGB.js';
|
|
5
5
|
import './chunk-NSBPE2FW.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|