diff --git a/sdk/src/index.ts b/sdk/src/index.ts new file mode 100644 index 0000000..05f7625 --- /dev/null +++ b/sdk/src/index.ts @@ -0,0 +1,13 @@ +// Generated bindings — accounts, instructions, pdas, types, errors, program id +export * from './generated/solisting/src/generated/index.js' + +// Hand-written helpers +export * from './pda.js' +export * from './listing.js' +// Order exports are imported but we exclude the re-exported deriveEscrowId to avoid duplication +// since it's already exported from pda.js +export type { OrderAccountWithPda } from './order.js' +export { fetchOrdersForListing, fetchOrdersByBuyer, fetchOrder } from './order.js' + +// Re-export Address for consumers +export type { Address, Account } from '@solana/kit'