@d8x/perpetuals-sdk 1.1.22 → 1.1.23
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 +7 -19
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -1
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
# @d8x/perpetuals-sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is a node TypeScript SDK for
|
|
4
|
+
[D8X Perpetual Futures](https://d8x.exchange/)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
D8X provides fully decentralized perpetual futures implemented on the blockchain.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
`npm install -g ts-node`
|
|
11
|
-
- install yarn [see here](https://classic.yarnpkg.com/en/docs/install/#debian-stable)
|
|
12
|
-
- clone this repo
|
|
13
|
-
- open directory of repo and type `yarn` to install packages
|
|
8
|
+
Using this SDK, you can execute many functions that the smart contracts offer, such as, providing liquidity and participating in the
|
|
9
|
+
exchange revenue, submitting on-chain orders, removing or adding collateral in one of your existing positions, executing any executable orders placed
|
|
10
|
+
and earn an execution fee, liquidating positions and earning a liquidator-fee.
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
`yarn test`
|
|
18
|
-
|
|
19
|
-
### NPM Package Deployment
|
|
20
|
-
|
|
21
|
-
`yarn build`
|
|
22
|
-
`yarn build:doc`
|
|
23
|
-
`yarn login`
|
|
24
|
-
`yarn publish`
|
|
12
|
+
Get started with the SDK [documentation](doc/d8x-perpetuals-sdk.md) or checkout [D8X gitbooks](https://d8x.gitbook.io/d8x).
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const D8X_SDK_VERSION = "1.1.
|
|
1
|
+
export declare const D8X_SDK_VERSION = "1.1.23";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const D8X_SDK_VERSION = "1.1.
|
|
1
|
+
export declare const D8X_SDK_VERSION = "1.1.23";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const D8X_SDK_VERSION = "1.1.
|
|
1
|
+
export const D8X_SDK_VERSION = "1.1.23";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d8x/perpetuals-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "Node TypeScript SDK for D8X Perpetual Futures",
|
|
5
5
|
"author": "D8X",
|
|
6
6
|
"homepage": "https://github.com/D8-X/d8x-futures-node-sdk#readme",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/D8-X/d8x-futures-node-sdk/issues"
|
|
14
14
|
},
|
|
15
|
+
"documentation": "doc",
|
|
15
16
|
"keywords": [
|
|
16
17
|
"d8x",
|
|
17
18
|
"perpetuals",
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const D8X_SDK_VERSION = "1.1.
|
|
1
|
+
export const D8X_SDK_VERSION = "1.1.23";
|