GalaChain core SDK 1.0.0
Signing, signers, gateway transport, token reads and writes, wallets, bridge and the shared error model every Gala SDK builds on.
This is the moving next documentation of @gala-chain/gala-core-sdk (1.0.0, dist-tag latest), rebuilt from the latest commit.
Install
npm install @gala-chain/gala-core-sdk
Peer dependencies
| Package | Range |
|---|---|
@solana/spl-token | ^0.4.15 |
@solana/web3.js | ^1.99.0 |
ethers | ^6.16.0 |
react | `^16.8.0 |
At a glance
- Guide and reference pages: 4
- API reference pages: 389
- Public exports: 376
- Documentation built from commit
bb7018d2a8fc
Pages
Agents
- Agent guide: For an AI agent: which package for which job, task recipes (sign, transfer, read), the invariants with the test that enforces each, and error codes with their fix.
Guides
- GalaChain core SDK: What the core SDK contains, how to install it, and a short guide to each area: signers, bridge, wallet providers, React, gateway reads and writes.
Reference
- Error catalog: Every error code the core SDK throws, its phase, params and when it is thrown.
Upgrading
-
Migrating from gswap-sdk 1.x: Every export that moved from gswap-sdk 1.x into core: old path to new path, renamed errors and brand identifiers.
-
API reference: generated from the package's TSDoc.