Releases: phantom/phantom-connect-sdk
@phantom/phantom-openclaw-plugin@1.2.7
@phantom/openclaw-plugin
1.2.6
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/cli@1.2.6
- @phantom/phantom-api-client@1.2.1
1.2.0
Minor Changes
- ab708eb: Updated to use CLI
Patch Changes
- Updated dependencies [ab708eb]
- @phantom/cli@1.1.0
- @phantom/phantom-api-client@1.2.0
1.0.0-beta.0
Major Changes
- aa1450d: Auth 2.0 and DCR flow enabled
Patch Changes
- Updated dependencies [aa1450d]
- @phantom/mcp-server@1.0.0-beta.0
- @phantom/phantom-api-client@1.0.0-beta.0
0.2.4
Patch Changes
- 04a0319: Fix dependencies
- Updated dependencies [04a0319]
- @phantom/mcp-server@0.2.4
- @phantom/phantom-api-client@0.1.2
0.2.3
Patch Changes
- Phantom API Client
- 00da963: Update default api endpoint
- Updated dependencies
- Updated dependencies [00da963]
- @phantom/phantom-api-client@0.1.1
- @phantom/mcp-server@0.2.3
0.2.2
Patch Changes
- 92e3472: Perps Support
- Updated dependencies [92e3472]
- @phantom/mcp-server@0.2.2
0.2.1
Patch Changes
- 6ba2806: Fix add phantom_login
- Updated dependencies [6ba2806]
- @phantom/mcp-server@0.2.1
0.2.0
Minor Changes
- e5401de: Updated MCP interfaces to support EVM transactions, added balance fetching.
Patch Changes
- 3b452b7: Updated descriptions and added new get balances method. Fixed openclaw plugin identifier
- Updated dependencies [3b452b7]
- Updated dependencies [e5401de]
- @phantom/mcp-server@0.2.0
0.1.8
Patch Changes
-
9007383: Fix derivation index handling in MCP tools by accepting numeric strings (for example,
"0") and coercing them to numbers before validation.Improve
buy_token405 errors with explicit guidance whenquoteApiUrlpoints to a non-Phantom-compatible endpoint.Add guardrails in OpenClaw wallet docs/skill to keep
quoteApiUrlunset by default and only override for explicit debugging. -
Updated dependencies [9007383]
- @phantom/mcp-server@0.1.8
0.1.7
Patch Changes
-
Fix OpenClaw tool schema registration to preserve MCP parameter typing and enum constraints so agents generate valid tool calls.
Improve
buy_tokenagent-facing descriptions and wallet skill docs to clarify swap-intent vs buy-intent usage (exactOut) and route/landing reliability guidance.Add regression tests for OpenClaw schema conversion to prevent future loss of required fields, enum constraints, and typed parameter validation.
-
Updated dependencies
- @phantom/mcp-server@0.1.7
0.1.6
Patch Changes
-
26d1963: Fix numeric amount validation edge cases in MCP server
parseBaseUnitAmount: reject numbers aboveNumber.MAX_SAFE_INTEGERto prevent silent precision loss; callers should pass strings for large base unit amountsparseUiAmount: handle exponential notation (e.g.,1e-7) by usingtoFixed(decimals)instead ofString(), which previously produced strings like"1e-7"that failed regex validation
-
Updated dependencies [26d1963]
- @phantom/mcp-server@0.1.5
0.1.5
Patch Changes
-
Align swap quote requests with Terminal client-auth behavior by adding Phantom client auth headers (
X-PhantomAuthToken,X-PhantomNonce) and standard Phantom platform/version headers tobuy_token.Keep compatibility headers (
x-api-key,X-App-Id) in quote requests and add test coverage for deterministic client-auth header generation. -
Updated dependencies
- @phantom/mcp-server@0.1.4
0.1.4
Patch Changes
-
2977094: Fix OpenClaw startup failures caused by unwanted DCR registration.
@phantom/openclaw-plugin: correctly reads plugin-scoped config from full OpenClawapi.configpayload and fails fast with a clear error whenPHANTOM_APP_IDis missing.@phantom/mcp-server: uses constructorappIdasclient_idwhen it is a pre-registered UUID, avoiding DCR for configured apps.
-
Updated dependencies [2977094]
- @phantom/mcp-server@0.1.3
0.1.3
Patch Changes
- Add the required
configSchemato the OpenClaw plugin manifest so plugin installation no longer fails OpenClaw config validation.
0.1.2
Patch Changes
- Fix OpenClaw config handling so plugin-provided Phantom auth settings are applied to environment variables before session initialization, preventing incorrect fallback to OAuth dynamic client registration.
0.1.1
Patch Changes
- 148e8e3: Improve documentation for MCP server and OpenClaw plugin:
- Add comprehensive Quick Start guide with installation checklist
- Add Network IDs Reference section with CAIP-2/CAIP-10 format examples
- Add complete documentation for all 5 tools (transfer_tokens and buy_token now fully documented)
- Add safety considerations and confirmation requirements for financial operations
- Fix incorrect Solana devnet network identifier
- Add redirect URL configuration instructions for Phantom Portal setup
- Updated dependencies [148e8e3]
- Updated dependencies [132b012]
- Updated dependencies [d769c51]
- @phantom/mcp-server@0.1.1
0.1.0
Major Changes
- Renamed from openclaw-mcp to phantom-openclaw-plugin - Better alignment with Phantom branding and OpenClaw plugin conventions
- Direct integration with @phantom/mcp-server - No longer uses a generic MCP bridge; instead directly depends on and integrates the Phantom MCP Server
- Automatic session management - Handles OAuth authentication and session persistence automatically
- Modular architecture:
src/session.ts- Wraps SessionManager for authentication lifecyclesrc/tools/- Registers Phantom MCP tools directly as OpenClaw toolssrc/client/- OpenClaw API type definitionsskills/- User-facing workflow skills
- Added comprehensive README - Installation, configuration, usage examples, and troubleshooting
- Added phantom-wallet skill - Pre-built workflow for common wallet operations
- Improved type safety - Full TypeScript support with proper type definitions
- Updated package metadata - New package name
@phantom/openclaw-plugin
Features
- Direct integration with
@phantom/mcp-serverfor reliable wallet operations - Automatic OAuth flow and session management on first use
- Native Phantom MCP tools exposed as OpenClaw tools
- Type-safe parameter validation with TypeBox
- Automatic result transformation to OpenClaw format
- Zero configuration required
Available Tools
get_wallet_addresses- Retrieve wallet addresses for all supported chainssign_message- Sign arbitrary messagessign_transaction- Sign blockchain transactionstransfer_tokens- Transfer tokens to addressesbuy_token- Purchase tokens
@phantom/mcp-server@1.2.7
@phantom/mcp-server
1.2.6
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/cli@1.2.6
1.2.0
Minor Changes
- ab708eb: Updated to use CLI
Patch Changes
- Updated dependencies [ab708eb]
- @phantom/cli@1.1.0
1.0.0-beta.0
Major Changes
- aa1450d: Auth 2.0 and DCR flow enabled
Patch Changes
- Updated dependencies [aa1450d]
- @phantom/api-key-stamper@2.0.0-beta.0
- @phantom/auth2@2.0.0-beta.0
- @phantom/base64url@2.0.0-beta.0
- @phantom/client@2.0.0-beta.0
- @phantom/constants@2.0.0-beta.0
- @phantom/crypto@2.0.0-beta.0
- @phantom/parsers@2.0.0-beta.0
- @phantom/perps-client@1.0.0-beta.0
- @phantom/phantom-api-client@1.0.0-beta.0
- @phantom/sdk-types@2.0.0-beta.0
- @phantom/server-sdk@2.0.0-beta.0
- @phantom/utils@2.0.0-beta.0
0.2.4
Patch Changes
- 04a0319: Fix dependencies
- Updated dependencies [04a0319]
- @phantom/perps-client@0.1.4
- @phantom/phantom-api-client@0.1.2
0.2.3
Patch Changes
- Phantom API Client
- 00da963: Update default api endpoint
- Updated dependencies
- Updated dependencies [00da963]
- @phantom/phantom-api-client@0.1.1
- @phantom/perps-client@0.1.2
0.2.2
Patch Changes
- 92e3472: Perps Support
- Updated dependencies [92e3472]
- @phantom/perps-client@0.1.1
0.2.1
Patch Changes
- 6ba2806: Fix add phantom_login
- Updated dependencies [5d607db]
- @phantom/client@1.0.7
- @phantom/api-key-stamper@1.0.7
- @phantom/base64url@1.0.7
- @phantom/constants@1.0.7
- @phantom/crypto@1.0.7
- @phantom/parsers@1.0.7
- @phantom/server-sdk@1.0.7
- @phantom/utils@1.0.7
0.2.0
Minor Changes
- e5401de: Updated MCP interfaces to support EVM transactions, added balance fetching.
Patch Changes
- 3b452b7: Updated descriptions and added new get balances method. Fixed openclaw plugin identifier
- Updated dependencies [a8287d6]
- Updated dependencies [7bdd9b8]
- @phantom/api-key-stamper@1.0.6
- @phantom/base64url@1.0.6
- @phantom/client@1.0.6
- @phantom/constants@1.0.6
- @phantom/crypto@1.0.6
- @phantom/parsers@1.0.6
- @phantom/server-sdk@1.0.6
- @phantom/utils@1.0.6
0.1.8
Patch Changes
-
9007383: Fix derivation index handling in MCP tools by accepting numeric strings (for example,
"0") and coercing them to numbers before validation.Improve
buy_token405 errors with explicit guidance whenquoteApiUrlpoints to a non-Phantom-compatible endpoint.Add guardrails in OpenClaw wallet docs/skill to keep
quoteApiUrlunset by default and only override for explicit debugging. -
Updated dependencies [2d00fb0]
- @phantom/api-key-stamper@1.0.4
- @phantom/base64url@1.0.4
- @phantom/client@1.0.4
- @phantom/constants@1.0.4
- @phantom/crypto@1.0.4
- @phantom/server-sdk@1.0.4
- @phantom/utils@1.0.4
0.1.7
Patch Changes
- 51a1786: Update headers
- Updated dependencies [5a57f30]
- @phantom/api-key-stamper@1.0.3
- @phantom/base64url@1.0.3
- @phantom/client@1.0.3
- @phantom/constants@1.0.3
- @phantom/crypto@1.0.3
- @phantom/server-sdk@1.0.3
- @phantom/utils@1.0.3
0.1.6
Patch Changes
- Clarify
buy_tokenagent-facing behavior for swap-intent vs buy-intent flows (exactOut) and route/landing reliability guidance. - Add tool annotations and privacy policy for Claude MCP directory submission
- Add
readOnlyHint,destructiveHint, andopenWorldHintannotations to all 5 tools - Add Privacy Policy section to README
- Add
0.1.5
Patch Changes
- 26d1963: Fix numeric amount validation edge cases in MCP server
parseBaseUnitAmount: reject numbers aboveNumber.MAX_SAFE_INTEGERto prevent silent precision loss; callers should pass strings for large base unit amountsparseUiAmount: handle exponential notation (e.g.,1e-7) by usingtoFixed(decimals)instead ofString(), which previously produced strings like"1e-7"that failed regex validation
0.1.4
Patch Changes
-
Align swap quote requests with Terminal client-auth behavior by adding Phantom client auth headers (
X-PhantomAuthToken,X-PhantomNonce) and standard Phantom platform/version headers tobuy_token.Keep compatibility headers (
x-api-key,X-App-Id) in quote requests and add test coverage for deterministic client-auth header generation.
0.1.3
Patch Changes
- 2977094: Fix OpenClaw startup failures caused by unwanted DCR registration.
@phantom/openclaw-plugin: correctly reads plugin-scoped config from full OpenClawapi.configpayload and fails fast with a clear error whenPHANTOM_APP_IDis missing.
@phantom/cli@1.2.7
@phantom/cli
1.2.6
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/api-key-stamper@2.0.2
- @phantom/auth2@2.0.2
- @phantom/base64url@2.0.2
- @phantom/client@2.0.2
- @phantom/constants@2.0.2
- @phantom/crypto@2.0.2
- @phantom/parsers@2.0.2
- @phantom/perps-client@1.2.1
- @phantom/phantom-api-client@1.2.1
- @phantom/sdk-types@2.0.2
- @phantom/utils@2.0.2
1.1.0
Minor Changes
- ab708eb: Updated to use CLI
Patch Changes
- Updated dependencies [ab708eb]
- @phantom/perps-client@1.2.0
- @phantom/phantom-api-client@1.2.0
@phantom/wallet-sdk-ui@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
@phantom/utils@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
@phantom/server-sdk@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/api-key-stamper@2.0.2
- @phantom/base64url@2.0.2
- @phantom/client@2.0.2
- @phantom/constants@2.0.2
- @phantom/parsers@2.0.2
- @phantom/sdk-types@2.0.2
- @phantom/utils@2.0.2
@phantom/sdk-types@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
@phantom/react-sdk@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/browser-sdk@2.0.2
- @phantom/chain-interfaces@2.0.2
- @phantom/constants@2.0.2
- @phantom/wallet-sdk-ui@2.0.2
@phantom/react-native-sdk@2.0.2
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/api-key-stamper@2.0.2
- @phantom/auth2@2.0.2
- @phantom/base64url@2.0.2
- @phantom/chain-interfaces@2.0.2
- @phantom/client@2.0.2
- @phantom/constants@2.0.2
- @phantom/crypto@2.0.2
- @phantom/embedded-provider-core@2.0.2
- @phantom/sdk-types@2.0.2
- @phantom/wallet-sdk-ui@2.0.2
@phantom/phantom-openclaw-plugin@1.2.6
Patch Changes
- 1e542fb: upgrade packages, improving commands
- Updated dependencies [1e542fb]
- @phantom/cli@1.2.6
- @phantom/phantom-api-client@1.2.1