# Open a 10x long position on ETH perpetual
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": true, "sz": "1.0", "limit_px": "3500", "order_type": {"limit": {"tif": "Gtc"}}, "reduce_only": false }'
# Open a 10x long position on ETH perpetual
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": true, "sz": "1.0", "limit_px": "3500", "order_type": {"limit": {"tif": "Gtc"}}, "reduce_only": false }'
# Open a 10x long position on ETH perpetual
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": true, "sz": "1.0", "limit_px": "3500", "order_type": {"limit": {"tif": "Gtc"}}, "reduce_only": false }'
# Create sub-account for delta-neutral strategy
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/create-sub-account \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "name": "delta-neutral-arb" }'
# Create sub-account for delta-neutral strategy
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/create-sub-account \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "name": "delta-neutral-arb" }'
# Create sub-account for delta-neutral strategy
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/create-sub-account \ -H "Content-Type: application/json" \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "name": "delta-neutral-arb" }'
# Step 1: Short ETH perp on Hyperliquid
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": false, "sz": "2.0", "limit_px": "3500" }' # Step 2: Buy ETH spot via Jupiter swap
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/jupiter-swap/swap \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "outputMint": "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs", "amount": "7000000000" }'
# Step 1: Short ETH perp on Hyperliquid
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": false, "sz": "2.0", "limit_px": "3500" }' # Step 2: Buy ETH spot via Jupiter swap
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/jupiter-swap/swap \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "outputMint": "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs", "amount": "7000000000" }'
# Step 1: Short ETH perp on Hyperliquid
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/hyperliquid/place-order \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "coin": "ETH", "is_buy": false, "sz": "2.0", "limit_px": "3500" }' # Step 2: Buy ETH spot via Jupiter swap
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/jupiter-swap/swap \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "outputMint": "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs", "amount": "7000000000" }'
# Only execute when gas < 50 gwei
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/transactions/send \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "type": "TRANSFER", "to": "0x742d35cc1cf", "amount": "0.1", "gasCondition": { "maxGasPrice": "50000000000" } }'
# Only execute when gas < 50 gwei
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/transactions/send \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "type": "TRANSFER", "to": "0x742d35cc1cf", "amount": "0.1", "gasCondition": { "maxGasPrice": "50000000000" } }'
# Only execute when gas < 50 gwei
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/transactions/send \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "type": "TRANSFER", "to": "0x742d35cc1cf", "amount": "0.1", "gasCondition": { "maxGasPrice": "50000000000" } }'
# Set max leverage for perpetual trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_LEVERAGE", "rules": { "max_leverage": 10, "markets": ["ETH", "BTC"] } }'
# Set max leverage for perpetual trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_LEVERAGE", "rules": { "max_leverage": 10, "markets": ["ETH", "BTC"] } }'
# Set max leverage for perpetual trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_LEVERAGE", "rules": { "max_leverage": 10, "markets": ["ETH", "BTC"] } }'
# Cap position sizes by market
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_POSITION_USD", "rules": { "max_position_usd": 50000, "per_market_limits": { "ETH": 25000, "BTC": 25000 } } }'
# Cap position sizes by market
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_POSITION_USD", "rules": { "max_position_usd": 50000, "per_market_limits": { "ETH": 25000, "BTC": 25000 } } }'
# Cap position sizes by market
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: my-secret-password" \ -d '{ "type": "PERP_MAX_POSITION_USD", "rules": { "max_position_usd": 50000, "per_market_limits": { "ETH": 25000, "BTC": 25000 } } }'
# Get unified portfolio view
-weight: 500;">curl http://127.0.0.1:3100/v1/defi/positions \ -H "Authorization: Bearer wai_sess_<token>"
# Get unified portfolio view
-weight: 500;">curl http://127.0.0.1:3100/v1/defi/positions \ -H "Authorization: Bearer wai_sess_<token>"
# Get unified portfolio view
-weight: 500;">curl http://127.0.0.1:3100/v1/defi/positions \ -H "Authorization: Bearer wai_sess_<token>"
# Bridge USDC from Ethereum to Solana for Jupiter trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/lifi/bridge \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "fromChain": "ethereum", "toChain": "solana", "fromToken": "0xA0b86a33E6441", "toToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amount": "1000000000" }'
# Bridge USDC from Ethereum to Solana for Jupiter trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/lifi/bridge \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "fromChain": "ethereum", "toChain": "solana", "fromToken": "0xA0b86a33E6441", "toToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amount": "1000000000" }'
# Bridge USDC from Ethereum to Solana for Jupiter trading
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/actions/lifi/bridge \ -H "Authorization: Bearer wai_sess_<token>" \ -d '{ "fromChain": "ethereum", "toChain": "solana", "fromToken": "0xA0b86a33E6441", "toToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amount": "1000000000" }'
-weight: 500;">git clone https://github.com/minhoyoo-iotrust/WAIaaS.-weight: 500;">git
cd WAIaaS
-weight: 500;">docker compose up -d
-weight: 500;">git clone https://github.com/minhoyoo-iotrust/WAIaaS.-weight: 500;">git
cd WAIaaS
-weight: 500;">docker compose up -d
-weight: 500;">git clone https://github.com/minhoyoo-iotrust/WAIaaS.-weight: 500;">git
cd WAIaaS
-weight: 500;">docker compose up -d
-weight: 500;">npm -weight: 500;">install -g @waiaas/cli
waiaas quickset --mode mainnet # Creates Ethereum + Solana wallets
-weight: 500;">npm -weight: 500;">install -g @waiaas/cli
waiaas quickset --mode mainnet # Creates Ethereum + Solana wallets
-weight: 500;">npm -weight: 500;">install -g @waiaas/cli
waiaas quickset --mode mainnet # Creates Ethereum + Solana wallets
# Create spending limits and position caps
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: <password>" \ -d '{ "type": "SPENDING_LIMIT", "rules": { "instant_max_usd": 1000, "daily_limit_usd": 50000 } }'
# Create spending limits and position caps
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: <password>" \ -d '{ "type": "SPENDING_LIMIT", "rules": { "instant_max_usd": 1000, "daily_limit_usd": 50000 } }'
# Create spending limits and position caps
-weight: 500;">curl -X POST http://127.0.0.1:3100/v1/policies \ -H "X-Master-Password: <password>" \ -d '{ "type": "SPENDING_LIMIT", "rules": { "instant_max_usd": 1000, "daily_limit_usd": 50000 } }'
-weight: 500;">npm -weight: 500;">install @waiaas/sdk
-weight: 500;">npm -weight: 500;">install @waiaas/sdk
-weight: 500;">npm -weight: 500;">install @waiaas/sdk
import { WAIaaSClient } from '@waiaas/sdk'; const client = new WAIaaSClient({ baseUrl: 'http://127.0.0.1:3100', sessionToken: process.env.WAIAAS_SESSION_TOKEN,
}); // Your bot can now execute across 14 DeFi protocols
const balance = await client.getBalance();
const positions = await client.getDeFiPositions();
import { WAIaaSClient } from '@waiaas/sdk'; const client = new WAIaaSClient({ baseUrl: 'http://127.0.0.1:3100', sessionToken: process.env.WAIAAS_SESSION_TOKEN,
}); // Your bot can now execute across 14 DeFi protocols
const balance = await client.getBalance();
const positions = await client.getDeFiPositions();
import { WAIaaSClient } from '@waiaas/sdk'; const client = new WAIaaSClient({ baseUrl: 'http://127.0.0.1:3100', sessionToken: process.env.WAIAAS_SESSION_TOKEN,
}); // Your bot can now execute across 14 DeFi protocols
const balance = await client.getBalance();
const positions = await client.getDeFiPositions();