Create Custom SPL Tokens
Effortlessly deploy new SPL tokens with customized parameters using the TokenDeploymentManager class. This utility simplifies token creation for any project on the Solana blockchain.
lamports = await connection.get_minimum_balance_for_rent_exemption(MINT_LEN) mint = Keypair()
logger.info(f"Generated mint address: {mint.pubkey()}") create_account_ix = create_account(
CreateAccountParams(
from_pubkey=agent.wallet_address,
to_pubkey=mint.pubkey(),
lamports=lamports,
space=MINT_LEN,
program_id=TOKEN_PROGRAM_ID,
)
) Last updated
