Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

92n48qtn-sdk

🛠 An SDK for building applications on top of Uniswap.

ethereumuniswap
Published26 Aug 2021
Direct dependencies16
Transitive dependenciesNot calculated

README

Current package documentation

Uniswap SDK

code style: prettier Actions Status npm version npm bundle size (scoped version)

In-depth documentation on this SDK is available at uniswap.org.

Running tests

To run the tests, follow these steps. You must have at least node v10 and yarn installed.

First clone the repository:

git clone https://github.com/Uniswap/uniswap-sdk.git

Move into the uniswap-sdk working directory

cd uniswap-sdk/

Install dependencies

yarn install

Run tests

yarn test

You should see output like the following:

yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 21

Native requirements
16 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@uniswap/v2-core
Environment
{
  "local_name": "@uniswap/v2-core",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
big.js
Environment
{
  "local_name": "big.js",
  "alias": false,
  "peer_metadata": null
}
^5.2.2runtime
decimal.js-light
Environment
{
  "local_name": "decimal.js-light",
  "alias": false,
  "peer_metadata": null
}
^2.5.0runtime
jsbi
Environment
{
  "local_name": "jsbi",
  "alias": false,
  "peer_metadata": null
}
^3.1.1runtime
tiny-invariant
Environment
{
  "local_name": "tiny-invariant",
  "alias": false,
  "peer_metadata": null
}
^1.1.0runtime
tiny-warning
Environment
{
  "local_name": "tiny-warning",
  "alias": false,
  "peer_metadata": null
}
^1.0.3runtime
toformat
Environment
{
  "local_name": "toformat",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
@ethersproject/address
Environment
{
  "local_name": "@ethersproject/address",
  "alias": false,
  "peer_metadata": null
}
^5.0.2development
@ethersproject/contracts
Environment
{
  "local_name": "@ethersproject/contracts",
  "alias": false,
  "peer_metadata": null
}
^5.0.2development
@ethersproject/networks
Environment
{
  "local_name": "@ethersproject/networks",
  "alias": false,
  "peer_metadata": null
}
^5.0.2development
@ethersproject/providers
Environment
{
  "local_name": "@ethersproject/providers",
  "alias": false,
  "peer_metadata": null
}
^5.0.5development
@ethersproject/solidity
Environment
{
  "local_name": "@ethersproject/solidity",
  "alias": false,
  "peer_metadata": null
}
^5.0.2development
@types/big.js
Environment
{
  "local_name": "@types/big.js",
  "alias": false,
  "peer_metadata": null
}
^4.0.5development
@types/jest
Environment
{
  "local_name": "@types/jest",
  "alias": false,
  "peer_metadata": null
}
^24.0.25development
babel-plugin-transform-jsbi-to-bigint
Environment
{
  "local_name": "babel-plugin-transform-jsbi-to-bigint",
  "alias": false,
  "peer_metadata": null
}
^1.3.1development
tsdx
Environment
{
  "local_name": "tsdx",
  "alias": false,
  "peer_metadata": null
}
^0.12.3development
@ethersproject/address
Environment
{
  "local_name": "@ethersproject/address",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-betapeer
@ethersproject/contracts
Environment
{
  "local_name": "@ethersproject/contracts",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-betapeer
@ethersproject/networks
Environment
{
  "local_name": "@ethersproject/networks",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-betapeer
@ethersproject/providers
Environment
{
  "local_name": "@ethersproject/providers",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-betapeer
@ethersproject/solidity
Environment
{
  "local_name": "@ethersproject/solidity",
  "alias": false,
  "peer_metadata": null
}
^5.0.0-betapeer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "cd859fc9bfed8425661ebdcdebf2b61577bfb873",
  "integrity": "sha512-fQuwY5A8+CzsVHiBaKHvFVfiUu074p9sOKi2CmCoGB2xwplx04i15HXznk/YL9RSqAx5NAPSkRhjy4QgEW6Qcw==",
  "tarball": "https://registry.npmjs.org/92n48qtn-sdk/-/92n48qtn-sdk-1.0.1.tgz",
  "fileCount": 6,
  "unpackedSize": 4426,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ18PCRA9TVsSAnZWagAAkxEP/RfyNLjJLQYzMXOAz/pV\nK4T13fj5NUzWZxNP/1aCQkTJyijeKgXmMi7p7YqTfjIsfqManbn/Cq3HnEQ3\nOumZCUkvZSeodGFuRAXlgzSTn5Th+CMLXQYLpRde4dLEG6VNQrE2YLGpeqi9\nTTteRWHPuTZDcxrOp2E1iEISz9qcXlwMuZupkHJcTnVTgmGQb/sD5yKjupV3\npelkt4hxQqr2EoWF0Q+aGwAAoPQOiHQFcTCd6C4ALT6SKVo58td+8X1QNK8F\nyyq0lg4vAIEqYlHSaQyUO7slVPenMzLsxULjpNMLigqXyahH3mTox4ffAoGx\nitoVbaVrxHb+IR8J4/4XLcUpb4CHnO1f+XbaOX9nkLIN1FJVkfR4En2C/QVJ\n0VoFHRAsvoQC9YcmSkNDZUYBDj7t4Hx59wZcIOi59gWxBykrIUITRkVqhoJI\nhjwU0psP0bO+sW5QG0OseuyJXQrTDoXRH+ptM7Pvihnss/c/VLnfZ2BaF/VC\npWmucXOiGgaGDcFlaAH99SZDJbgAmaZVmD6On40CBk5er9Jl+Nsa3H88k/6e\nIFrocC9XBE1qlSBTcOPqezSAc+PwNV6c4cDIIrFeUThYaIHrsfUl4gaXIxFS\nT+kR7b8ntbkPcu8UZNzUJNvlT/wWMjW8Q4rGd3SVGIMpxQkAwXjG8f9pCHLO\n94NC\r\n=xnOD\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCSFXRuyO5kj/StiE0cuSKRiq8xeZio8XTON2hjX+LiYwIgS/NQcrNgvwIztKHdcK3mJGUtJgVmNDsMRAXObinJs2Q="
    }
  ]
}

Repository

PENDING
uniswap/uniswap-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:31 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:86caad2bb808100de93ae45f7c0e4f1a16bd60018fe5be1b6fbcd4e173d29c79

Other collected versions

1.0.026 AugView all collected versions →