feat: linting + prettier

This commit is contained in:
aryan
2024-12-25 17:08:17 +05:30
parent 2753794342
commit c81aa7f892
25 changed files with 1202 additions and 103 deletions

View File

@@ -4,4 +4,4 @@ import bs58 from "bs58";
export const keypair = Keypair.generate();
console.log(keypair.publicKey.toString());
console.log(bs58.encode(keypair.secretKey));
console.log(bs58.encode(keypair.secretKey));

View File

@@ -86,7 +86,7 @@ export async function sendTx(
}
tx.sign(agent.wallet, ...(otherKeypairs ?? []));
let txid = await agent.connection.sendRawTransaction(tx.serialize());
const txid = await agent.connection.sendRawTransaction(tx.serialize());
await agent.connection.confirmTransaction({
signature: txid,
blockhash: (await agent.connection.getLatestBlockhash()).blockhash,