{"_id":"@dynamis-finance/sdk","_rev":"1-2b68392ca61680feacc9cd553547812d","name":"@dynamis-finance/sdk","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@dynamis-finance/sdk","license":"MIT","version":"0.0.1","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},"bugs":{"url":"https://github.com/pancakeswap/pancakeswap-sdk/issues"},"homepage":"https://github.com/pancakeswap/pancakeswap-sdk#readme","_id":"@dynamis-finance/sdk@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-GREfcpjF0JFLeH261tWk3/u8Gp0KcEGl5cQw7EtVjJsn/oX308FiEog/oQl7d1n3JxvB56AV1mv7z0oHFiduOw==","shasum":"1a04e45cdb257e7e01cd87cbdaafd05098280fb2","tarball":"https://registry.npmjs.org/@dynamis-finance/sdk/-/sdk-0.0.1.tgz","fileCount":38,"unpackedSize":456040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEovACRA9TVsSAnZWagAA68oQAIB/pYmfyefHJOI/nnvs\n1y7fDGH4b/4Pv6UOoOBRhf17bA1vqY4UuWYgYntGj98V1FZHs4U+W/rvPrGH\nq+uitvC23MqmE7iYnUUxrcb7AQNetiIe47quY/IGsloxmY+n66jlHIiOtw0t\n+7iymVbWy7k8pUqovV4SCjFx8qxjJhkOzWObtal7VgqoN5H/z40LTUSz8g8I\nWC9EHb+/l/Dx1njeMqcqVaz667tsaN7vmT35IkbVbU1YAs/hBU96Zb07r/CC\nd6g+eA1GsbxAeecAJbiz8+CVZdhqyY/rbw8Mfa9wnSFt0oPF3eeJaNF1XJgn\n+BeXW2mDz4nR7z381KAvLDQZR17+jDd4jRiCKv34LfV5UsY63M4IJIOj0Hwc\ncK+xQ2ZhcfKW1W0lFuAIah8351j6Z1SytRBpBjBgebpQAe9wLGh6zEycBb+H\nN8sQeE31Gg6ZLKZAoBvhK4unxBFN3pSmzA3OCeLXhwo4fFS9Q3mzIdxtdCce\n0VwymeXk/Y/Es2YuIrPm59yAU30m4gRL7rw4S7MM8XBD53foAqWQsdI+8QmQ\nJIK0SqH5BZGDxyB2ep3SqG2cf+gi2ne01sZm3dh7pemorlh302d/xKKiXIAB\nlCBknNnkqtiVhZ3FL57zbdSWGOSkfR+5Ee/I8rcSHyl7NXhcMALAH3glfPuo\n0o3S\r\n=4seW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN3aIFP5kmfVJtSyCVlP/iMmeBHPbpJPUo8HsmeURkNQIhAOOiiO0ccpayDSrdSLrjClUP/xYtHO6aPVmqg1gfa7eR"}]},"_npmUser":{"name":"dynamis-finance","email":"my.hercules.gj@gmail.com"},"directories":{},"maintainers":[{"name":"dynamis-finance","email":"my.hercules.gj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_0.0.1_1628605376350_0.8136611856698854"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-10T14:22:56.276Z","0.0.1":"2021-08-10T14:22:56.508Z","modified":"2022-04-05T06:18:28.774Z"},"maintainers":[{"name":"dynamis-finance","email":"my.hercules.gj@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"}