{"_id":"@aetherswap/core-sdk","name":"@aetherswap/core-sdk","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aetherswap/core-sdk","license":"MIT","version":"1.0.0","description":"📘 An SDK for building applications on top of Aetherswap Protocol","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/aetherswap/core-sdk.git"},"keywords":["aetherswap","typescript","sdk"],"module":"dist/core-sdk.esm.js","scripts":{"build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@ethersproject/address":"^5.0.2","big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","toformat":"^2.0.0"},"devDependencies":{"@types/big.js":"^4.0.5","@types/jest":"^24.0.25","tsdx":"^0.14.1"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"author":{"name":"AetherLabs"},"bugs":{"url":"https://github.com/aetherswap/core-sdk/issues"},"homepage":"https://github.com/aetherswap/core-sdk#readme","_id":"@aetherswap/core-sdk@1.0.0","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-a9uV4JqyvpRSbQ5XcWGl57uGs2BR8areJYfhlG3ndyQI/z3AGdqT9FSE8WLzlQEvnFNyJ3tbBVs33Pq9Q19guw==","shasum":"cb09919b37ea7859b440e060c9a15da0364c765a","tarball":"https://registry.npmjs.org/@aetherswap/core-sdk/-/core-sdk-1.0.0.tgz","fileCount":29,"unpackedSize":197558,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDJgUDdLataHHTCansaxYZmhvgj5HapH2GCGc59UCxJgIgBH2LvZmGAitGHTTtczp91UGBp+m2PHLaGFXywIbqg2U="}]},"_npmUser":{"name":"aetherdex","email":"aetherswap15@gmail.com"},"directories":{},"maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-sdk_1.0.0_1728762181777_0.1504689003934021"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-12T19:43:01.608Z","1.0.0":"2024-10-12T19:43:02.055Z","modified":"2024-10-12T19:43:02.413Z"},"maintainers":[{"name":"aetherdex","email":"aetherswap15@gmail.com"}],"description":"📘 An SDK for building applications on top of Aetherswap Protocol","homepage":"https://github.com/aetherswap/core-sdk#readme","keywords":["aetherswap","typescript","sdk"],"repository":{"type":"git","url":"git+https://github.com/aetherswap/core-sdk.git"},"author":{"name":"AetherLabs"},"bugs":{"url":"https://github.com/aetherswap/core-sdk/issues"},"license":"MIT","readme":"# Aetherswap Core SDK\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![Unit Tests](https://github.com/aetherswap/core-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/aetherswap/core-sdk/actions?query=workflow%3A%22Unit+Tests%22)\n[![Lint](https://github.com/aetherswap/core-sdk/workflows/Lint/badge.svg)](https://github.com/aetherswap/core-sdk/actions?query=workflow%3ALint)\n[![npm version](https://img.shields.io/npm/v/@aetherswap/core-sdk/latest.svg)](https://www.npmjs.com/package/@aetherswap/core-sdk/v/latest)\n[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@aetherswap/core-sdk/latest.svg)](https://bundlephobia.com/result?p=@aetherswap/core-sdk@latest)\n\n## Running tests\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/aetherswap/core-sdk.git\n```\n\nMove into the `core-sdk` working directory\n\n```sh\ncd core-sdk\n```\n\nInstall dependencies\n\n```sh\nyarn install\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\nYou should see output like the following:\n\n```sh\n$ tsdx test\n PASS  test/computePriceImpact.test.ts\n PASS  test/sortedInsert.test.ts\n PASS  test/token.test.ts\n PASS  test/ether.test.ts\n PASS  test/sqrt.test.ts\n PASS  test/currency.test.ts\n\nTest Suites: 0 skipped, 0 passed, 6 of 7 total\nTests:       0 skipped, 0 passed, 11 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```","readmeFilename":"README.md"}