# Technical Integration

#### OpenClaw SDK Requirements

Skills must be compatible with OpenClaw Agent v2.0+

```json
{
  "name": "your-skill-name",
  "version": "1.0.0",
  "openclaw": {
    "minVersion": "2.0.0",
    "permissions": ["network", "filesystem"]
  },
  "dependencies": {
    "@openclaw/sdk": "^2.1.0"
  }
}
```

#### Skill Structure

```
your-skill/
├── skill.json          # Metadata and config
├── index.ts            # Main entry point
├── lib/                # Helper functions
├── tests/              # Test suites
├── README.md           # Documentation
└── LICENSE             # License file
```

#### API Integration Example

```typescript
// skill.ts
import { Skill } from '@openclaw/sdk';
import { BankrAPI } from './lib/bankr';

export default {
  name: 'base-trader',
  
  async execute(context, params) {
    const { symbol, amount, stopLoss, takeProfit } = params;
    
    // Validate inputs
    if (!context.config.apiKey) {
      throw new Error('Bankr API key not configured');
    }
    
    // Execute trade
    const trade = await BankrAPI.createOrder({
      symbol,
      side: 'buy',
      amount,
      stopLoss,
      takeProfit
    });
    
    return {
      success: true,
      orderId: trade.id,
      executedPrice: trade.price
    };
  }
};
```

***

### Economics & Fees

#### Revenue Breakdown

| Party             | Percentage | Description                        |
| ----------------- | ---------- | ---------------------------------- |
| **Skill Creator** | 95%        | Direct wallet payment on each sale |
| **Platform Fee**  | 5%         | ClawZone operational costs         |
|                   |            |                                    |

#### Additional Costs

* **Solana Network Fee**: \~0.000005 SOL per transaction (negligible)
* **Featured Listing**: 100 $CZONE per week
* **Homepage Banner**: 500 $CZONE per week

***

### OpenClaw Ecosystem

#### What is OpenClaw?

**OpenClaw** is an open-source framework for building autonomous AI agents that can interact with blockchain networks, APIs, and execute complex workflows.

#### ClawZone's Role

ClawZone is the **economic layer** of OpenClaw:

* **OpenClaw**: The engine (open-source)
* **ClawZone**: The marketplace (monetization)

#### Ecosystem Components

```
┌─────────────────────────────────────────────────────────┐
│                    OPENCLAW ECOSYSTEM                   │
├─────────────────────────────────────────────────────────┤
│                                                         │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────┐  │
│  │ OpenClaw SDK │───▶│   ClawZone   │───▶│  $CZONE │
│  │   (Free)     │    │ (Monetize)   │    │ (Token)  │  │
│  └──────────────┘    └──────────────┘    └──────────┘  │
│         │                   │                  │        │
│         ▼                   ▼                  ▼        │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────┐  │
│  │   Builders   │    │    Buyers    │    │ Stakers  │  │
│  └──────────────┘    └──────────────┘    └──────────┘  │
│                                                         │
└─────────────────────────────────────────────────────────┘
```

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clawzone.gitbook.io/clawzone-docs/technical-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
