@paulstinchcombe/kami721c-sdk
Version:
SDK for interacting with KAMI721C NFT contracts
27 lines (26 loc) • 1.21 kB
TypeScript
import { ContractRunner } from 'ethers';
import { KAMI721C } from '../contracts/KAMI721C';
/**
* Factory class for deploying KAMI721C contracts
*/
export declare class KAMI721CFactory {
private factory;
/**
* Creates a new instance of the KAMI721C factory
* @param signer A signer with deployment permissions
*/
constructor(signer: ContractRunner);
/**
* Deploy a new KAMI721C contract
* @param usdcAddress The address of the USDC token contract
* @param name The name of the NFT collection
* @param symbol The symbol of the NFT collection
* @param baseURI The base URI for token metadata
* @param initialMintPrice The initial mint price in USDC (with 6 decimals)
* @param platformAddress The address that will receive platform commissions
* @param platformCommissionPercentage The platform commission percentage in basis points (e.g., 500 = 5%)
* @returns The deployed contract instance
*/
deploy(usdcAddress: string, name: string, symbol: string, baseURI: string, initialMintPrice?: bigint | string, // Default 1 USDC (6 decimals)
platformAddress?: string, platformCommissionPercentage?: number): Promise<KAMI721C>;
}