bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
24 lines • 848 B
TypeScript
import type { ProfileInfo } from "../../lib/types.js";
export interface ProfilePublisherProps {
profile: ProfileInfo;
onPublish: (profileId: string) => Promise<{
txid: string;
}>;
onSuccess?: (txid: string) => void;
onError?: (error: string) => void;
estimatedCost?: string;
className?: string;
}
/**
* ProfilePublisher - Publish BAP profiles to the Bitcoin blockchain
*
* Features:
* - Profile preview before publishing
* - Cost estimation display
* - Publishing progress indication
* - Transaction ID display on success
* - Error handling with retry
* - Confirmation dialog
*/
export declare function ProfilePublisher({ profile, onPublish, onSuccess, onError, estimatedCost, className, }: ProfilePublisherProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ProfilePublisher.d.ts.map