@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 CHANGED
@@ -1,24 +1,12 @@
1
1
  # @d8x/perpetuals-sdk
2
2
 
3
- Node TypeScript SDK for D8X Perpetual Futures
3
+ This is a node TypeScript SDK for
4
+ [D8X Perpetual Futures](https://d8x.exchange/)
4
5
 
5
- ### Installations
6
+ D8X provides fully decentralized perpetual futures implemented on the blockchain.
6
7
 
7
- - install node via nvm, [see here](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html)
8
- - install typescript
9
- `npm install -g typescript`
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
- ### Test
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).
@@ -1 +1 @@
1
- export declare const D8X_SDK_VERSION = "1.1.22";
1
+ export declare const D8X_SDK_VERSION = "1.1.23";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.D8X_SDK_VERSION = void 0;
4
- exports.D8X_SDK_VERSION = "1.1.22";
4
+ exports.D8X_SDK_VERSION = "1.1.23";
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- export declare const D8X_SDK_VERSION = "1.1.22";
1
+ export declare const D8X_SDK_VERSION = "1.1.23";
@@ -1,2 +1,2 @@
1
- export const D8X_SDK_VERSION = "1.1.22";
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.22",
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.22";
1
+ export const D8X_SDK_VERSION = "1.1.23";