Skip to main content
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-sdk
quote.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',
);
Start here

What are you building?

Looking to write your own chain contracts?

Contract development, the GalaChain toolkit and the chain itself are documented on docs.galachain.com.

Go to docs.galachain.com →
HTTP APIs

Call the backends directly

GalaSwap DEX

410 operations20 groupsOpenAPI 3.0.0

Gala Launchpad

172 operations42 groupsOpenAPI 3.0.3
Packages

Everything is on npm

AI tools

Use 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.