use codama in sdk

This commit is contained in:
thesn10
2026-05-23 13:29:13 +02:00
parent 186136722d
commit c92e71fe81
7 changed files with 167 additions and 450 deletions

View File

@@ -2,18 +2,4 @@ export * from "./types";
export * from "./pda";
export * from "./escrow";
export * from "./registry";
export * from "./listener";
import { AnchorProvider } from "@coral-xyz/anchor";
import { EscrowClient } from "./escrow";
import { RegistryClient } from "./registry";
export class DescroSdk {
readonly escrow: EscrowClient;
readonly registry: RegistryClient;
constructor(provider: AnchorProvider) {
this.escrow = new EscrowClient(provider);
this.registry = new RegistryClient(provider);
}
}
export * from "./listener";