GDEX Trading Skills
Deep dive on all 14 GDEX trading skills โ capabilities, example prompts, supported chains, and the authentication flow
Supported Chains
Chain
Chain ID
Authentication Flow
import {
generateGdexSessionKeyPair,
buildGdexSignInMessage,
buildGdexSignInComputedData,
} from '@gdexsdk/gdex-skill';
import { ethers } from 'ethers';
// 1. Generate a disposable session key pair
const sessionKeyPair = generateGdexSessionKeyPair();
// 2. Build the sign-in message with your wallet address
const message = buildGdexSignInMessage({
walletAddress: '0xYourWalletAddress',
sessionPublicKey: sessionKeyPair.publicKey,
});
// 3. Sign the message with your wallet
const wallet = new ethers.Wallet(privateKey);
const signature = await wallet.signMessage(message);
// 4. Build computed authentication data
const computedData = buildGdexSignInComputedData({
message,
signature,
sessionKeyPair,
});Skill Reference
gdex-authentication
gdex-authenticationgdex-wallet-setup
gdex-wallet-setupgdex-onboarding
gdex-onboardingTool
Description
gdex-spot-trading
gdex-spot-tradinggdex-limit-orders
gdex-limit-ordersgdex-token-discovery
gdex-token-discoverygdex-portfolio
gdex-portfoliogdex-bridge
gdex-bridgegdex-perp-trading
gdex-perp-tradinggdex-perp-funding
gdex-perp-fundinggdex-copy-trading
gdex-copy-tradinggdex-perp-copy-trading
gdex-perp-copy-tradinggdex-trading
gdex-tradinggdex-sdk-debugging
gdex-sdk-debuggingHow Skills Interact with the GDEX SDK
Last updated