# Moonshot Commands

The **Moonshot Commands** page explains how to use the features for interacting with bonding curve contracts, allowing users to automate buys and sells across multiple wallets. These commands are essential for token developers and investors who want to engage in dynamic token operations efficiently.

[Go to moonshot on base.](https://dexscreener.com/moonshot)

***

### Command: `/buy_floor_moonshot`

The `/buy_floor_moonshot` command allows users to automate purchases using a bonding curve contract. It utilizes multiple wallets to spread out transactions, simulating natural trading activity and ensuring scalability.

#### **Command Syntax**

```plaintext
/buy_floor_moonshot {amount_in_eth} {token_address} [cycles] [speed]
```

#### **Parameters**

* **amount\_in\_eth** (Required): The amount of ETH each wallet will use for the buy operation.\
  Example: `0.05`
* **token\_address** (Required): The address of the bonding curve token.\
  Example: `0x1234567890abcdef1234567890abcdef12345678`
* **cycles** (Optional): The number of times the operation will repeat for all wallets. Defaults to `1`.\
  Example: `5`
* **speed** (Optional): The speed at which transactions are processed. Options are:
  * `fast`: Minimal delay between transactions.
  * `medium` (Default): Moderate delay between transactions.
  * `slow`: Long delay between transactions for a more natural trading pattern.

***

#### **How to Use**

1. Ensure you have a wallet set up with volume wallets ready. Use the `/start` command if you don’t have a wallet yet.
2. Execute the command in the following format:

   ```plaintext
   /buy_floor_moonshot 0.05 0x1234567890abcdef1234567890abcdef12345678 3 medium
   ```
3. The bot will:
   * Validate your input and prepare the wallets.
   * Start the operation and display a status message showing the progress.
   * Allow cancellation using `/cancelmoonshot`.

#### **Example Output**

**Start Message**

```plaintext
🚀 Starting Moonshot Floor Buy

💰 Amount per wallet: `0.05` ETH
🎯 Token: `0x1234567890abcdef1234567890abcdef12345678`
🔄 Cycles: `3`
⚡ Speed: `medium`
👛 Number of wallets: `10`

⏳ Processing...
```

**Progress Update**

```plaintext
🔄 Moonshot Buy Status

✅ Successful transactions: `5`
❌ Failed transactions: `1`
⏳ Processing wallet 6/10
```

**Completion**

```plaintext
🎯 Moonshot Buy Complete

✅ Successful transactions: `29`
❌ Failed transactions: `1`
```

***

### Command: `/sell_floor_moonshot`

The `/sell_floor_moonshot` command automates token sales using a bonding curve contract. It processes sales across multiple wallets to distribute sell pressure.

#### **Command Syntax**

```plaintext
/sell_floor_moonshot {token_address}
```

#### **Parameters**

* **token\_address** (Required): The address of the bonding curve token.\
  Example: `0x1234567890abcdef1234567890abcdef12345678`

***

#### **How to Use**

1. Ensure you have a wallet set up with volume wallets ready. Use the `/start` command if you don’t have a wallet yet.
2. Execute the command in the following format:

   <pre class="language-plaintext"><code class="lang-plaintext"><strong>/sell_floor_moonshot 0x1234567890abcdef1234567890abcdef12345678
   </strong></code></pre>
3. The bot will:
   * Validate your input and prepare the wallets.
   * Start the operation and display a status message showing the progress.

***

#### **Example Output**

**Start Message**

```plaintext
🔄 Starting Moonshot Token Sell

🎯 Token: `0x1234567890abcdef1234567890abcdef12345678`
👛 Number of wallets: `10`

⏳ Processing...
```

**Progress Update**

```plaintext
🔄 Moonshot Token Sell Status

✅ Successful sells: `4`
❌ Failed sells: `1`
⏳ Processing wallet 5/10
```

**Completion**

```plaintext
🎯 Moonshot Token Sell Complete

✅ Successful sells: `9`
❌ Failed sells: `1`
```

***

### **Key Features**

1. **Multi-Wallet Support**\
   Distribute operations across multiple wallets for a more dynamic trading pattern.
2. **Customizable Speed**\
   Control the speed of operations to simulate different trading behaviors.
3. **Error Handling**\
   Automatically retries failed transactions and logs errors for user reference.
4. **Live Status Updates**\
   Provides real-time updates on the operation's progress.
5. **Cancellation Option**\
   Use `/cancelmoonshot` to stop ongoing operations.

***

### **Troubleshooting**

#### Common Issues

1. **Invalid Token Address**\
   Ensure the token address is valid and properly formatted (checksum address).
2. **Insufficient Wallets**\
   Ensure you have enough volume wallets set up before starting the operation.
3. **Transaction Failures**\
   Failures may occur due to network congestion or insufficient funds. Retry with adjusted parameters.
4. **Operation Not Completing**\
   Use `/cancelmoonshot` to stop an operation if it seems stuck, and try again.
