@arkade-os/sdk 0.5.3 → 0.5.4
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/README.md +36 -34
- package/dist/adapters/expo.cjs +9 -5
- package/dist/adapters/expo.d.cts +11 -7
- package/dist/adapters/expo.d.ts +11 -7
- package/dist/adapters/expo.js +3 -3
- package/dist/{asyncStorageTaskQueue-B3U5gQ-i.d.ts → asyncStorageTaskQueue-DHMIxY04.d.ts} +2 -2
- package/dist/{asyncStorageTaskQueue-C9PkPcW_.d.cts → asyncStorageTaskQueue-DTBa8EH7.d.cts} +2 -2
- package/dist/{chunk-P7B4LQ3H.js → chunk-6CUP6ZIF.js} +4 -4
- package/dist/{chunk-P7B4LQ3H.js.map → chunk-6CUP6ZIF.js.map} +1 -1
- package/dist/{chunk-OPX2HRWM.js → chunk-AG4TFD6F.js} +137 -59
- package/dist/chunk-AG4TFD6F.js.map +1 -0
- package/dist/{chunk-5WRA66RV.cjs → chunk-B6VNKGIH.cjs} +10 -10
- package/dist/chunk-B6VNKGIH.cjs.map +1 -0
- package/dist/{chunk-6FL4N4S2.js → chunk-BTRCN4JJ.js} +22 -19
- package/dist/chunk-BTRCN4JJ.js.map +1 -0
- package/dist/{chunk-ZPF4I3K2.cjs → chunk-DNITZVNG.cjs} +28 -47
- package/dist/chunk-DNITZVNG.cjs.map +1 -0
- package/dist/{chunk-BYPBVHVA.cjs → chunk-E6OOJEHL.cjs} +49 -49
- package/dist/{chunk-BYPBVHVA.cjs.map → chunk-E6OOJEHL.cjs.map} +1 -1
- package/dist/{chunk-OUTWUYJ4.cjs → chunk-F3FAE7VJ.cjs} +769 -619
- package/dist/chunk-F3FAE7VJ.cjs.map +1 -0
- package/dist/{chunk-KW7ZEWYS.cjs → chunk-GHUUT54D.cjs} +140 -58
- package/dist/chunk-GHUUT54D.cjs.map +1 -0
- package/dist/{chunk-Y4BL3YYX.js → chunk-MWVAWFX6.js} +4 -4
- package/dist/chunk-MWVAWFX6.js.map +1 -0
- package/dist/{chunk-T7C3E2HL.js → chunk-TUOLZBNC.js} +19 -39
- package/dist/chunk-TUOLZBNC.js.map +1 -0
- package/dist/{chunk-ZMSM3NOH.cjs → chunk-WXNSISXK.cjs} +37 -34
- package/dist/chunk-WXNSISXK.cjs.map +1 -0
- package/dist/{chunk-HAQAWBYG.js → chunk-ZJHLLDBP.js} +283 -136
- package/dist/chunk-ZJHLLDBP.js.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +3 -3
- package/dist/contracts/handlers/index.d.ts +3 -3
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-ByfKszb6.d.cts → delegate-f4_t864Z.d.cts} +1 -1
- package/dist/{delegate-Cd28gxpM.d.ts → delegate-xrSBNybC.d.ts} +1 -1
- package/dist/{index-DgH_0j14.d.cts → index-BJDz15ms.d.ts} +5 -5
- package/dist/{index-B6X2E7W_.d.ts → index-BjiVGtp8.d.cts} +5 -5
- package/dist/{index-BURzbRup.d.ts → index-DRwe0UDN.d.cts} +182 -114
- package/dist/{index-BURzbRup.d.cts → index-DRwe0UDN.d.ts} +182 -114
- package/dist/index.cjs +333 -313
- package/dist/index.d.cts +66 -44
- package/dist/index.d.ts +66 -44
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +65 -36
- package/dist/repositories/realm/index.cjs.map +1 -1
- package/dist/repositories/realm/index.d.cts +7 -3
- package/dist/repositories/realm/index.d.ts +7 -3
- package/dist/repositories/realm/index.js +35 -6
- package/dist/repositories/realm/index.js.map +1 -1
- package/dist/repositories/sqlite/index.cjs +176 -110
- package/dist/repositories/sqlite/index.cjs.map +1 -1
- package/dist/repositories/sqlite/index.d.cts +23 -13
- package/dist/repositories/sqlite/index.d.ts +23 -13
- package/dist/repositories/sqlite/index.js +148 -83
- package/dist/repositories/sqlite/index.js.map +1 -1
- package/dist/{taskRunner-i56-drQV.d.cts → taskRunner-BPPU-YHG.d.cts} +4 -4
- package/dist/{taskRunner-BaNCSxqK.d.ts → taskRunner-CDlNeth0.d.ts} +4 -4
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.cjs.map +1 -1
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +7 -7
- package/dist/wallet/expo/background.js.map +1 -1
- package/dist/wallet/expo/index.cjs +15 -15
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +6 -6
- package/dist/wallet/expo/index.d.ts +6 -6
- package/dist/wallet/expo/index.js +6 -6
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/{wallet-BjQugVUt.d.cts → wallet-Oc3Wd5gv.d.ts} +22 -18
- package/dist/{wallet-BnmhohgZ.d.ts → wallet-jVBDQl6R.d.cts} +22 -18
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-5WRA66RV.cjs.map +0 -1
- package/dist/chunk-6FL4N4S2.js.map +0 -1
- package/dist/chunk-HAQAWBYG.js.map +0 -1
- package/dist/chunk-KW7ZEWYS.cjs.map +0 -1
- package/dist/chunk-OPX2HRWM.js.map +0 -1
- package/dist/chunk-OUTWUYJ4.cjs.map +0 -1
- package/dist/chunk-T7C3E2HL.js.map +0 -1
- package/dist/chunk-Y4BL3YYX.js.map +0 -1
- package/dist/chunk-ZMSM3NOH.cjs.map +0 -1
- package/dist/chunk-ZPF4I3K2.cjs.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, b as ReceiveRotatorFactory, c as ReceiveRotatorBootOpts, d as ReceiveRotatorBoot, P as ProviderConnectionState, H as HDWalletCapable, a as HDAllocationCapable, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-
|
|
4
|
-
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashOperatorMismatchError, l as ArkadeCashUnclaimedReason, m as ArkadeCashUnclaimedVtxo, n as ArkadeCashVtxoRef, o as BoardingUtxoGroup, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as ProviderKind, r as ProviderUnavailableError, s as REGTEST_MIN_BATCH_EXPIRY_SECONDS, S as ServerInfoSource, t as ServerResponseMismatchError, V as VtxoReservation, u as VtxoReservedError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as defaultBatchExpiryPolicy, z as isAddressAllocationCapable, C as isArkError, E as isHDAllocationCapable, G as isHDWalletCapable, J as maybeArkError, L as resolveBatchExpiryPolicy, N as resolveDescriptorSigner, O as selectVirtualCoins, Q as signingDescriptorIndex, T as strictSigningDescriptorIndex, U as waitForIncomingFunds } from './wallet-
|
|
5
|
-
import { P as Program, A as
|
|
6
|
-
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-
|
|
7
|
-
import { D as DefaultVtxo } from './delegate-
|
|
8
|
-
export { a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { aj as ReadonlyIdentity, a as Identity, a6 as DescriptorSigningRequest, a7 as Transaction, aE as SignerSession, a5 as DescriptorProvider, aK as IntentFeeConfig, aL as OffchainInput, aM as FeeAmount, aN as OnchainInput, aO as FeeOutput, _ as IntentRepository, $ as ArkIntent, a0 as IntentPageFilter, P as PageRequest, H as PageResult, F as Outpoint, a1 as VirtualTxRepository, a2 as VirtualTx, a3 as VtxoBranch, W as WalletRepository, X as AtomicWalletState, D as ExtendedVirtualCoin, J as ScriptVtxoCursor, K as ScriptVtxoPageOptions, L as StoredVtxo, M as VtxoRepositoryKey, E as ExtendedCoin, Q as TransactionHistoryPageFilter, U as TransactionHistoryPageCursor, h as ArkTransaction, Y as WalletState, B as Contract, C as ContractRepository, Z as ContractFilter, I as IWallet, O as OperatorProvider, at as NetworkName, ak as OnchainProvider, aC as SettlementConfig, aP as ContractWatcherConfig, aQ as Asset, R as Recipient, aR as FeeInfo, o as SettlementEvent, N as NormalizedExtendedVirtualCoin, S as SettleParams, G as GetArkadeInfoOptions, aS as GetVtxosOptions, aT as PaginationOptions, f as GetVtxosFilter, g as GetSpendableVtxosFilter, aU as CreateContractParams, aV as GetContractsFilter, z as VirtualCoin, aW as GetSpendablePathsOptions, aX as GetAllSpendingPathsOptions, l as GetNewAddressesOptions, aY as InputExpiryFloor, aZ as IssuanceParams, a_ as ReissuanceParams, a$ as BurnParams, b0 as RenewVtxosOptions, A as ArkadeInfo, b1 as NormalizedVtxoPage, c as ArkadeReader, d as ArkadeBroadcaster, e as WalletBalance, aq as ContractSyncState, aw as ContractWithVtxos, b2 as WatchedScript, b3 as PathSelection, m as NewAddress, b4 as ContractEvent, b5 as AssetDetails, b6 as IssuanceResult, b7 as DelegateInfo, b8 as MigrationGlobalSkipReason, b9 as MigrationLegSkipReason, ba as SignerStatus, ai as IReadonlyWallet, i as ActivityRegistry, ap as IReadonlyAssetManager, bb as StorageConfig, j as Activity, k as IContractManager, q as IAssetManager, p as SendParams, n as IDelegateManager, bc as IVtxoManager, a8 as Network, ay as Coin, bd as SendBitcoinParams, be as ExplorerTransaction, aF as SignedIntent, aG as Intent, bf as TreeNonces, bg as TreePartialSigs, T as TxNotificationEvent, aH as SignedProof, aI as Proof, bh as PendingTx, y as TapLeafScript, bi as EncodedVtxoScript, aB as CSVMultisigTapscript, x as RelativeTimelock, bj as EmulatorProvider, V as VtxoScript, bk as Status, av as ArkAddress, bl as ChainTx, w as IndexerProvider, ab as TxTree, bm as ArkadeService, bn as ContractVtxoEvent, bo as ExtendedContractVtxo, bp as ResolvedArkadeService, bq as resolveArkadeService, br as PathContext } from './index-DRwe0UDN.js';
|
|
2
|
+
export { bs as ActivityIntent, bt as ActivityResolver, bu as ArkIntentState, v as ArkProvider, bv as ArkTapscript, bw as AssetMetadata, bx as BITCOIN_EMULATOR_PUBKEY, by as BaseWalletConfig, af as BatchFailedEvent, ad as BatchFinalizationEvent, ae as BatchFinalizedEvent, bz as BatchInfo, bA as BatchSignableIdentity, a9 as BatchStartedEvent, bB as CLTVMultisigTapscript, bC as CandidateDeps, bD as ChainTxType, a4 as ChainedTxType, bE as CommitmentTx, bF as ConditionCSVMultisigTapscript, bG as ConditionMultisigTapscript, bH as ConnectorTreeNode, bI as ContractBalance, bJ as ContractEventCallback, bK as ContractHandler, az as ContractManager, aA as ContractManagerConfig, bL as ContractState, bM as ContractVtxo, bN as ContractWatcher, bO as ContractWatcherEventCallback, bP as DEFAULT_ARKADE_EMULATOR_URL, bQ as DEFAULT_VTXO_PAGE_SIZE, bR as DelegateManagerImpl, bS as DelegateOptions, al as DelegateProvider, bT as DeprecatedSignerMigrationReport, bU as DeprecatedSignerReport, bV as DigestMismatchError, bW as Discoverable, bX as DiscoveredContract, bY as DiscoveryDeps, bZ as ESPLORA_URL, b_ as EmulatorInfo, as as EsploraProvider, b$ as EventSourceCapable, c0 as EventSourceFactory, c1 as EventSourceLike, c2 as EventSourceUnavailableError, an as ExitCaptureMode, c3 as ExitChainResolver, ao as ExitDataSource, c4 as GroupMembership, c5 as HandlerError, c6 as INTENT_TERMINAL_STATES, c7 as IndexerTxType, c8 as IntentCoin, c9 as IntentFilter, ca as KnownMetadata, cb as MAX_PAGE_SIZE, cc as MUTINYNET_EMULATOR_PUBKEY, cd as MigrateDeprecatedSignerOptions, ce as MigrationLegReport, cf as MigrationVtxoRef, cg as MultisigTapscript, ch as NewAddressType, ci as Nonces, au as OperatorInfo, cj as Output, ck as PageResponse, cl as PartialSig, cm as PrevTxSource, cn as PrevTxUnavailableError, co as ProofInput, cp as ProviderClass, cq as REGTEST_EMULATOR_PUBKEY, cr as RawTxSource, am as ReadonlyWalletConfig, ar as RecipientArkadeAddressContext, cs as RenewalSplit, ct as RenewalSplitContext, cu as RestArkProvider, cv as RestDelegateProvider, cw as RestEmulatorProvider, s as RestIndexerProvider, r as RestOperatorProvider, cx as ScanContractsOptions, cy as ScanResult, cz as ScheduledSession, cA as SettlementEventType, cB as SignRequest, cC as SignerClassification, cD as SignerSet, t as SubscriptionEvent, cE as SubscriptionFilter, u as SubscriptionHeartbeat, cF as SubscriptionResponse, cG as SweepTxNotification, cH as TapLeaves, cI as TapTreeCoder, cJ as TapscriptType, aJ as TimeHeight, ac as TreeNoncesEvent, ah as TreeSignatureEvent, cK as TreeSignerSession, aa as TreeSigningStartedEvent, ag as TreeTxEvent, cL as Tx, cM as TxHistoryRecord, cN as TxKey, cO as TxNotification, cP as TxTag, cQ as TxTreeNode, cR as TxType, cS as Vtxo, cT as VtxoChain, aD as VtxoManager, cU as VtxoType, b as WalletConfig, cV as WalletMode, cW as WithPrevTx, cX as assertAllowedSighashTypes, cY as assertPageRequest, cZ as assertRecipientArkadeAddress, c_ as assetMintResolver, c$ as attachPrevArkTxs, d0 as attachPrevoutTxs, d1 as boardingResolver, d2 as canRecoverOnchain, d3 as canSpendOffchain, d4 as canSweepOnchain, d5 as classifyAgainstSignerSet, d6 as classifyContractSigner, d7 as collabExitResolver, d8 as collectContracts, d9 as collectIntents, da as collectPages, db as collectScriptVtxos, dc as collectTransactionHistory, dd as collectUtxos, de as collectVtxos, df as configureEventSource, dg as createDefaultActivityRegistry, dh as createExitChainResolver, di as decodeTapscript, dj as defaultEmulatorPubkey, dk as getAllNormalizedVtxos, dl as getConfiguredEventSource, dm as getNetwork, dn as getNormalizedVtxos, dp as getRandomId, dq as getSequence, dr as hasCandidates, ds as isBatchSignable, dt as isContractVtxoEvent, du as isCooperativelyMigratable, dv as isDiscoverable, dw as isEventSourceUnavailableError, dx as isPastExpiry, dy as isSigningIdentity, dz as isSubdust, dA as isTerminalIntentState, dB as isVirtualCoin, dC as isVtxoExpiringSoon, dD as isVtxoSpent, dE as iteratePages, dF as networkFromArkadeInfo, dG as networkFromOperatorInfo, dH as networks, dI as pageResult, dJ as resolveEmulatorPubkey, dK as resolveEventSource, dL as resolvePrevTxs, dM as scriptFromTapLeafScript, dN as signerSetFromInfo, dO as toOffchainInputFeeParams, dP as toXOnlySignerHex, dQ as withPrevTxs } from './index-DRwe0UDN.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, A as AddressAllocationCapable, B as BatchExpiryPolicy, e as Batch } from './wallet-Oc3Wd5gv.js';
|
|
4
|
+
export { f as AbortError, g as ArkError, h as ArkErrorName, i as ArkadeCashClaimResult, j as ArkadeCashCreateError, k as ArkadeCashOperatorMismatchError, l as ArkadeCashUnclaimedReason, m as ArkadeCashUnclaimedVtxo, n as ArkadeCashVtxoRef, o as BoardingUtxoGroup, D as DEFAULT_MIN_BATCH_EXPIRY_SECONDS, F as ForeignDescriptorError, I as IncomingFunds, p as IndexedDBWalletRepository, K as KeyringDescriptorProvider, M as MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, q as ProviderKind, r as ProviderUnavailableError, s as REGTEST_MIN_BATCH_EXPIRY_SECONDS, S as ServerInfoSource, t as ServerResponseMismatchError, V as VtxoReservation, u as VtxoReservedError, v as WaitForIncomingFundsOptions, w as WalletCannotAllocateAddressError, x as assertValidBatchExpiry, y as defaultBatchExpiryPolicy, z as isAddressAllocationCapable, C as isArkError, E as isHDAllocationCapable, G as isHDWalletCapable, J as maybeArkError, L as resolveBatchExpiryPolicy, N as resolveDescriptorSigner, O as selectVirtualCoins, Q as signingDescriptorIndex, T as strictSigningDescriptorIndex, U as waitForIncomingFunds } from './wallet-Oc3Wd5gv.js';
|
|
5
|
+
import { P as Program, A as ArkadeArgValue, a as ArkadeProgramScript, b as ProgramKeys, c as ArkadeParamValue, d as ArkadeFunction, I as InputDef, e as ArkadeValueType, C as CompiledProgramFunction, f as ArkadeArgType, g as ArkadeContractParams, h as ArkadeSegment, i as AsmToken, j as InputRef, S as SUPPORTED_PROGRAM_VERSION, k as SignerRef, T as TapscriptSegment, l as TweakedSigner, U as UnsupportedProgramVersionError, W as WitnessRef, m as deserializeArkadeContractParams, p as parseArtifact, r as resolveAsm, s as serializeArkadeContractParams, n as stringifyArtifact, v as validateProgram, w as witnessRefToBytes } from './index-BJDz15ms.js';
|
|
6
|
+
export { o as ArkadeContractHandler, B as BoardingContractHandler, q as BoardingContractParams, D as DefaultContractHandler, t as DefaultContractParams, u as DelegateContractHandler, x as DelegateContractParams, V as VHTLC, y as VHTLCContractHandler, z as VHTLCContractParams, E as VHTLCV2ContractHandler, F as VHTLCV2ContractParams, G as contractHandlers } from './index-BJDz15ms.js';
|
|
7
|
+
import { D as DefaultVtxo } from './delegate-xrSBNybC.js';
|
|
8
|
+
export { a as DelegateVtxo } from './delegate-xrSBNybC.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';
|
|
@@ -497,6 +497,7 @@ declare class IndexedDBIntentRepository implements IntentRepository {
|
|
|
497
497
|
/**
|
|
498
498
|
* In-memory implementation of WalletRepository.
|
|
499
499
|
* Data is ephemeral and scoped to the instance.
|
|
500
|
+
* Atomic updates require structuredClone and cloneable state; they provide no durability.
|
|
500
501
|
*/
|
|
501
502
|
declare class InMemoryWalletRepository implements WalletRepository {
|
|
502
503
|
readonly version: 2;
|
|
@@ -504,6 +505,8 @@ declare class InMemoryWalletRepository implements WalletRepository {
|
|
|
504
505
|
private readonly utxosByAddress;
|
|
505
506
|
private readonly txsByAddress;
|
|
506
507
|
private walletState;
|
|
508
|
+
readonly atomicWalletState?: AtomicWalletState;
|
|
509
|
+
constructor();
|
|
507
510
|
getVtxosPage(address: string, page: PageRequest<Outpoint>): Promise<PageResult<ExtendedVirtualCoin, Outpoint>>;
|
|
508
511
|
saveVtxos(address: string, vtxos: ExtendedVirtualCoin[]): Promise<void>;
|
|
509
512
|
deleteVtxos(address: string): Promise<void>;
|
|
@@ -968,7 +971,7 @@ type ResponseEnvelope = {
|
|
|
968
971
|
broadcast?: boolean;
|
|
969
972
|
};
|
|
970
973
|
type MessageBusServices = {
|
|
971
|
-
arkProvider:
|
|
974
|
+
arkProvider: OperatorProvider;
|
|
972
975
|
wallet?: Wallet;
|
|
973
976
|
readonlyWallet: ReadonlyWallet;
|
|
974
977
|
};
|
|
@@ -1230,7 +1233,9 @@ declare function assembleBtcdTaprootTree(scripts: Bytes[]): TaprootTreeNode;
|
|
|
1230
1233
|
declare enum AssetInputType {
|
|
1231
1234
|
Unspecified = 0,
|
|
1232
1235
|
Local = 1,
|
|
1233
|
-
|
|
1236
|
+
/** @deprecated Use {@link AssetInputType.Proof}. */
|
|
1237
|
+
Intent = 2,
|
|
1238
|
+
Proof = 2
|
|
1234
1239
|
}
|
|
1235
1240
|
declare enum AssetRefType {
|
|
1236
1241
|
Unspecified = 0,
|
|
@@ -1401,17 +1406,17 @@ type AssetInputLocal = {
|
|
|
1401
1406
|
vin: number;
|
|
1402
1407
|
amount: bigint;
|
|
1403
1408
|
};
|
|
1404
|
-
type
|
|
1405
|
-
type: AssetInputType.
|
|
1409
|
+
type AssetInputProof = Pick<AssetInputLocal, "vin" | "amount"> & {
|
|
1410
|
+
type: AssetInputType.Proof;
|
|
1406
1411
|
txid: Uint8Array;
|
|
1407
1412
|
};
|
|
1408
1413
|
/**
|
|
1409
1414
|
* AssetInput represents an input of an asset group.
|
|
1410
1415
|
* a local input references a real transaction input and specify the amount in satoshis.
|
|
1411
|
-
*
|
|
1416
|
+
* a proof input references an external proof transaction. It is created by the operator to handle batch leaf transaction.
|
|
1412
1417
|
*/
|
|
1413
1418
|
declare class AssetInput {
|
|
1414
|
-
readonly input: AssetInputLocal |
|
|
1419
|
+
readonly input: AssetInputLocal | AssetInputProof;
|
|
1415
1420
|
private constructor();
|
|
1416
1421
|
/** Gets the transaction input index for an asset input, e.g. 0 */
|
|
1417
1422
|
get vin(): number;
|
|
@@ -1419,8 +1424,10 @@ declare class AssetInput {
|
|
|
1419
1424
|
get amount(): bigint;
|
|
1420
1425
|
/** Create a local asset input that points at a transaction input index. */
|
|
1421
1426
|
static create(vin: number, amount: bigint | number): AssetInput;
|
|
1422
|
-
/** Create
|
|
1423
|
-
static
|
|
1427
|
+
/** Create a proof-backed asset input referencing an external proof transaction. */
|
|
1428
|
+
static createProof(txid: string, vin: number, amount: bigint | number): AssetInput;
|
|
1429
|
+
/** @deprecated Use {@link createProof}. */
|
|
1430
|
+
static createIntent: typeof AssetInput.createProof;
|
|
1424
1431
|
/** Decode an asset input from its hex string form. */
|
|
1425
1432
|
static fromString(s: string): AssetInput;
|
|
1426
1433
|
/** Decode an asset input from its serialized bytes. */
|
|
@@ -1630,7 +1637,7 @@ declare class AssetGroup {
|
|
|
1630
1637
|
*
|
|
1631
1638
|
* @returns `true` when the group has an asset id and outputs exceed local inputs
|
|
1632
1639
|
* @remarks
|
|
1633
|
-
* Only local inputs contribute to the comparison;
|
|
1640
|
+
* Only local inputs contribute to the comparison; proof-backed inputs contribute `0` here.
|
|
1634
1641
|
*/
|
|
1635
1642
|
isReissuance(): boolean;
|
|
1636
1643
|
/**
|
|
@@ -1647,13 +1654,13 @@ declare class AssetGroup {
|
|
|
1647
1654
|
*/
|
|
1648
1655
|
validate(): void;
|
|
1649
1656
|
/**
|
|
1650
|
-
* Convert the group into its batch-leaf representation for the given
|
|
1657
|
+
* Convert the group into its batch-leaf representation for the given proof txid.
|
|
1651
1658
|
*
|
|
1652
|
-
* @param
|
|
1659
|
+
* @param proofTxid - Proof transaction id used to build the leaf input reference
|
|
1653
1660
|
* @returns Batch-leaf asset group
|
|
1654
|
-
* @see AssetInput.
|
|
1661
|
+
* @see AssetInput.createProof
|
|
1655
1662
|
*/
|
|
1656
|
-
toBatchLeafAssetGroup(
|
|
1663
|
+
toBatchLeafAssetGroup(proofTxid: Uint8Array): AssetGroup;
|
|
1657
1664
|
/**
|
|
1658
1665
|
* Encode the asset group to a hex string.
|
|
1659
1666
|
*
|
|
@@ -1722,8 +1729,8 @@ declare class Packet implements ExtensionPacket {
|
|
|
1722
1729
|
* type returns the TLV packet type tag. Implements ExtensionPacket interface.
|
|
1723
1730
|
*/
|
|
1724
1731
|
type(): number;
|
|
1725
|
-
/** Convert the packet into the batch-leaf form for a specific
|
|
1726
|
-
leafTxPacket(
|
|
1732
|
+
/** Convert the packet into the batch-leaf form for a specific proof transaction id. */
|
|
1733
|
+
leafTxPacket(proofTxid: Uint8Array): Packet;
|
|
1727
1734
|
/**
|
|
1728
1735
|
* serialize encodes the packet as raw bytes (varint group count + group data).
|
|
1729
1736
|
* Does NOT include OP_RETURN, Arkade magic bytes (`ARK`), or TLV type/length; those are
|
|
@@ -3748,12 +3755,12 @@ declare class ElectrumOnchainProvider implements OnchainProvider {
|
|
|
3748
3755
|
}
|
|
3749
3756
|
|
|
3750
3757
|
/**
|
|
3751
|
-
* Decorates an {@link
|
|
3758
|
+
* Decorates an {@link OperatorProvider}, caching {@link OperatorProvider.getInfo} for
|
|
3752
3759
|
* `ttlMs` (default 60s). Other provider methods pass through.
|
|
3753
3760
|
* Expired-cache refresh failures propagate; persisted wallet boot fallback
|
|
3754
3761
|
* lives in `arkInfoSnapshot`.
|
|
3755
3762
|
*/
|
|
3756
|
-
declare class
|
|
3763
|
+
declare class CachingOperatorProvider implements OperatorProvider {
|
|
3757
3764
|
private readonly inner;
|
|
3758
3765
|
private readonly ttlMs;
|
|
3759
3766
|
private cached?;
|
|
@@ -3762,7 +3769,7 @@ declare class CachingArkProvider implements ArkProvider {
|
|
|
3762
3769
|
/** Bumped on every event-driven cache write; see {@link getInfo}. */
|
|
3763
3770
|
private generation;
|
|
3764
3771
|
private readonly unsubscribe;
|
|
3765
|
-
constructor(inner:
|
|
3772
|
+
constructor(inner: OperatorProvider, ttlMs?: number);
|
|
3766
3773
|
/** Releases the inner provider's server-info subscription. */
|
|
3767
3774
|
dispose(): void;
|
|
3768
3775
|
get serverUrl(): string | undefined;
|
|
@@ -3781,9 +3788,13 @@ declare class CachingArkProvider implements ArkProvider {
|
|
|
3781
3788
|
submitSignedForfeitTxs(signedForfeitTxs: string[], signedCommitmentTx?: string): Promise<void>;
|
|
3782
3789
|
getEventStream(signal: AbortSignal, topics: string[]): AsyncIterableIterator<SettlementEvent>;
|
|
3783
3790
|
getTransactionsStream(signal: AbortSignal): AsyncIterableIterator<TxNotificationEvent>;
|
|
3784
|
-
getPendingTxs(intent:
|
|
3791
|
+
getPendingTxs(intent: SignedProof<Proof.GetPendingTxMessage>): Promise<PendingTx[]>;
|
|
3785
3792
|
onServerInfoChanged(listener: (info: ArkadeInfo) => void): () => void;
|
|
3786
3793
|
}
|
|
3794
|
+
/** @deprecated Use {@link CachingOperatorProvider}. */
|
|
3795
|
+
declare const CachingArkProvider: typeof CachingOperatorProvider;
|
|
3796
|
+
/** @deprecated Use {@link CachingOperatorProvider}. */
|
|
3797
|
+
type CachingArkProvider = CachingOperatorProvider;
|
|
3787
3798
|
|
|
3788
3799
|
type ArkTxInput = {
|
|
3789
3800
|
tapLeafScript: TapLeafScript;
|
|
@@ -3840,8 +3851,8 @@ declare function combineTapscriptSigs(signedTx: Transaction, originalTx: Transac
|
|
|
3840
3851
|
*/
|
|
3841
3852
|
declare function isValidArkAddress(address: string): boolean;
|
|
3842
3853
|
/**
|
|
3843
|
-
* Minimal
|
|
3844
|
-
* transaction. Both {@link
|
|
3854
|
+
* Minimal operator provider surface required to submit and finalize an offchain
|
|
3855
|
+
* transaction. Both {@link OperatorProvider} implementations satisfy it
|
|
3845
3856
|
* structurally, so declaring it here keeps this module free of a provider
|
|
3846
3857
|
* import (and of the dependency cycle that would create).
|
|
3847
3858
|
*/
|
|
@@ -3915,7 +3926,7 @@ interface VerifyServerSignatures {
|
|
|
3915
3926
|
* is controlled by a single key — the "thin signer" path.
|
|
3916
3927
|
*
|
|
3917
3928
|
* Needs no wallet, repository, or contract state: just an identity that can
|
|
3918
|
-
* sign, an
|
|
3929
|
+
* sign, an operator provider, the inputs (already carrying their spend leaf and tap
|
|
3919
3930
|
* tree), the outputs, and the server unroll script. Used by the ArkadeCash sweep
|
|
3920
3931
|
* to move bearer coins to the receiver's address without spinning up a full
|
|
3921
3932
|
* background-managed wallet on shared repositories.
|
|
@@ -4028,7 +4039,7 @@ declare const VtxoTaprootTree: ArkPsbtFieldCoder<Uint8Array>;
|
|
|
4028
4039
|
declare const ConditionWitness: ArkPsbtFieldCoder<Uint8Array[]>;
|
|
4029
4040
|
/**
|
|
4030
4041
|
* PrevArkTxField carries the serialized raw bitcoin tx of the previous Ark tx
|
|
4031
|
-
* spent by an input. Used by OP_INSPECTINPUTSCRIPTPUBKEY on
|
|
4042
|
+
* spent by an input. Used by OP_INSPECTINPUTSCRIPTPUBKEY on proofs and
|
|
4032
4043
|
* other contexts where the prevout pkScript must be looked up off-chain.
|
|
4033
4044
|
*
|
|
4034
4045
|
* Key: [0xde] || "prevarktx". Value: serialized wire.MsgTx (NOT a PSBT).
|
|
@@ -4072,7 +4083,7 @@ declare const VtxoTreeExpiry: ArkPsbtFieldCoder<{
|
|
|
4072
4083
|
* Supports P2TR (Taproot) signing and verification, P2WPKH verification,
|
|
4073
4084
|
* and legacy P2PKH verification (Bitcoin Core signmessage format).
|
|
4074
4085
|
*
|
|
4075
|
-
* Reuses the same toSpend/toSign transaction construction as
|
|
4086
|
+
* Reuses the same toSpend/toSign transaction construction as Proofs,
|
|
4076
4087
|
* but with the standard BIP-322 tagged hash ("BIP0322-signed-message")
|
|
4077
4088
|
* instead of the Arkade-specific tag.
|
|
4078
4089
|
*
|
|
@@ -4264,7 +4275,7 @@ type ArkadeExtendedVirtualCoin = ExtendedVirtualCoin & {
|
|
|
4264
4275
|
* silently treat as boarding and settle without a forfeit.
|
|
4265
4276
|
*/
|
|
4266
4277
|
type ArkadeBatchInput = ArkadeExtendedCoin | ArkadeExtendedVirtualCoin;
|
|
4267
|
-
declare function createArkadeBatchHandler(intentId: string, inputs: ArkadeBatchInput[], signer: Identity, signedProof: string, message:
|
|
4278
|
+
declare function createArkadeBatchHandler(intentId: string, inputs: ArkadeBatchInput[], signer: Identity, signedProof: string, message: Proof.RegisterMessage, session: SignerSession, arkProvider: OperatorProvider, emulator: EmulatorProvider, network: Network,
|
|
4268
4279
|
/**
|
|
4269
4280
|
* Expected recipients of the settlement, validated against the virtual
|
|
4270
4281
|
* output tree before co-signing it, and — when tree signing did not run —
|
|
@@ -4783,7 +4794,7 @@ declare const UnilateralExit: {
|
|
|
4783
4794
|
*
|
|
4784
4795
|
* Retryable:
|
|
4785
4796
|
* - {@link ProviderUnavailableError} — already-classified 5xx/429/unavailable
|
|
4786
|
-
* (see e.g. {@link https |
|
|
4797
|
+
* (see e.g. {@link https | RestOperatorProvider.getInfo}'s non-2xx branch);
|
|
4787
4798
|
* - {@link FetchError} — transport-level `fetch` rejection (DNS failure,
|
|
4788
4799
|
* connection refused, TLS/CORS), which also carries undici timeouts as its
|
|
4789
4800
|
* `cause`;
|
|
@@ -5446,16 +5457,24 @@ declare function programFromArtifact(artifact: ContractArtifact): Program;
|
|
|
5446
5457
|
* @module arkade/contract
|
|
5447
5458
|
*/
|
|
5448
5459
|
|
|
5460
|
+
/**
|
|
5461
|
+
* A scalar or whole struct/array value, flattened to dotted names (`owners.0.key`).
|
|
5462
|
+
* Struct fields are checked at runtime so interface types need no index signature.
|
|
5463
|
+
*/
|
|
5464
|
+
type ArkadeNestedValue = ArkadeArgValue | object;
|
|
5449
5465
|
/** The argument tuple of a function, derived from its declared `inputs`. */
|
|
5450
5466
|
type ArgsTuple<I extends readonly InputDef[]> = {
|
|
5451
5467
|
[K in keyof I]: ArkadeValueType[I[K]["type"]];
|
|
5452
5468
|
};
|
|
5453
|
-
/**
|
|
5469
|
+
/**
|
|
5470
|
+
* The call signature arguments for one function (nullary when `inputs` is absent). Dotted input
|
|
5471
|
+
* names group into one struct or array argument at runtime; dotted or widened names stay loose.
|
|
5472
|
+
*/
|
|
5454
5473
|
type FnArgs<F extends ArkadeFunction> = F extends {
|
|
5455
5474
|
inputs: infer I extends readonly InputDef[];
|
|
5456
|
-
} ? ArgsTuple<I> : [];
|
|
5475
|
+
} ? string extends I[number]["name"] ? ArkadeNestedValue[] : Extract<I[number]["name"], `${string}.${string}`> extends never ? ArgsTuple<I> : ArkadeNestedValue[] : [];
|
|
5457
5476
|
/** A contract's functions returning `R`: typed per function for a literal program, else loose. */
|
|
5458
|
-
type FunctionMap<P extends Program, R> = string extends keyof P["functions"] ? Record<string, (...args:
|
|
5477
|
+
type FunctionMap<P extends Program, R> = string extends keyof P["functions"] ? Record<string, (...args: ArkadeNestedValue[]) => R> : {
|
|
5459
5478
|
[K in keyof P["functions"]]: (...args: FnArgs<P["functions"][K]>) => R;
|
|
5460
5479
|
};
|
|
5461
5480
|
/**
|
|
@@ -5539,9 +5558,9 @@ interface ArkadeSpendResult {
|
|
|
5539
5558
|
signedCheckpointTxs: string[];
|
|
5540
5559
|
}
|
|
5541
5560
|
/** The callable spending paths of a contract. */
|
|
5542
|
-
type CallableFunctions = Record<string, (...args:
|
|
5561
|
+
type CallableFunctions = Record<string, (...args: ArkadeNestedValue[]) => ArkadeTransactionBuilder>;
|
|
5543
5562
|
/** What {@link Arkade} needs from the Arkade server; see {@link ArkadeConnectOptions.arkade}. */
|
|
5544
|
-
type ArkadeServerProvider = Pick<
|
|
5563
|
+
type ArkadeServerProvider = Pick<OperatorProvider, "getInfo"> & Partial<ArkadeBroadcaster>;
|
|
5545
5564
|
/** Fields shared by both forms of {@link ArkadeConnectOptions}. */
|
|
5546
5565
|
interface ArkadeConnectCommonOptions {
|
|
5547
5566
|
/** Signer for paths that require a user signature; optional for watch-only. */
|
|
@@ -5696,8 +5715,9 @@ declare class Arkade {
|
|
|
5696
5715
|
*
|
|
5697
5716
|
* Declared `server`/`user` params default to the client's keys. Compiler
|
|
5698
5717
|
* artifacts reserve the server key and exit delay to the connected server.
|
|
5718
|
+
* Struct and array params are passed whole by name (see {@link ArkadeNestedValue}).
|
|
5699
5719
|
*/
|
|
5700
|
-
contract<const P extends Program>(program: P, args?: Record<string,
|
|
5720
|
+
contract<const P extends Program>(program: P, args?: Record<string, ArkadeNestedValue>): ArkadeContract<P>;
|
|
5701
5721
|
/**
|
|
5702
5722
|
* Start a spend with no function of its own: each `.from(coins, contract.unlock.<name>(...))`
|
|
5703
5723
|
* names the function its coins are spent through.
|
|
@@ -5708,7 +5728,6 @@ declare class Arkade {
|
|
|
5708
5728
|
declare class ArkadeContract<P extends Program = Program> {
|
|
5709
5729
|
readonly client: Arkade;
|
|
5710
5730
|
readonly program: P;
|
|
5711
|
-
readonly args: Record<string, ArkadeParamValue>;
|
|
5712
5731
|
/** The compiled taproot tree of spending-path leaves. */
|
|
5713
5732
|
readonly vtxoScript: ArkadeProgramScript;
|
|
5714
5733
|
/** Encoded taproot tree (shared spend context for every path). */
|
|
@@ -5717,7 +5736,9 @@ declare class ArkadeContract<P extends Program = Program> {
|
|
|
5717
5736
|
readonly keys: ProgramKeys;
|
|
5718
5737
|
/** Spending paths in declaration order. */
|
|
5719
5738
|
private readonly compiled;
|
|
5720
|
-
|
|
5739
|
+
/** Constructor bindings by flattened name (`owners.0.key`), as persisted. */
|
|
5740
|
+
readonly args: Record<string, ArkadeParamValue>;
|
|
5741
|
+
constructor(client: Arkade, program: P, args?: Record<string, ArkadeNestedValue>, keys?: ProgramKeys);
|
|
5721
5742
|
/**
|
|
5722
5743
|
* Rebuild a callable contract from a persisted `"arkade"` row. Compiles with the stored keys,
|
|
5723
5744
|
* not the client's current ones, so script and address survive a server signer rotation.
|
|
@@ -5885,6 +5906,7 @@ type index_ArkadeContractSubscription = ArkadeContractSubscription;
|
|
|
5885
5906
|
type index_ArkadeExtendedCoin = ArkadeExtendedCoin;
|
|
5886
5907
|
type index_ArkadeExtendedVirtualCoin = ArkadeExtendedVirtualCoin;
|
|
5887
5908
|
declare const index_ArkadeFunction: typeof ArkadeFunction;
|
|
5909
|
+
type index_ArkadeNestedValue = ArkadeNestedValue;
|
|
5888
5910
|
declare const index_ArkadeParamValue: typeof ArkadeParamValue;
|
|
5889
5911
|
declare const index_ArkadeProgramScript: typeof ArkadeProgramScript;
|
|
5890
5912
|
declare const index_ArkadeScript: typeof ArkadeScript;
|
|
@@ -5942,7 +5964,7 @@ declare const index_toASM: typeof toASM;
|
|
|
5942
5964
|
declare const index_validateProgram: typeof validateProgram;
|
|
5943
5965
|
declare const index_witnessRefToBytes: typeof witnessRefToBytes;
|
|
5944
5966
|
declare namespace index {
|
|
5945
|
-
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, index_ArkadeArgType as ArkadeArgType, index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, index_ArkadeFunction as ArkadeFunction, index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, index_InputDef as InputDef, index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, index_Program as Program, index_ProgramKeys as ProgramKeys, index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, index_ScriptType as ScriptType, index_SignerRef as SignerRef, index_TapscriptSegment as TapscriptSegment, index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
5967
|
+
export { index_ARKADE_OP as ARKADE_OP, index_ARKADE_OPCODES as ARKADE_OPCODES, index_ARKADE_OPCODE_NAMES as ARKADE_OPCODE_NAMES, index_ARKADE_OPCODE_VALUES as ARKADE_OPCODE_VALUES, index_ARKADE_OPS as ARKADE_OPS, index_Arkade as Arkade, index_ArkadeArgType as ArkadeArgType, index_ArkadeArgValue as ArkadeArgValue, type index_ArkadeBatchInput as ArkadeBatchInput, type index_ArkadeConnectOptions as ArkadeConnectOptions, type index_ArkadeConnectProviderOptions as ArkadeConnectProviderOptions, type index_ArkadeConnectServiceOptions as ArkadeConnectServiceOptions, index_ArkadeContract as ArkadeContract, type index_ArkadeContractEvent as ArkadeContractEvent, type index_ArkadeContractEventType as ArkadeContractEventType, index_ArkadeContractParams as ArkadeContractParams, type index_ArkadeContractSubscription as ArkadeContractSubscription, type index_ArkadeExtendedCoin as ArkadeExtendedCoin, type index_ArkadeExtendedVirtualCoin as ArkadeExtendedVirtualCoin, index_ArkadeFunction as ArkadeFunction, type index_ArkadeNestedValue as ArkadeNestedValue, index_ArkadeParamValue as ArkadeParamValue, index_ArkadeProgramScript as ArkadeProgramScript, index_ArkadeScript as ArkadeScript, type index_ArkadeScriptOP as ArkadeScriptOP, type index_ArkadeScriptType as ArkadeScriptType, index_ArkadeSegment as ArkadeSegment, type index_ArkadeServerProvider as ArkadeServerProvider, index_ArkadeService as ArkadeService, type index_ArkadeSpendResult as ArkadeSpendResult, index_ArkadeTransactionBuilder as ArkadeTransactionBuilder, type index_ArkadeUnlocker as ArkadeUnlocker, index_AsmToken as AsmToken, type index_AssetSpec as AssetSpec, bignum as BigNum, type index_CallableFunctions as CallableFunctions, index_CompiledProgramFunction as CompiledProgramFunction, type index_ContractArtifact as ContractArtifact, type index_ContractFunctions as ContractFunctions, type index_ContractUnlockers as ContractUnlockers, index_InputDef as InputDef, index_InputRef as InputRef, index_OP as OP, index_OPCODE_NAMES as OPCODE_NAMES, index_OPCODE_VALUES as OPCODE_VALUES, index_Program as Program, index_ProgramKeys as ProgramKeys, index_ResolvedArkadeService as ResolvedArkadeService, index_SUPPORTED_PROGRAM_VERSION as SUPPORTED_PROGRAM_VERSION, index_Script as Script, index_ScriptType as ScriptType, index_SignerRef as SignerRef, index_TapscriptSegment as TapscriptSegment, index_TweakedSigner as TweakedSigner, index_UnsupportedProgramVersionError as UnsupportedProgramVersionError, type index_Utxo as Utxo, index_WitnessRef as WitnessRef, index_arkadeScriptHash as arkadeScriptHash, index_arkadeWitnessHash as arkadeWitnessHash, index_asmToBytes as asmToBytes, index_bytesToASM as bytesToASM, index_computeArkadeScriptPublicKey as computeArkadeScriptPublicKey, index_createArkadeBatchHandler as createArkadeBatchHandler, index_deserializeArkadeContractParams as deserializeArkadeContractParams, index_fromASM as fromASM, index_getOpcodeName as getOpcodeName, index_getOpcodeValue as getOpcodeValue, index_isContractArtifact as isContractArtifact, index_parseArtifact as parseArtifact, index_programFromArtifact as programFromArtifact, index_resolveArkadeService as resolveArkadeService, index_resolveAsm as resolveAsm, index_serializeArkadeContractParams as serializeArkadeContractParams, index_stringifyArtifact as stringifyArtifact, index_toASM as toASM, index_validateProgram as validateProgram, index_witnessRefToBytes as witnessRefToBytes };
|
|
5946
5968
|
}
|
|
5947
5969
|
|
|
5948
5970
|
/** Known BIP21 parameters including Arkade-specific extensions. */
|
|
@@ -6540,4 +6562,4 @@ declare class AssetManager extends ReadonlyAssetManager implements IAssetManager
|
|
|
6540
6562
|
private burnWith;
|
|
6541
6563
|
}
|
|
6542
6564
|
|
|
6543
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote,
|
|
6565
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, Activity, ActivityRegistry, AddressAllocationCapable, AmbiguousRouteError, type AnchorBumper, ArkAddress, ArkIntent, ArkNote, type ArkPsbtFieldCoder, ArkPsbtFieldKey, ArkPsbtFieldKeyType, ArkTransaction, type ArkTxInput, Arkade, type ArkadeBatchInput, ArkadeBroadcaster, ArkadeCash, ArkadeContractParams, type ArkadeExtendedCoin, type ArkadeExtendedVirtualCoin, ArkadeInfo, ArkadeReader, ArkadeService, Asset, AssetDetails, AssetManager, AtomicWalletState, BIP21, BIP21Error, type BIP21Params, type BIP21ParseResult, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, BatchExpiryPolicy, BurnParams, CSVMultisigTapscript, CachingArkProvider, CachingOperatorProvider, ChainTx, Coin, ConditionWitness, ConnectionDisposedError, Contract, ContractEvent, ContractFilter, ContractRepository, ContractSyncState, ContractVtxoEvent, ContractWatcherConfig, ContractWithVtxos, CosignerPublicKey, CreateContractParams, DEFAULT_MESSAGE_TIMEOUTS, DatabaseUpgradeBlockedError, DefaultVtxo, DelegateInfo, DelegateNotConfiguredError, DescriptorIdentity, type DescriptorIdentityOptions, type DescriptorOptions, DescriptorProvider, type DescriptorSigner, DescriptorSigningProviderMissingError, DescriptorSigningRequest, type DeterministicSigner, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, type BlockHeader as ElectrumBlockHeader, ElectrumOnchainProvider, type TransactionHistory as ElectrumTransactionHistory, type Unspent as ElectrumUnspent, type EmulatorEntry, EmulatorPacket, EmulatorProvider, EncodedVtxoScript, Estimator, type ExcludableVtxo, type ExecutorEvent, type ExecutorOptions, type ExitDelay, type ExitFeeWallet, type ExitMode, type ExitOptions, type ExitPackage, type ExitQuote, type ExitStep, type ExitTotals, type ExitVtxoInfo, ExplorerTransaction, ExtendedCoin, ExtendedContractVtxo, ExtendedVirtualCoin, Extension, ExtensionNotFoundError, type ExtensionPacket, FeeAmount, FeeInfo, FeeOutput, FetchError, GetArkadeInfoOptions, GetNewAddressesOptions, GetSpendableVtxosFilter, GetVtxosFilter, GetVtxosOptions, HDAllocationCapable, HDDescriptorProvider, type HDDeterministicSignCapable, HDWalletCapable, IAssetManager, IContractManager, IDelegateManager, IReadonlyAssetManager, IReadonlyWallet, IVtxoManager, IWallet, Identity, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexerProvider, InputExpiryFloor, Intent, IntentFeeConfig, IntentPageFilter, IntentRepository, IssuanceParams, IssuanceResult, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, type ManagedConnection, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, type MessageHandler, type MessageTimeouts, MigrationGlobalSkipReason, MigrationLegSkipReason, MissingSigningDescriptorError, MnemonicIdentity, type MnemonicOptions, Network, NetworkName, type NetworkOptions, NewAddress, NormalizedExtendedVirtualCoin, NormalizedVtxoPage, OffchainInput, type OffchainTx, type OnExitObserved, OnchainInput, OnchainProvider, OnchainWallet, OperatorProvider, Outpoint, OversizedChangeError, P2A, PageRequest, PageResult, PaginationOptions, type ParsedArkContract, PathContext, PathSelection, type PaymentHandle, type PaymentOption, type PaymentRail, type PaymentRequest, PaymentRouter, type PaymentStatus, PrevArkTxField, PrevoutTxField, Proof, ProviderConnectionState, type ProvisionedClaimSecret, type ProvisionedKey, READ_TIMEOUT_MS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlyIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, Recipient, ReissuanceParams, RelativeTimelock, RenewVtxosOptions, type RequestEnvelope, type ResponseEnvelope, type RouteQuote, type RouteResult, type RouterContext, type RouterPreferences, ScriptVtxoCursor, ScriptVtxoPageOptions, SeedIdentity, type SeedIdentityOptions, SendBitcoinParams, SendDeadlineExceededError, SendParams, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, type ServiceWorkerWalletMode, SettleParams, SettlementConfig, SettlementEvent, SignedIntent, SignedProof, SignerSession, SignerStatus, SingleKey, StaticDescriptorProvider, Status, StorageConfig, StoredVtxo, TapLeafScript, Transaction, TransactionHistoryPageCursor, TransactionHistoryPageFilter, TreeNonces, TreePartialSigs, TxNotificationEvent, TxTree, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, UnsupportedProgramVersionError, type VSize, type VerifyServerSignatures, VirtualCoin, VirtualTx, VirtualTxRepository, VtxoBranch, type VtxoExclusion, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, Wallet, WalletBalance, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WalletRepository, type WalletRestoreHook, WatchedScript, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, index as arkade, assembleBtcdTaprootTree, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertNonNegativeMs, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertTimerMs, assertValidServerUnrollScript, index$1 as asset, assetsOf, awaitTransaction, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, buildVersion, captureSendDeadline, claimWithPreimageIdentity, closeDatabase, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultPaymentRouter, createManagedConnection, decodeArkContract, deleteByIndex, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getArkPsbtFields, hasBoardingTxExpired, identityDescriptor, invoiceTarget, isArkContract, isBtcAddress, isCltvSatisfied, isContractGenericallySpendable, isCsvSpendable, isDeterministicSigner, isHDDeterministicSignCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isRetryableProviderError, isValidArkAddress, logExcludedVtxos, makeHandle, matchServerCheckpoints, normalizeToDescriptor, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, parseHDDescriptor, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveSendAmount, sdkVersion, selectCoinsWithAsset, selectionOf, sequenceToTimelock, serializeExitPackage, setArkPsbtField, setupServiceWorker, signAndSubmitOffchainTx, submitViaEmulator, timelockToSequence, toXOnly, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, walletFeeSource };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, 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, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, OversizedChangeError, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-
|
|
2
|
-
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-
|
|
3
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, UnsupportedProgramVersionError, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-
|
|
4
|
-
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DEFAULT_ARKADE_EMULATOR_URL, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, networkFromArkadeInfo, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence, toOffchainInputFeeParams } from './chunk-
|
|
1
|
+
export { ARKADE_MAGIC, ARKADE_SALTED_PREIMAGE_TAG, ARKADE_SWAP_PREIMAGE_TAG, ASSET_CARRIER_SATS, AbortError, ActivityRegistry, AmbiguousRouteError, ArkNote, Arkade, ArkadeCash, ArkadeCashCreateError, ArkadeCashOperatorMismatchError, AssetManager, BIP21, BIP21Error, BIP322, BLOCKED_UPGRADE_TIMEOUT_MS, Batch, CachingArkProvider, CachingOperatorProvider, ChainedTxType, ConnectionDisposedError, ContractManager, ContractWatcher, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DatabaseUpgradeBlockedError, DelegateManagerImpl, DelegateNotConfiguredError, 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, KeyringDescriptorProvider, MAX_PAGE_SIZE, MAX_USED_SIGNING_DESCRIPTORS_LOOK_AHEAD, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, OversizedChangeError, P2A, PaymentRouter, PrevTxUnavailableError, REGTEST_MIN_BATCH_EXPIRY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestEmulatorProvider, SeedIdentity, SendDeadlineExceededError, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, StaticDescriptorProvider, TreeSignerSession, TxTree, TxType, TxWeightEstimator, UnannotatableInputError, UnilateralExit, UnknownPacket, Unroll, VtxoManager, VtxoReservedError, Wallet, WalletCannotAllocateAddressError, WalletCannotSignError, WalletMessageHandler, WalletNotInitializedError, WsElectrumChainSource, adoptContractDescriptor, arkAssetRail, arkRail, arkTarget, arkade_exports as arkade, assertFinalCommitmentMatchesValidated, assertNoAssets, assertNoSelection, assertPageRequest, assertRecipientArkadeAddress, assertSendDeadline, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, assetsOf, attachPrevArkTxs, attachPrevoutTxs, awaitTransaction, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, buildPreimageMessage, buildSaltedPreimageMessage, captureSendDeadline, claimWithPreimageIdentity, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, collectContracts, collectIntents, collectPages, collectScriptVtxos, collectTransactionHistory, collectUtxos, collectVtxos, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, contractPreimage, contractSigner, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, createManagedConnection, decodeArkContract, defaultBatchExpiryPolicy, deleteByIndex, deserializeExitPackage, encodeArkContract, exitObserverFor, gateExclusion, gatedContracts, getAllByIndexValues, getRandomId, hasBoardingTxExpired, hasCandidates, invoiceTarget, isAddressAllocationCapable, isArkContract, isBatchSignable, isBtcAddress, isContractGenericallySpendable, isContractVtxoEvent, isCooperativelyMigratable, isDeterministicSigner, isDiscoverable, isHDAllocationCapable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isPerArtifactDescriptor, isSigningIdentity, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, iteratePages, logExcludedVtxos, makeHandle, matchServerCheckpoints, notifyExitObserved, onchainRail, openDatabase, outpointExclusion, outpointReasons, pageResult, promisifyRequest, provisionClaimSecret, provisionRefundKey, registerWalletRestoreHook, resolveAssetAmount, resolveBatchExpiryPolicy, resolveDescriptorSigner, resolvePrevTxs, resolveSendAmount, selectCoinsWithAsset, selectVirtualCoins, selectionOf, serializeExitPackage, setupServiceWorker, signAndSubmitOffchainTx, signerSetFromInfo, signingDescriptorIndex, strictSigningDescriptorIndex, submitViaEmulator, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, walletFeeSource, withPrevTxs } from './chunk-ZJHLLDBP.js';
|
|
2
|
+
export { ChainTxType, DEFAULT_VTXO_PAGE_SIZE, IndexerTxType, RestIndexerProvider, asset_exports as asset } from './chunk-BTRCN4JJ.js';
|
|
3
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, UnsupportedProgramVersionError, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, identityDescriptor, isCltvSatisfied, isCsvSpendable, normalizeToDescriptor, parseHDDescriptor, toXOnly } from './chunk-6CUP6ZIF.js';
|
|
4
|
+
export { ArkAddress, ArkError, ArkErrorName, ArkPsbtFieldKey, ArkPsbtFieldKeyType, BITCOIN_EMULATOR_PUBKEY, CLTVMultisigTapscript, CSVMultisigTapscript, ConditionCSVMultisigTapscript, ConditionMultisigTapscript, ConditionWitness, CosignerPublicKey, DEFAULT_ARKADE_EMULATOR_URL, DigestMismatchError, EventSourceUnavailableError, FetchError, Intent, MUTINYNET_EMULATOR_PUBKEY, MultisigTapscript, PrevArkTxField, PrevoutTxField, Proof, ProviderUnavailableError, READ_TIMEOUT_MS, REGTEST_EMULATOR_PUBKEY, RestArkProvider, RestOperatorProvider, ServerResponseMismatchError, SettlementEventType, TapTreeCoder, Transaction, VtxoScript, VtxoTaprootTree, VtxoTreeExpiry, assembleBtcdTaprootTree, assertAllowedSighashTypes, assertNonNegativeMs, assertTimerMs, buildVersion, canRecoverOnchain, canSpendOffchain, canSweepOnchain, configureEventSource, decodeTapscript, defaultEmulatorPubkey, getAllNormalizedVtxos, getArkPsbtFields, getConfiguredEventSource, getNetwork, getNormalizedVtxos, getSequence, isArkError, isEventSourceUnavailableError, isPastExpiry, isRetryableProviderError, isVirtualCoin, isVtxoSpent, maybeArkError, networkFromArkadeInfo, networkFromOperatorInfo, networks, resolveEmulatorPubkey, resolveEventSource, scriptFromTapLeafScript, sdkVersion, sequenceToTimelock, setArkPsbtField, timelockToSequence, toOffchainInputFeeParams } from './chunk-AG4TFD6F.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|