Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions skills/sorin-skill/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ It identifies the user's intent, selects the most relevant gateway endpoint, and

## Gateway

- Base URL: `https://defi-tools-proxy.saharaa.info`
- Base URL: `https://tools.saharaai.com/api`
- API key env var: `DEFI_TOOLS_API_KEY`
- Auth header: `Authorization: Bearer ${DEFI_TOOLS_API_KEY}`
- Accept header: `accept: text/plain`

Default request template:

```bash
GET https://defi-tools-proxy.saharaa.info/<path>?<query>
GET https://tools.saharaai.com/api/<path>?<query>
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -79,7 +79,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Pool analysis example:

```bash
GET https://defi-tools-proxy.saharaa.info/pool/analysis?chain=Ethereum
GET https://tools.saharaai.com/api/pool/analysis?chain=Ethereum
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand Down Expand Up @@ -112,7 +112,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/token/analysis?token_symbol=ETH&quote_currency=USDT
GET https://tools.saharaai.com/api/token/analysis?token_symbol=ETH&quote_currency=USDT
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -132,7 +132,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/pool/analysis?chain=Ethereum&protocol=lido&token_symbol=ETH
GET https://tools.saharaai.com/api/pool/analysis?chain=Ethereum&protocol=lido&token_symbol=ETH
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -148,7 +148,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/chain/analysis?chainName=Ethereum
GET https://tools.saharaai.com/api/chain/analysis?chainName=Ethereum
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -161,7 +161,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/protocol/analysis?protocol=aave
GET https://tools.saharaai.com/api/protocol/analysis?protocol=aave
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -176,7 +176,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/project/analysis?projectName=berachain
GET https://tools.saharaai.com/api/project/analysis?projectName=berachain
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand Down
2 changes: 1 addition & 1 deletion skills/sorin-skill/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sorin Skill routes DeFi questions about tokens, pools, chains, protocols, and pr
## Prerequisites

- `DEFI_TOOLS_API_KEY` set in the environment.
- Network access to `https://defi-tools-proxy.saharaa.info`.
- Network access to `https://tools.saharaai.com/api`.
- Required user inputs such as token symbol, protocol name, project name, chain name, or pool filters.

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion skills/sorin-skill/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ components:
dir: "."

api_calls:
- defi-tools-proxy.saharaa.info
- tools.saharaai.com/api