diff --git a/src/utils/zap-split.ts b/src/utils/zap-split.ts index 33cd9c4e..54fe04a5 100644 --- a/src/utils/zap-split.ts +++ b/src/utils/zap-split.ts @@ -1,5 +1,9 @@ +import { Conf } from '@/config.ts'; import { NSchema as n, NStore } from '@nostrify/nostrify'; -import { isNumberFrom1To100 } from '@/utils.ts'; +import { isNumberFrom1To100, nostrNow } from '@/utils.ts'; +import { Storages } from '@/storages.ts'; +import { AdminSigner } from '@/signers/AdminSigner.ts'; +import { handleEvent } from '@/pipeline.ts'; type Pubkey = string; type ExtraMessage = string; @@ -33,3 +37,25 @@ export async function getZapSplits(store: NStore, pubkey: string): Promise