forked from crackedstudio/tikka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
59 lines (49 loc) · 3.44 KB
/
Copy pathindex.ts
File metadata and controls
59 lines (49 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* @packageDocumentation
* **@tikka/sdk** — NestJS SDK for interacting with the Tikka Soroban raffle contract on Stellar.
*
* ## Modules
* - **Raffle** — create, fetch, list, and cancel raffles
* - **Ticket** — buy and refund tickets; query user holdings
* - **Wallet** — browser wallet adapters (Freighter, XBull, Albedo, LOBSTR, Rabet)
* - **User** — query on-chain participation data
* - **Admin** — pause/unpause contract and manage admin rights
* - **Network** — RPC / Horizon service configuration
* - **Fee Estimator** — estimate transaction fees before signing
* - **Utils** — formatting, validation, error classes
* - **Auth** — SEP-10 challenge/verification for wallet authentication
*
* @example
* ```ts
* import { RaffleService, TicketService, FreighterAdapter } from '@tikka/sdk';
* ```
*/
// ── Contract bindings & types (public API surface) ──────────────────────────
export { ContractFn, RaffleStatus } from './contract/bindings';
export { TxResponse } from './contract/response';
export type { TxMemo } from './contract/contract.service';
export { TransactionLifecycle } from './contract/lifecycle';
export type {
SimulateResult,
SubmitResult,
PollConfig,
InvokeLifecycleOptions,
} from './contract/lifecycle';
// ── Raffle ──────────────────────────────────────────────────────────────────
export * from './modules/raffle';
// ── Ticket ──────────────────────────────────────────────────────────────────
export * from './modules/ticket';
// ── User ────────────────────────────────────────────────────────────────────
export * from './modules/user';
// ── Admin ───────────────────────────────────────────────────────────────────
export * from './modules/admin';
// ── Wallet adapters ─────────────────────────────────────────────────────────
export * from './wallet';
// ── Network ─────────────────────────────────────────────────────────────────
export * from './network';
// ── Fee estimation ──────────────────────────────────────────────────────────
export * from './fee-estimator';
// ── Utils ───────────────────────────────────────────────────────────────────
export * from './utils';
// ── Auth (SEP-10) ───────────────────────────────────────────────────────────
export * from './auth/sep10';