GalaChain developer docs
Build on GalaChain.
SDKs for trading and launching tokens, HTTP APIs, and an MCP server that gives AI tools the same abilities.
npm install @gala-chain/gswap-sdk @gala-chain/gala-core-sdkquote.ts
import { PrivateKeySigner } from '@gala-chain/gala-core-sdk';
import { GSwap } from '@gala-chain/gswap-sdk';
const gSwap = new GSwap({
env: 'stage',
signer: new PrivateKeySigner(privateKey),
walletAddress,
});
const quote = await gSwap.quoting.quoteExactInput(
'GALA|Unit|none|none', 'GUSDC|Unit|none|none', '100',
);
What are you building?
Trade on the DEX
Quote, swap and manage liquidity positions, with a realtime stream.
gswap-sdk →Launch and trade tokens
Bonding-curve pools, buy and sell, token creation, holders and chat.
launchpad-sdk →Sign and send
Signers, wallet providers, gateway reads and writes, the bridge.
gala-core-sdk →Use Gala from AI tools
One MCP server with selectable toolsets, for Claude, Cursor and other clients.
gala-mcp-server →Looking to write your own chain contracts?
Contract development, the GalaChain toolkit and the chain itself are documented on docs.galachain.com.
Call the backends directly
Everything is on npm
GalaChain core SDK@gala-chain/gala-core-sdk · 1.0.0Signing, signers, gateway transport, token reads and writes, wallets, bridge and the shared error model every Gala SDK builds on.
npm install @gala-chain/gala-core-sdkgSwap SDK@gala-chain/gswap-sdk · 2.0.0The TypeScript SDK for the GalaChain DEX contract: quoting, queued swaps, liquidity positions, market data and the realtime stream.npm install @gala-chain/gswap-sdkGala Launchpad SDK@gala-chain/launchpad-sdk · 9.0.0The TypeScript SDK for the Gala Launchpad backend: token launches, bonding-curve trading, balances, bridging and real-time events.343 Public methodsnpm install @gala-chain/launchpad-sdkGala MCP server@gala-chain/gala-mcp-server · 1.0.0The Gala MCP server: wallet, bridge, Launchpad and GSwap DEX tools and prompts over stdio, in toolsets you select.324 MCP tools286 MCP prompts68 SDK topicsnpm install -g @gala-chain/gala-mcp-serverUse Gala from AI tools
- Use Gala from AI tools: The ways to use Gala from an AI assistant or agent (the omni-tool Claude Code plugin, the MCP server, the per-package agent guides, llms.txt) and which to choose.
- MCP server setup: Install and configure the Gala MCP server for Claude Code, Claude Desktop, Cursor or any stdio client: the command, toolsets, every environment variable and how to check it works.
- The omni-tool plugin for Claude Code: What the omni-tool Claude Code plugin installs (the server, a teaching agent, commands, a skill, a hook), the smaller launchpad and swap plugins, how it relates to the MCP server, and its safety model.
- Security and keys for agents: How to give an AI agent access to a wallet safely: start read-only, keep keys out of the conversation, stage before prod, quote before writing, toolsets, and what the code enforces.
- Troubleshooting AI tool setups: Symptom, cause and fix for a server that does not start, tools that are missing or answer with errors, and the plugin and the server both installed.