Voltar
+10 XP
8/12
Challenge: Create a Token Mint
Write a function that creates a new SPL token mint on Solana devnet.
Requirements
- Create a new token mint with 9 decimals
- The payer should be both the mint authority and freeze authority
- Return the mint address as a base58 string
Casos de Teste
Should return a mint address string
Entrada:
connection, payerEsperado: typeof result === 'string' && result.length >= 32Mint address should be a valid public key string
Entrada:
connection, payerEsperado: typeof result === 'string'