Closed arfathyahiya closed 3 months ago
You're passing null
instead of a PublicKey
for the third argument.
export async function createMint(
connection: Connection,
payer: Signer,
mintAuthority: PublicKey, // <-- Right here.
/* ... */
): Promise<PublicKey>
Hi @arfathyahiya,
Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Solana itself.
Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that this is a bug with Solana itself, please post your question to the Solana Stack Exchange using this link: https://solana.stackexchange.com/questions/ask
This automated message is a result of having added the ‘question’ tag.
Some of the solana packages I've along with their versions @solana/web3.js: 1.94.0 @solana/wallet-adapter-base: 0.9.23 @solana/spl-token: 0.4.6 @solana/spl-token-group: 0.0.3
When trying to use
createMint
It's throwing me this errorCode: