Adding functionality to create tokens

Wallet adapter vs local wallet

<aside> 💡

Do you think we should use the createMint function to create the token mint? Like we did here - https://www.notion.so/Equivalent-code-in-JS-afed3cf599d64ee5bae4cc05a7b9f346 ?

const { createMint } = require('@solana/spl-token');
const mint = await createMint(
        connection,
        payer,
        mintAuthority,
        null,
        6,
        TOKEN_PROGRAM_ID
);

</aside>

Since we want an end user to create their own token, pay for gas for creating that token, we need to ask THEIR WALLET for approval to create a token. We CANT create our own KeyPair and create a token using it.