Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
caa9695
Sync package-lock.json
Kenadia Oct 20, 2020
777e2fb
Update SSH key
Kenadia Oct 20, 2020
f214d7c
Add module structure (#1)
Kenadia Oct 20, 2020
e5a07af
Fix package name with dydx prefix
Kenadia Oct 20, 2020
a126b93
Add axios module (#3)
Kenadia Oct 20, 2020
3030ce2
Add public clients [BAC-516] (#2)
samweinberg23 Oct 21, 2020
16d7b1a
v0.0.2
Kenadia Oct 21, 2020
e1c205c
Add support for some private endpoints (#4)
Kenadia Oct 21, 2020
e27865e
branch next: Updates for librarian with auth (#7)
Kenadia Oct 23, 2020
bc0715e
v0.0.5 Make minor fixes for integration tests (#9)
Kenadia Oct 26, 2020
cdae38c
v0.0.6: add create withdrawal [BAC-525] (#8)
samweinberg23 Oct 26, 2020
18d065e
v0.0.7: remove nsb-dev [BAC-524] (#10)
samweinberg23 Oct 26, 2020
ea67a2d
v0.0.7 Update onboarding (#11)
Kenadia Oct 27, 2020
a3d894f
Add async
Kenadia Oct 27, 2020
2d8738c
v0.0.8
Kenadia Oct 27, 2020
471d06f
v0.0.9: Add public/private endpoints [BAC-532] (#13)
samweinberg23 Oct 27, 2020
cd0a923
v0.0.10: sign onboarding (#12)
samweinberg23 Oct 27, 2020
c2dc1ea
v0.0.11: add key validation [BAC-531] (#14)
samweinberg23 Oct 28, 2020
1761131
Allow signing from web3 wallet (#16)
Kenadia Oct 28, 2020
96205e3
Disable signatures (#19)
Kenadia Oct 29, 2020
9d855e2
v0.0.13
Kenadia Oct 29, 2020
86ff2ce
Fix lint and tests
Kenadia Oct 29, 2020
c2fdaa3
v0.0.14 Move uuid to dependencies
Kenadia Oct 29, 2020
247ec1a
v0.0.13: Adds return types presupposing a 200/201 is returned [BAC-53…
samweinberg23 Oct 29, 2020
b98b18e
v0.0.15: make authorization EIP712 and add helpers [WIP] (#17)
samweinberg23 Oct 30, 2020
caf20b3
v0.0.16 Miscellaneous cleanup (#20)
Kenadia Nov 24, 2020
c65d1ac
v0.0.17 Fix onboarding for frontend (#21)
Kenadia Nov 24, 2020
1c6640e
v0.0.18: allow createUser to pass in a signature (#22)
samweinberg23 Nov 30, 2020
169c5d0
add documentation (#23)
samweinberg23 Dec 1, 2020
1298f3b
Update starkex-lib (#24)
Kenadia Dec 11, 2020
89db037
v0.0.20 (#25)
Kenadia Dec 11, 2020
671fe63
v0.0.21 Remove createDeposit() (#27)
Kenadia Dec 14, 2020
90b697f
v0.0.22: bump starkex-lib (#28)
samweinberg23 Dec 15, 2020
bcbd3a6
v0.0.23: readd deposit [BAC-627] (#29)
samweinberg23 Dec 17, 2020
d11969b
v0.1.0 Update starkex-lib to v0.5.0 (#31)
Kenadia Dec 24, 2020
ad4d782
v0.1.1 Fix getOrderBook return type (#32)
Kenadia Dec 24, 2020
367db28
v0.1.2: Add Get Candles to TS (#33)
samweinberg23 Dec 30, 2020
70b5cba
v0.1.3: add get fast withdrawal (#34)
samweinberg23 Dec 30, 2020
c3eed3a
Add Apache 2.0 License (GitHub template) (#35)
Kenadia Jan 6, 2021
7c9a854
Update README, and license in package.json (#36)
Kenadia Jan 6, 2021
c4633d5
v0.2.0 Update API key request signed message format (#37)
Kenadia Jan 7, 2021
e67e7c6
v0.2.1 Update axios
Kenadia Jan 7, 2021
1b875c2
Use node-service-base-dev (#39)
Kenadia Jan 7, 2021
63a215b
fix typos and bump (#40)
samweinberg23 Jan 7, 2021
574db97
Use node-service-base-dev (#38)
Kenadia Jan 8, 2021
0ed818b
Fix off chain action sig verification (#41)
Kenadia Jan 8, 2021
8383137
v0.3.0: Update Ethereum signature format (#42)
Kenadia Jan 8, 2021
405d7a9
Run Ganache on CircleCI for tests (fix tests) (#43)
Kenadia Jan 10, 2021
d56ac12
v0.3.1 Add support for Eth calls via starkex-eth (#44)
Kenadia Jan 13, 2021
ec28562
v0.3.2 Update Ropsten USDC asset ID (#45)
Kenadia Jan 16, 2021
688a5fd
v0.3.3: Update MarketResponseObject (#46)
Jan 18, 2021
36ac6a5
v0.4.0 Update starkex-lib@0.7.0 (limit feee change) (#47)
Kenadia Jan 18, 2021
0f27fe6
v0.4.1: Small fixes (#49)
Jan 20, 2021
fa68d80
v0.4.2: fix generateQueryPath (#50)
Jan 20, 2021
905ce16
v0.5.0 Update starkex-lib (expiration change) (#48)
Kenadia Jan 20, 2021
c711a1c
v0.6.0 generate fast withdrawal signature (#52)
aan1092j Feb 2, 2021
5726650
Api (#55)
samweinberg23 Feb 2, 2021
3b9f17a
0.7.1 Add method for STARK key derivation (#56)
Kenadia Feb 3, 2021
59b110c
v0.7.2 Update starkex-lib (worker thread optional) (#57)
Kenadia Feb 3, 2021
353e9ea
v0.7.3 Add method for API key recovery (#58)
Kenadia Feb 3, 2021
06f3592
remove getApiKey arg (#59)
samweinberg23 Feb 3, 2021
1c8a80b
fix return type of get api-keys (#60)
samweinberg23 Feb 3, 2021
59f2872
v0.8.0: Bump starkex-eth to new Ropsten address (v0.6.0) (#61)
Feb 4, 2021
cee6698
v0.9.0 update to starkex-lib v0.10.2 (#63)
aan1092j Feb 6, 2021
c6981c2
bump starkwarex-lib (#65)
samweinberg23 Feb 9, 2021
f240575
v.0.10.0: Bump packages (#66)
Feb 10, 2021
5eeae15
v0.10.1: fix AvailableFunds response (#68)
Feb 15, 2021
cd74648
v0.11.0 Update starkex-lib (pass in networkId) (#69)
Kenadia Feb 15, 2021
f212e62
v0.11.1: fix types for (public) get /v3/fast-withdrawals endpoint [BA…
Feb 16, 2021
80be9ad
v0.11.2: fix GET /v3/fast-withdrawals request params [BAC-890] (#71)
Feb 16, 2021
286eed9
v0.12.0: Update starkex-eth to v0.11.0 (#72)
Feb 20, 2021
d927daf
v0.13.0 Add domain to onboarding signature (#73)
Kenadia Feb 20, 2021
25bf73b
v0.13.1 Fix onboarding mainnet (#74)
Kenadia Feb 20, 2021
42039f2
v0.14.0 Use TypedData by default for onboarding signatures (#75)
Kenadia Feb 22, 2021
0388e61
v0.14.1 Fix EIP 712 signing w/ local key (#76)
Kenadia Feb 22, 2021
d9997ba
v0.14.2 Add personal_sign signing method (#77)
Kenadia Mar 4, 2021
b190ee6
v0.14.3 Fix personal_sign to work with Web3ProviderEngine (#78)
Kenadia Mar 4, 2021
b3b7bad
v0.14.3 (#79)
Kenadia Mar 4, 2021
b394c20
update return types for canceling orders (#80)
samweinberg23 Mar 5, 2021
ea102c7
bump to 1.0.0 (#81)
samweinberg23 Mar 10, 2021
d8d409f
v1.0.1: Bump starkex-eth to v.0.11.2 (#82)
Mar 13, 2021
3db7ffc
Update Coinbase Wallet RPC method (#83)
everettwho Mar 22, 2021
624e1f7
add historical-pnl to public client (#84)
samweinberg23 Mar 30, 2021
693958c
bump starkex-lib (#85)
samweinberg23 Mar 31, 2021
c754fc9
make pnl get private (#86)
samweinberg23 Mar 31, 2021
2b58e21
make recovery and onboard have the same default signingMethod (#87)
samweinberg23 Mar 31, 2021
4ea2ed1
allow generic params (#88)
samweinberg23 Apr 1, 2021
1d026b9
v1.0.8: remove toAddress from post withdrawal (#89)
samweinberg23 Apr 1, 2021
05a8d58
v1.0.9: pass referredByAffiliateLink as optional param in createUser …
samweinberg23 Apr 2, 2021
bf7a778
v1.10.0 Add Clock module (#91)
Apr 6, 2021
3479818
Fix get timestamp adjustment (#92)
Kenadia Apr 6, 2021
7f16da3
add new markets (#93)
samweinberg23 Apr 12, 2021
bab542d
bump starkex-lib (#94)
samweinberg23 Apr 12, 2021
9d7241d
v1.0.14 add POST/ transfers (#95)
aan1092j Apr 19, 2021
d58c275
Add examples directory w/ ws example (#96)
Kenadia Apr 21, 2021
aede369
v1.0.5: Add public GET v3/config request (#97)
Apr 21, 2021
6418414
bump market object (#98)
samweinberg23 Apr 23, 2021
0784bfd
bump for new markets (#99)
samweinberg23 Apr 28, 2021
5bc8692
Add link to docs in readme (#100)
samweinberg23 May 27, 2021
eff8fdf
bump for new markets (#101)
samweinberg23 Jun 7, 2021
a4c5684
Remove outdated comments (#104)
Kenadia Jun 21, 2021
1a6e431
v1.0.19: expose private get endpoint as generic get [BAC-1463] (#102)
samweinberg23 Jun 21, 2021
c95e773
add email endpoints to client (#105)
samweinberg23 Jul 29, 2021
8f687f9
Add leaderboard endpoints to client [BAC-1641] (#106)
Aug 2, 2021
4e7d787
Remove accountId as a param for historical funding (#107)
Aug 3, 2021
7bc6b51
v1.0.23 Add new candle types to v3-client (#110)
Aug 13, 2021
9069739
1.0.24 Add rewards endpoints [BAC-1688] (#111)
Aug 16, 2021
165289f
new candle resolutions (#113)
Aug 16, 2021
a6a81a9
update order types (#115)
samweinberg23 Aug 23, 2021
a61e4d8
update put user with isSharing fields and appropriate optional fields…
samweinberg23 Sep 1, 2021
b6d1855
fix spelling (#118)
samweinberg23 Sep 1, 2021
5dc68a8
bump client (#119)
samweinberg23 Sep 3, 2021
63acf29
fix all repsonse types (#120)
samweinberg23 Sep 3, 2021
8b7226d
return fees from market-statistics (#121)
samweinberg23 Sep 3, 2021
65c94fa
v1.3.0: make stats market optional (#122)
samweinberg23 Sep 3, 2021
06a65c7
v1.3.1: Update GET v3/config types (#123)
Sep 7, 2021
d2d9aec
v1.3.2 enable COMPETITION for leaderboards (#127)
Sep 29, 2021
46e61b9
v1.3.3 AccountLeaderboardPnlResponse: updatedAt can be null (#128)
Sep 30, 2021
fa473a8
allow user.email to be null (#131)
samweinberg23 Oct 11, 2021
6e03e0c
v1.3.5 add updatedAt to candlesResponseObject (#132)
Oct 25, 2021
4a609ca
v1.3.6: bump starkex-eth (#133)
samweinberg23 Oct 27, 2021
1234b0f
v1.4.0: add recovery endpoint [BAC-2015] (#134)
samweinberg23 Oct 28, 2021
27128b3
reverse get orders param (#135)
samweinberg23 Oct 28, 2021
e2e4b70
v1.4.2: return positionId from recovery (#136)
samweinberg23 Oct 28, 2021
aecbde9
v1.5.0 update ConfigResponseObject [BAC-1818] (#137)
Nov 1, 2021
cdbe2de
v1.5.1 add token faucet function [BAC-2018] (#138)
Nov 9, 2021
9d0860e
v1.5.2 add country [BAC-2017] (#139)
Nov 10, 2021
0ac36c4
v1.5.3: update recovery endpoint response (#140)
samweinberg23 Nov 23, 2021
ec8c3f3
v1.5.4: bump starkex-lib (#141)
samweinberg23 Dec 1, 2021
5637e36
v1.5.5: bump for new markets (#142)
samweinberg23 Dec 3, 2021
9647721
v1.5.6 leaderboard (#143)
Dec 6, 2021
dad8a0d
v1.5.6 (#144)
Dec 7, 2021
a821040
v1.5.7 getAccountLeaderboardPnls startedBeforeOrAt (#145)
Dec 8, 2021
a51f909
v1.5.8 Bump starkex-lib (#146)
Dec 9, 2021
f609c0e
getMarkets syntheticAssetId (#147)
Dec 11, 2021
abd5863
v1.5.10 Update rewards response objects [BAC-2154] (#148)
Dec 22, 2021
00f7791
v1.15.11: active-orders endpoints (#149)
samweinberg23 Dec 30, 2021
0f478ad
v1.6.0 update leaderboard endpoints (#151)
Jan 13, 2022
f5589b4
v1.6.1 update leaderboard endpoints with new fields (#155)
Jan 28, 2022
59ed970
v1.6.2 add DAILY_COMPETITION, hedgieWon, prizeWon (#158)
Feb 3, 2022
f171f36
v1.6.3: expose hedgie endpoints (#159)
samweinberg23 Feb 3, 2022
34aa0e3
v1.6.4: lint client (#160)
samweinberg23 Feb 3, 2022
e4d4ef0
update nsb-dev (#165)
esemeniuc Mar 4, 2022
87c305e
fix linting (#166)
esemeniuc Mar 4, 2022
a577027
v1.6.7 add getInsuranceFundBalance endpoint [BAC-1372] (#167)
eyqs Mar 10, 2022
47301f0
v1.6.7 restrictions endpoints [BAC-2336] [BAC-2365] (#168)
Mar 10, 2022
8aaaec5
v1.6.8 [BAC-2373] historical leaderboard pnls and profile endpoints (…
Christopher-Li Mar 16, 2022
c01caa0
v1.6.9: [BAC-2410]: Add additional profile fields (#171)
Christopher-Li Mar 21, 2022
2753ce5
v1.7.0: [BAC-2439]: Fix response types (#172)
Christopher-Li Mar 23, 2022
8b2f52a
v1.8.0: [BAC-2439]: Fix restrictions endpoints response types (#173)
Christopher-Li Mar 23, 2022
fd2ccc9
v1.8.1: bump for new market batch (#175)
samweinberg23 Mar 25, 2022
16b171f
v1.8.2: [BAC-2441]: Add publicId to /v3/leaderboard-pnl endpoint (#174)
Christopher-Li Mar 28, 2022
2d908b1
Add publicId to leaderboard-pnl endpoint (#180)
Christopher-Li Apr 20, 2022
a2e424d
Fix getFundingPayments' return type (#179)
valentinmatter May 4, 2022
117114f
v1.8.3 (#182)
May 4, 2022
74bbae4
v1.8.4 Add slippageTolerance field to fast withdrawals [BAC-2727] (#183)
esemeniuc May 13, 2022
752af4a
v1.8.5 add generic params to createOrder (#184)
jayy04 May 13, 2022
cc81d9e
v1.8.6: Add AffiliateApplicationStatus to profile/private endpoint (#…
Christopher-Li May 18, 2022
cecb404
v1.8.7 add new LiquidityRewards fields (#186)
May 20, 2022
29fe281
v1.8.8 linked users endpoints (#187)
May 24, 2022
40e39d1
v1.8.9: Add affiliateLinks and affiliateStatistics to /v3/profile/pri…
Christopher-Li May 25, 2022
433aef3
fix previousEpoch to previousEpochs (#189)
Christopher-Li May 25, 2022
0695afa
v1.9.1 update get rewards for linked addresses (#190)
May 25, 2022
da32b52
[BAC-1299] 1.10.0 add reduceOnly param to v3-client (#192)
teddyding Jun 29, 2022
42eaca9
v1.10.1: add languageCode to PUT v3/users/ [BAC-2826] (#193)
eyqs Jul 1, 2022
0b1c447
v1.11.0 add celebrity competition, fix rewards endpoints (#194)
Jul 5, 2022
5780bbb
v1.11.1: Add optional `liquidation` boolean to `Trade` struct (#195)
Jul 22, 2022
cecc6dd
v1.11.2: add postLivenessTokens endpoint [GROW-1092] (#200)
eyqs Aug 16, 2022
f14a31a
upgrade to Alpine Linux 3.15 [BAC-2929] (#199)
eyqs Aug 16, 2022
ba0d2d9
v1.11.3 getLiquidityProviderRewardsV2 [BAC-2960] (#202)
Aug 31, 2022
b7c9e86
v1.12.0 Ropsten -> Goerli [BAC-2887] (#203)
Sep 9, 2022
2f26153
v1.12.1 bump starkex-eth (#204)
Sep 14, 2022
04aea1a
v1.13.0 Bump starkex-eth for fresh goerli deployment (#205)
Sep 19, 2022
1ec095f
Update CircleCI Fingerprint (#206)
Sep 26, 2022
635feca
v1.14.0 New Goerli environment (#207)
Sep 27, 2022
ec1b338
v1.14.1 Remove CircleCI, use Github Actions (#214)
Jan 26, 2023
e71d200
v1.14.2: Add deriveAllStarkKeys method, utilizing rotated signature (…
jaredvu Feb 13, 2023
ecdc9a5
v1.15.0: Bump web3 to v1.3.6, starkex-eth to v0.16.1 (#220)
Mar 21, 2023
6eaa45e
v1.16.0 Add sepolia (#223)
Dec 11, 2023
72340cf
chore(security): add BlockIntel signing guard (optional)
karanheart96 Feb 6, 2026
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
120 changes: 0 additions & 120 deletions .circleci/config.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ module.exports = {
tsconfigRootDir: __dirname,
},

ignorePatterns: [
'**/examples/**/*.js',
],

// Extend the base rule set.
rules: {
// These lint checks triggered for https://linear.app/dydx/issue/BAC-2265
// Ignore them for now since we violate them across the codebase too often
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
},
};
13 changes: 13 additions & 0 deletions .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Lint/Build/Test

on:
pull_request:
push:
branches:
- master

jobs:
main:
with:
USE_GANACHE: true
uses: dydxprotocol/actions-public/.github/workflows/v3-lint-build-test.yml@main
13 changes: 13 additions & 0 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish to NPM

on:
push:
branches:
- master

jobs:
main:
uses: dydxprotocol/actions-public/.github/workflows/v3-publish-to-npm.yml@main
secrets: inherit
permissions:
contents: write
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ npm-debug.log

# vim
*.swo
*.swp
*.swp*.nexus.backup
176 changes: 176 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# v3-client
<p align='center'><img src='https://s3.amazonaws.com/dydx-assets/dydx_logo_black.svg' width='256' /></p>

[![CircleCI Status](https://img.shields.io/circleci/project/dydxprotocol/v3-client.svg?token=f7d2082c0394a639681c2b5b9fcde55eb74b2e22)](https://circleci.com/gh/dydxprotocol/v3-client)
[![Coverage Status](https://coveralls.io/repos/github/dydxprotocol/v3-client/badge.svg?t=9LP8qo)](https://coveralls.io/github/dydxprotocol/v3-client)
<div align='center'>
<a href='https://circleci.com/gh/dydxprotocol/workflows/v3-client/tree/master'>
<img src='https://img.shields.io/circleci/project/github/dydxprotocol/v3-client.svg?token=f7d2082c0394a639681c2b5b9fcde55eb74b2e22' alt='CircleCI Status' />
</a>
<a href='https://coveralls.io/github/dydxprotocol/v3-client'>
<img src='https://coveralls.io/repos/github/dydxprotocol/v3-client/badge.svg?t=9LP8qo' alt='Coverage Status'>
</a>
<a href='https://www.npmjs.com/package/@dydxprotocol/v3-client'>
<img src='https://img.shields.io/npm/v/@dydxprotocol/v3-client.svg' alt='NPM'/>
</a>
<a href='https://github.com/dydxprotocol/v3-client/blob/master/LICENSE'>
<img src='https://img.shields.io/github/license/dydxprotocol/v3-client.svg' alt='License' />
</a>
</div>
<br />

Trading client library for the new dYdX system (v3 API).
TypeScript client for dYdX (v3 API).
<br />
[Typescript client documentation link](https://docs.dydx.exchange/#typescript-client)
Loading