> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Actions

> Do any onchain actions on Meteora's programs with Meteora Invent

Launch anything and do any onchain action on Meteora in just a few configurations and commands. Metsumi, your personal launch assistant is engineered to help you to test fast and launch fast, accelerating your development process by 100x.

<Frame>
  <img src="https://mintcdn.com/meteora/gSl19wO31n1wt0qg/images/metsumi/metsumi-7.webp?fit=max&auto=format&n=gSl19wO31n1wt0qg&q=85&s=7967199dcb64747144ac40663a72f77c" width="1920" height="940" data-path="images/metsumi/metsumi-7.webp" />
</Frame>

# Prerequisites

* Node.js >= 18.0.0
* pnpm >= 10.0.0

*If you don't have pnpm installed, you can install it by running the following command.*

```bash Terminal theme={"system"}
npm install -g pnpm
```

# Steps

<Steps>
  <Step title="Clone and Setup Meteora Invent">
    Meteora Invent is a toolkit consisting of everything you need to invent innovative token launches on Meteora. Run the following command in your terminal to get started.

    ```bash Terminal theme={"system"}
    git clone https://github.com/MeteoraAg/meteora-invent.git
    ```

    Once you've cloned the repository, you'll have a new project directory with a meteora-invent folder. Run the following to install pnpm and the project dependencies.

    ```bash Terminal theme={"system"}
    cd meteora-invent
    pnpm install
    ```

    <Frame>
      <img src="https://mintcdn.com/meteora/gSl19wO31n1wt0qg/images/developer-guide/pnpm-install.webp?fit=max&auto=format&n=gSl19wO31n1wt0qg&q=85&s=4bf82920c004b98b1a409a40cd955760" width="997" height="339" data-path="images/developer-guide/pnpm-install.webp" />
    </Frame>
  </Step>

  <Step title="Setup Environment Variables">
    Copy the `.env.example` file to `.env` and configure the environment variables.

    ```bash Terminal theme={"system"}
    cp studio/.env.example studio/.env
    ```

    Configure the following variables:

    * `PRIVATE_KEY` - Your private key for the wallet you will be using to deploy the pool.
  </Step>

  <Step title="Optional: Start a Local Test Validator">
    You can also run the studio scripts on localnet - [http://localhost:8899](http://localhost:8899) with the following command

    ```bash Terminal theme={"system"}
    pnpm studio start-test-validator
    ```

    This will start a local validator on your machine which will be hosted on `http://localhost:8899`.
  </Step>

  <Step title="Generate Keypair">
    Generate a keypair from your private key:

    ```bash Terminal theme={"system"}
    # For devnet (airdrops 5 SOL)
    pnpm studio generate-keypair --network devnet

    # For localnet (airdrops 5 SOL)
    # Ensure that you have already started the local validator with pnpm start-test-validator
    pnpm studio generate-keypair --network localnet
    ```

    This will generate a `keypair.json` file in the `studio` directory which will be used for all actions.
  </Step>

  <Step title="Configure Pool Settings">
    Configure the config files in the `studio/config` directory.

    * Configure [DLMM](https://github.com/MeteoraAg/meteora-invent/blob/main/studio/config/dlmm_config.jsonc)
    * Configure [DAMM v2](https://github.com/MeteoraAg/meteora-invent/blob/main/studio/config/damm_v2_config.jsonc)
    * Configure [DAMM v1](https://github.com/MeteoraAg/meteora-invent/blob/main/studio/config/damm_v1_config.jsonc)
    * Configure [DBC](https://github.com/MeteoraAg/meteora-invent/blob/main/studio/config/dbc_config.jsonc)
    * Configure [Alpha Vault](https://github.com/MeteoraAg/meteora-invent/blob/main/studio/config/alpha_vault_config.jsonc)

    <Tip>After configuring the settings in the JSON files, you can proceed to choose the action you want to perform with Metsumi.</Tip>
  </Step>
</Steps>

# Actions

## DLMM

<CardGroup>
  <Card title="Launch a DLMM pool" icon="bolt-lightning" iconType="solid" href="/developer-guide/quick-launch/dlmm-launch-pool">
    Launch a DLMM customizable launch pool
  </Card>

  <Card title="Seed Liquidity" icon="seedling" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#seed-liquidity-lfg">
    Seed Liquidity with your preferred curve
  </Card>

  <Card title="Seed Liquidity Single Bin" icon="trash" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#seed-liquidity-single-bin">
    Seed Liquidity in a single bin
  </Card>

  <Card title="Set Pool Status" icon="signal-bars" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#set-dlmm-pool-status">
    Set your DLMM Pool Status
  </Card>
</CardGroup>

## DAMM v2

<CardGroup>
  <Card title="Launch a DAMM v2 balanced pool" icon="scale-balanced" iconType="solid" href="/developer-guide/quick-launch/damm-v2-launch-pool">
    Launch a DAMM v2 balanced pool
  </Card>

  <Card title="Launch a DAMM v2 one-sided pool" icon="scale-unbalanced" iconType="solid" href="/developer-guide/quick-launch/damm-v2-launch-pool">
    Launch a DAMM v2 one-sided pool
  </Card>

  <Card title="Split position" icon="split" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#split-position">
    Split an existing LP Position on DAMM v2 pool
  </Card>

  <Card title="Claim Position Fee" icon="money-bill-1" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#claim-position-fee">
    Claim an existing DAMM v2 pool position fee
  </Card>

  <Card title="Add Liquidity" icon="plus" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#add-liquidity">
    Add liquidity to an existing DAMM v2 pool position
  </Card>

  <Card title="Remove Liquidity" icon="minus" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#remove-liquidity">
    Remove liquidity from an existing DAMM v2 pool position (includes refresh vesting and closing position)
  </Card>

  <Card title="Close Position" icon="xmark" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#close-position">
    Close an existing DAMM v2 pool position
  </Card>
</CardGroup>

## DAMM v1

<CardGroup>
  <Card title="Launch a DAMM v1 pool" icon="rocket" iconType="solid" href="/developer-guide/quick-launch/damm-v1-launch-pool">
    Launch a DAMM v1 constant product launch pool
  </Card>

  <Card title="Lock Liquidity" icon="lock" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#lock-liquidity">
    Lock liquidity for a DAMM v1 pool
  </Card>

  <Card title="Create a Stake2Earn Farm" icon="farm" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#create-a-stake2earn-farm">
    Create a Stake2Earn Farm for a DAMM v1 pool
  </Card>

  <Card title="Lock Liquidity for Stake2Earn Farm Pool" icon="lock-a" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#lock-liquidity-stake2earn">
    Lock liquidity for a Stake2Earn Farm pool
  </Card>
</CardGroup>

## DBC

<CardGroup>
  <Card title="Launch a DBC token pool" icon="chart-simple" iconType="solid" href="/developer-guide/quick-launch/dbc-token-launch-pool">
    Launch a Dynamic Bonding Curve token pool
  </Card>

  <Card title="Create a DBC Config" icon="gear" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#create-a-dbc-config">
    Create a Dynamic Bonding Curve config containing the settings for pre-graduation and post-graduation pools
  </Card>

  <Card title="Claim Trading Fees" icon="money-bill" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#claim-trading-fees">
    Claim partner and/or creator trading fees for a DBC pool
  </Card>

  <Card title="Migrate to DAMM v1" icon="house" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#migrate-to-damm-v1">
    Migrate your DBC pool to a DAMM v1 pool
  </Card>

  <Card title="Migrate to DAMM v2" icon="house-heart" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#migrate-to-damm-v2">
    Migrate your DBC pool to a DAMM v2 pool
  </Card>

  <Card title="Swap (Buy/Sell)" icon="arrows-split-up-and-left" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#swap-buysell">
    Swap (Buy/Sell) tokens on a DBC pool
  </Card>
</CardGroup>

## Alpha Vault

<CardGroup>
  <Card title="Create an Alpha Vault " icon="box" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#create-an-alpha-vault">
    Create an Alpha Vault with an already existing DAMM v1 or DAMM v2 or DLMM pool
  </Card>
</CardGroup>

## Presale Vault

<CardGroup>
  <Card title="Create a Presale Vault" icon="gavel" iconType="solid" href="https://github.com/MeteoraAg/meteora-invent?tab=readme-ov-file#create-a-presale-vault">
    Create a Fixed Price or FCFS or Prorata Presale Vault
  </Card>
</CardGroup>
