> For the complete documentation index, see [llms.txt](https://developer.1moneynetwork.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.1moneynetwork.com/integrations/sdks/rust/methods/token-operations/minting-tokens.md).

# Minting Tokens

### Token Minting Operations

```rust

// 2. Mint tokens
    println!("\n2. Mint Tokens");
    println!("==============");

    let mint_payload = TokenMintPayload {
        chain_id,
        nonce: current_nonce,
        recipient: sender_address, // Mint to sender's own account
        value: TokenAmount::from(1000000000000000000u64), // 1 token
        token: token_address,
    };
    current_nonce += 1; // Increment for next transaction

    match client.mint_token(mint_payload, private_key).await {
        Ok(response) => {
            println!("Tokens minted - Tx: {}", response.hash);
        }
        Err(e) => {
            print_detailed_error("Could not mint tokens", &e);
        }
    }
    sleep(Duration::from_secs(1)).await;

```

###
