Skip to content

Commit

Permalink
feat(babylonlabs-io-btc-staking-ts): index.ts
Browse files Browse the repository at this point in the history
Expose the Staking class and staking utils for external use.

Issue: BTC-1826
  • Loading branch information
OttoAllmendinger committed Mar 5, 2025
1 parent 5c38fb2 commit 5a0b7ba
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions modules/babylonlabs-io-btc-staking-ts/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
export { StakingScriptData } from "./staking";
export type { StakingScripts } from "./staking";
export {
ObservableStaking,
ObservableStakingScriptData,
} from "./staking/observable";
export * from "./staking/transactions";
export * from "./types";
export * from "./utils/btc";
export * from "./utils/utxo/findInputUTXO";
export * from "./utils/utxo/getPsbtInputFields";
export * from "./utils/utxo/getScriptType";
export {
getBabylonParamByBtcHeight,
getBabylonParamByVersion,
} from "./utils/staking/param";
export * from "./staking/manager";
export { StakingScriptData, Staking } from './staking';
export type { StakingScripts } from './staking';
export { ObservableStaking, ObservableStakingScriptData } from './staking/observable';
export * from './staking/transactions';
export * from './types';
export * from './utils/btc';
export * from './utils/staking';
export * from './utils/utxo/findInputUTXO';
export * from './utils/utxo/getPsbtInputFields';
export * from './utils/utxo/getScriptType';
export { getBabylonParamByBtcHeight, getBabylonParamByVersion } from './utils/staking/param';
export * from './staking/manager';

0 comments on commit 5a0b7ba

Please sign in to comment.