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}`);
}
}

View File

@@ -44,8 +44,6 @@ export async function getTokenAddressFromTicker(
.filter((pair: any) => pair.chainId === "solana")
.sort((a: any, b: any) => (b.fdv || 0) - (a.fdv || 0));
console.log("solanaPairs", solanaPairs);
solanaPairs = solanaPairs.filter(
(pair: any) =>
pair.baseToken.symbol.toLowerCase() === ticker.toLowerCase()