{"_id":"@dogswapfinance/sdk-v2","name":"@dogswapfinance/sdk-v2","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dogswapfinance/sdk-v2","license":"MIT","version":"1.0.0","description":"🛠 An SDK for building applications on top of pancakeswap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancakeswap-sdk.git"},"keywords":["pancakeswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","lint:fix":"tsdx lint src test --fix","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@pancakeswap-libs/pancake-swap-core":"^0.1.0","big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.1","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.12.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"f668b122e4b8151734e1e2b5dbc805ee1eff98ad","bugs":{"url":"https://github.com/pancakeswap/pancakeswap-sdk/issues"},"homepage":"https://github.com/pancakeswap/pancakeswap-sdk#readme","_id":"@dogswapfinance/sdk-v2@1.0.0","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-0TwnYfpTPw0Ji2H7OnlrK/cMVek4W3xlvksG59UOED2ghK4Vb/QiiIlDGiJpktu3JYH/enMjqjk2aWesmyjlJw==","shasum":"7b687650706fa197e38b8563fe03632f6bfe6c2b","tarball":"https://registry.npmjs.org/@dogswapfinance/sdk-v2/-/sdk-v2-1.0.0.tgz","fileCount":37,"unpackedSize":454239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGA00PDf7s0rt71ktTgpUqREg+hcu7ZJG0JH9T/TTWpPAiBK+lc0r6DRtnX9XD3kdKvmIto43O4d2ltXPvKCRhBrFg=="}]},"_npmUser":{"name":"dogswapfinance","email":"vantwembeke@gmail.com"},"directories":{},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-v2_1.0.0_1685036474595_0.2893971214049531"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-25T17:41:14.529Z","1.0.0":"2023-05-25T17:41:14.880Z","modified":"2023-05-25T17:41:15.044Z"},"maintainers":[{"name":"dogswapfinance","email":"vantwembeke@gmail.com"}],"description":"🛠 An SDK for building applications on top of pancakeswap.","homepage":"https://github.com/pancakeswap/pancakeswap-sdk#readme","keywords":["pancakeswap","ethereum"],"repository":{"type":"git","url":"git+https://github.com/pancakeswap/pancakeswap-sdk.git"},"bugs":{"url":"https://github.com/pancakeswap/pancakeswap-sdk/issues"},"license":"MIT","readme":"# Pancakeswap SDK\r\n\r\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\r\n[![Actions Status](https://github.com/pancakeswap/pancakeswap-sdk/workflows/CI/badge.svg)](https://github.com/pancakeswap/pancakeswap-sdk)\r\n[![npm version](https://img.shields.io/npm/v/@pancakeswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@pancakeswap-lib/sdk/v/latest)\r\n\r\n## Running tests\r\n\r\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\r\n\r\nFirst clone the repository:\r\n\r\n```sh\r\ngit clone https://github.com/pancakeswap/pancakeswap-sdk.git\r\n```\r\n\r\nMove into the pancakeswap-sdk working directory\r\n\r\n```sh\r\ncd pancakeswap-sdk/\r\n```\r\n\r\nInstall dependencies\r\n\r\n```sh\r\nyarn install\r\n```\r\n\r\nRun tests\r\n\r\n```sh\r\nyarn test\r\n```\r\n\r\nYou should see output like the following:\r\n\r\n```sh\r\nyarn run v1.22.4\r\n$ tsdx test\r\n PASS  test/constants.test.ts\r\n PASS  test/pair.test.ts\r\n PASS  test/fraction.test.ts\r\n PASS  test/miscellaneous.test.ts\r\n PASS  test/entities.test.ts\r\n PASS  test/trade.test.ts\r\n\r\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\r\nTests:       3 skipped, 82 passed, 85 total\r\nSnapshots:   0 total\r\nTime:        5.091s\r\nRan all test suites.\r\n✨  Done in 6.61s.\r\n```\r\n","readmeFilename":"README.md"}