use codama in sdk
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user