mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-23 07:36:44 +00:00
init
This commit is contained in:
24
src/types/index.ts
Normal file
24
src/types/index.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user