This commit is contained in:
aryan
2024-11-17 21:39:36 +07:00
commit f0de3cf025
17 changed files with 3912 additions and 0 deletions

24
src/types/index.ts Normal file
View File

@@ -0,0 +1,24 @@
import { PublicKey } from "@solana/web3.js";
export interface Creator {
address: string;
percentage: number;
}
export interface CollectionOptions {
name: string;
uri: string;
royaltyBasisPoints?: number;
creators?: Creator[];
}
// Add return type interface
export interface CollectionDeployment {
collectionAddress: PublicKey;
signature: Uint8Array;
}
export interface MintCollectionNFTResponse {
mint: PublicKey;
metadata: PublicKey;
}