useMint
Start the process of minting a token.
API
const { startMint } = useMint({ collectionId: "<COLLECTION ID>" });Example
import { useMint } from '@comet-labs/react';
function App() {
const { startMint } = useMint({ collectionId: 'ac37722abd3b' });
return (
<div className="App">
<button onClick={startMint}>
Custom mint button
</button>
</div>
);
}Last updated