@hypermid/sdk 2.0.0 → 2.0.1
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 +33 -3
- package/package.json +34 -4
package/README.md
CHANGED
|
@@ -1,13 +1,43 @@
|
|
|
1
1
|
# @hypermid/sdk
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@hypermid/sdk)
|
|
4
|
+
[](https://www.npmjs.com/package/@hypermid/sdk)
|
|
5
|
+
[](https://www.npmjs.com/package/@hypermid/sdk)
|
|
6
|
+
[](./LICENSE)
|
|
7
|
+
[](https://bundlephobia.com/package/@hypermid/sdk)
|
|
8
|
+
|
|
9
|
+
> **Cross-chain swap, bridge & fiat on-ramp in one SDK.** 90+ chains
|
|
10
|
+
> across EVM, Solana, Bitcoin, NEAR, Sui, Tron, TON, XRP and Doge.
|
|
11
|
+
> Multi-ecosystem wallet balances. Anonymous tier — no API key
|
|
12
|
+
> required to start.
|
|
6
13
|
|
|
7
14
|
```bash
|
|
8
15
|
npm install @hypermid/sdk
|
|
9
16
|
```
|
|
10
17
|
|
|
18
|
+
```ts
|
|
19
|
+
import { Hypermid } from "@hypermid/sdk";
|
|
20
|
+
const hm = new Hypermid(); // no key, no signup
|
|
21
|
+
const { chains } = await hm.getChains(); // → 90+ chains
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Why Hypermid
|
|
25
|
+
|
|
26
|
+
- **One SDK, every ecosystem** — EVM + Solana + Bitcoin + NEAR + Sui +
|
|
27
|
+
Tron + TON + XRP + Doge through a single client. No per-chain
|
|
28
|
+
branching in your code.
|
|
29
|
+
- **Zero-setup integration** — anonymous tier works out of the box.
|
|
30
|
+
Sign up only when you need partner fee splits or higher rate limits.
|
|
31
|
+
- **Routed across the best providers** — LI.FI, NEAR Intents and
|
|
32
|
+
Hypermid SuperSwap (PulseChain native) routed automatically per
|
|
33
|
+
pair, with USDC bridge fallback.
|
|
34
|
+
- **Built-in fiat on-ramp** — RampNow integration, same SDK.
|
|
35
|
+
- **Multi-chain balances** — `getBalances(address)` returns priced
|
|
36
|
+
holdings + dust classification across every ecosystem the address
|
|
37
|
+
touches.
|
|
38
|
+
- **Dual ESM + CJS** — works in modern Node (import), AWS Lambda
|
|
39
|
+
(require), Bun, Deno, Vite, Next.js, Webpack — anywhere.
|
|
40
|
+
|
|
11
41
|
## Quick start
|
|
12
42
|
|
|
13
43
|
No API key required. The SDK works anonymously out of the box at the
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypermid/sdk",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Cross-chain swap, bridge & fiat on-ramp SDK — 90+ chains across EVM, Solana, Bitcoin, NEAR, Sui, Tron, TON. Multi-ecosystem wallet balances, partner webhooks, anonymous-tier ready (no API key required).",
|
|
5
|
+
"homepage": "https://docs.hypermid.io",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Hypermid/hypermid-sdk.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Hypermid/hypermid-sdk/issues"
|
|
12
|
+
},
|
|
5
13
|
"type": "module",
|
|
6
14
|
"main": "./dist/cjs/index.js",
|
|
7
15
|
"module": "./dist/esm/index.js",
|
|
@@ -30,11 +38,33 @@
|
|
|
30
38
|
"swap",
|
|
31
39
|
"bridge",
|
|
32
40
|
"cross-chain",
|
|
41
|
+
"cross-chain-swap",
|
|
42
|
+
"bridge-aggregator",
|
|
43
|
+
"dex-aggregator",
|
|
44
|
+
"swap-api",
|
|
45
|
+
"bridge-api",
|
|
33
46
|
"defi",
|
|
34
|
-
"
|
|
47
|
+
"defi-sdk",
|
|
48
|
+
"web3",
|
|
49
|
+
"web3-sdk",
|
|
50
|
+
"ethereum",
|
|
51
|
+
"evm",
|
|
52
|
+
"solana",
|
|
53
|
+
"bitcoin",
|
|
54
|
+
"near",
|
|
35
55
|
"near-intents",
|
|
56
|
+
"sui",
|
|
57
|
+
"tron",
|
|
58
|
+
"ton",
|
|
59
|
+
"pulsechain",
|
|
36
60
|
"onramp",
|
|
37
|
-
"
|
|
61
|
+
"fiat-onramp",
|
|
62
|
+
"wallet-balances",
|
|
63
|
+
"multi-chain",
|
|
64
|
+
"webhooks",
|
|
65
|
+
"typescript",
|
|
66
|
+
"esm",
|
|
67
|
+
"commonjs"
|
|
38
68
|
],
|
|
39
69
|
"author": "Hypermid",
|
|
40
70
|
"license": "MIT",
|