@grimoirelabs/venues 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/cli/polymarket.d.ts +3 -0
- package/dist/cli/polymarket.d.ts.map +1 -0
- package/dist/cli/polymarket.js +1025 -0
- package/dist/cli/polymarket.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/polymarket.d.ts +45 -0
- package/dist/polymarket.d.ts.map +1 -0
- package/dist/polymarket.js +557 -0
- package/dist/polymarket.js.map +1 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -9,6 +9,8 @@ Official Grimoire venue adapters bundle.
|
|
|
9
9
|
- `uniswap_v3` (Uniswap V3 SDK)
|
|
10
10
|
- `hyperliquid` (Hyperliquid SDK, offchain)
|
|
11
11
|
- `across` (Across Protocol bridge SDK)
|
|
12
|
+
- `pendle` (Pendle Hosted SDK convert adapter)
|
|
13
|
+
- `polymarket` (Polymarket CLOB offchain adapter)
|
|
12
14
|
|
|
13
15
|
## Usage
|
|
14
16
|
|
|
@@ -42,4 +44,17 @@ grimoire-morpho-blue addresses --chain 1
|
|
|
42
44
|
|
|
43
45
|
grimoire-hyperliquid mids
|
|
44
46
|
grimoire-hyperliquid l2-book --coin BTC
|
|
47
|
+
|
|
48
|
+
grimoire-polymarket status
|
|
49
|
+
grimoire-polymarket markets list --limit 10 --format json
|
|
50
|
+
grimoire-polymarket markets search "bitcoin" --limit 10 --format json
|
|
51
|
+
grimoire-polymarket search-markets --category sports --league "la liga" --open-only true --format json
|
|
52
|
+
grimoire-polymarket clob book <token_id> --format json
|
|
53
|
+
grimoire-polymarket clob price <token_id> --side buy --format json
|
|
45
54
|
```
|
|
55
|
+
|
|
56
|
+
Polymarket note:
|
|
57
|
+
|
|
58
|
+
- `grimoire-polymarket` delegates to the official `polymarket` CLI binary.
|
|
59
|
+
- Install with `brew tap Polymarket/polymarket-cli && brew install polymarket`.
|
|
60
|
+
- Set `POLYMARKET_OFFICIAL_CLI` to override binary path.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polymarket.d.ts","sourceRoot":"","sources":["../../src/cli/polymarket.ts"],"names":[],"mappings":""}
|