Example
Walk through a complete integration from setup to execution.
export POLYSCOUT_API_KEY="your_api_key"
export POLYSCOUT_API_URL="https://api.polyscout.io"Step 1: Confirm Your Key Works
curl -sS \
-H "Authorization: Bearer $POLYSCOUT_API_KEY" \
"$POLYSCOUT_API_URL/v1/me"{ "user": { "id": "...", "telegram_id": "...", "username": "...", "default_wallet_id": null } }Step 2: Register a Remote Signer Wallet
IDEMPOTENCY_KEY="$(uuidgen)"
curl -sS -X POST \
-H "Authorization: Bearer $POLYSCOUT_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"owner_address": "0xYourSignerAddress",
"url": "https://your-signer.example",
"shared_secret": "change-me",
"label": "polygun-user-001",
"deploy_safe": true,
"set_as_default": true
}' \
"$POLYSCOUT_API_URL/v1/wallets/remote-http"Step 3: Verify the Remote Signer
Step 4: Create a Strategy
Step 5: Start the Strategy
Step 6: Monitor Executions
Step 7: Stop the Strategy
Practical Notes
Last updated