Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

5017-grp-sdk

🛠 An SDK for building applications on top of Uniswap.

ethereumuniswap
Published22 Nov 2022
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
{
  "integrity": "sha512-Upy+2/VXrcfBXOFFZh0eGU2axOB8R6tS2v5pd/qmDDIznP1VkQsvoI1wdwX1S1zSBAqRvaefE80SH9UAijczJg==",
  "shasum": "fde914e0086bec2d710187eb001c2e59f2cc0665",
  "tarball": "https://registry.npmjs.org/5017-grp-sdk/-/5017-grp-sdk-1.0.2.tgz",
  "fileCount": 38,
  "unpackedSize": 452472,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQC5kRzTD4ifUjWDpHZyZ2GSaLn8h7mMP5E7Uln/uomrtAIgIXJxtT7ZfYhU3sOwkQRLOCeA4r5C+Reoh0CvngLIeck="
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfIIUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYvBAAmBO+xEg5ZNurlAjjYMEKJfvupGVATHOF8EPOYZ2QTthV4oQ1\r\nZQzJzcgYV+554xs5zaFN5ZZvvMDlEa9Z7UZYWGD8nz0K3Fq3GjY4GLWKwJ9S\r\nPfrj3HsjcGLt04rOsig7aLz/cJ7bSRPvEiY/4mr+hVj4Oen/gSx/ZT7XF67h\r\nyoxJFeOXCGSHTJlbtQCoAhqtDalw2D8Ph7CZuYbo7O15JC8vXfdlhgJ1r2M8\r\nNEzr8kTGJKQcxEqzUw2apNiWmdXYwt3h2jRHPyVINJPKtpWxMd0DmIPFzB8R\r\ndocwlrowRYAnsDa8T6HuGfJsSX/vnwaX6onDN3xjPj8+AAUGUogZWypzMWVI\r\nM7glCn9c24gQfOvM0dlr3qSdO2nqnCiIYV1DOjRVp2dtQo+HNP2G99jGIGob\r\nkWo21+tcMyHL5ctehJ/qQ0rFxuPttFqzHNVHCHtIoZGKfTbYHfxdmZsDuo0B\r\n/SqKhOHfaMlqHTeixZUk0jDRMFxNFrYGBEQ+LoJP7eCYxzLlIE0wNEU/5F1e\r\n/RR/6LbVD7RAYd/jXDH02Ptv990V8rET5TanBj4J32ULExzcfPo4l6pKQL4O\r\n8ClwtXy0ogxrGbgp++9si6VTcyCwXOGHYsJgDvYcfwDuj6bIq3Aljkfk+f/4\r\nmpwHPGZwAIYgSOKWmqiZPtGFUTpas2NpwrU=\r\n=ANad\r\n-----END PGP SIGNATURE-----\r\n"
}

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, 20:21 UTC

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

Record identity

package_version:f1afbf3c8ce2cc13b8cfce0242acc5e30bc00a10a740e5dc7dc520067c95dae4

Other collected versions

1.0.120 Nov1.0.018 NovView all collected versions →