chore: docs

This commit is contained in:
aryan
2024-12-20 18:51:01 +05:30
parent d3176859f6
commit c736d31246
16 changed files with 40 additions and 42 deletions

View File

@@ -57,16 +57,10 @@ export async function deploy_token(
builder.sendAndConfirm(umi, { confirm: { commitment: 'finalized' } });
console.log(
"Token deployed successfully. Mint address: ",
mint.publicKey.toString()
);
return {
mint: toWeb3JsPublicKey(mint.publicKey),
};
} catch (error: any) {
console.log(error);
throw new Error(`Token deployment failed: ${error.message}`);
}
}