{"_id":"@beaverswap/sdk","_rev":"1-92cf638483fd7b46e606bfda7bffe7c5","name":"@beaverswap/sdk","dist-tags":{"latest":"2.3.2"},"versions":{"2.3.2":{"name":"@beaverswap/sdk","license":"MIT","version":"2.3.2","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","bsc"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","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":"942e72a6f57212f4e7f55801b7e06b6ede651f3e","bugs":{"url":"https://github.com/pancakeswap/pancakeswap-sdk/issues"},"homepage":"https://github.com/pancakeswap/pancakeswap-sdk#readme","_id":"@beaverswap/sdk@2.3.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-8zK/rCfFBe+ouK+yHz7Cyc9IMVX+DJyhDQt6oXLA09e4P5x8bXMUldcXQoUXRds6idjuFji+RQTcgRATG5Xt/A==","shasum":"1043733c7a8a6764c80f808a036d24cb82723ae7","tarball":"https://registry.npmjs.org/@beaverswap/sdk/-/sdk-2.3.2.tgz","fileCount":38,"unpackedSize":448852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvHv4CRA9TVsSAnZWagAAuFoP/isoak64rdfVvSFr4e6L\nO0Q9EMHFKQc/nGIS/uSNeLM7IW+BBgEn6H+GKEU84bc/KAifJT0sJzL4Ma0E\nSUooTsdeEbYSsPCzSqI9Uui7uObUeBuWd32TyfZ5U2jMbrI4PzGHpYA+e9Cl\nl7lcQYKiFVJmr6QgcX90VmlIwe8WnS7H29A9ZMH0JILK+ncnqhE1fx3Om6rj\ntYQxzuQnJK8+SYfrU5EIR63G4MSJ/N6TinFYMz/bRKRo1rcCcVJttBSACuWz\n7T4z/znJUm2HYhobgjerJTm5bQKANC9oNw7QU7jf0WzggI9bmeLNsud+UrQO\nMoA/bn0Ps9LojWr3npylSFwSHpnsoA0JRqJEoHV84REziPc8DqmV5IGZvBoG\n78WQo3cgAWGQg98XkWp0ZJG8VBcthuNiaRuWRsVMAiMC0g3hSDgng2b9uwJn\ngyPBaDsr/Y01GTNsbuVLMvqSqRCsgJZ9O16RWOBdx+oecqBCKHrfnkferW3h\nea08neVvPiLd6mE5u42+0KZx8iRO73mXJg83eIX/ikMz7hGK7MGWZ5wr/BCJ\nQY5Q8YuB3NleGuxDnK0K0H1RWqa6ye/zLGkVwbTRMotkm9sBtXUqR2wemlHx\na5AXXIaNp+Kq+kS1MyD7AwbPDDiAJwfTF2e73tqRggw9JZhKWZOpy/kLp/Ba\n6DP/\r\n=V2ie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1WOLO1hWeSR8rVKLg5vXPVpyk04vDjLdfKMIfhW8u6AiEAlHdpqtlsnzeO7sa4c6vTAlT1leE9ejT3lgVg+MtrtxA="}]},"_npmUser":{"name":"topdev","email":"riguang102@gmail.com"},"directories":{},"maintainers":[{"name":"topdev","email":"riguang102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_2.3.2_1639742456066_0.37664771819964926"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-17T12:00:56.002Z","2.3.2":"2021-12-17T12:00:56.218Z","modified":"2022-04-04T18:07:39.280Z"},"maintainers":[{"name":"topdev","email":"riguang102@gmail.com"}],"description":"🛠 An SDK for building applications on top of Pancakeswap.","homepage":"https://github.com/pancakeswap/pancakeswap-sdk#readme","keywords":["pancakeswap","bsc"],"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\n\nForked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).\n\nYou can refer to the Uniswap SDK documentation [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\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/pancakeswap/pancakeswap-sdk.git\n```\n\nMove into the pancakeswap-sdk working directory\n\n```sh\ncd pancakeswap-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\nyarn run v1.22.4\n$ tsdx test\n PASS  test/constants.test.ts\n PASS  test/pair.test.ts\n PASS  test/fraction.test.ts\n PASS  test/miscellaneous.test.ts\n PASS  test/entities.test.ts\n PASS  test/trade.test.ts\n\nTest Suites: 1 skipped, 6 passed, 6 of 7 total\nTests:       3 skipped, 82 passed, 85 total\nSnapshots:   0 total\nTime:        5.091s\nRan all test suites.\n✨  Done in 6.61s.\n```\n","readmeFilename":"README.md"}