{"_id":"@cafeswapfinance/sdk-v3","_rev":"2-b0c7c82f4cbda2c72caa19b17edd54ec","name":"@cafeswapfinance/sdk-v3","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cafeswapfinance/sdk-v3","license":"MIT","version":"1.0.0","description":"🛠 An SDK for building applications on top of SushiSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/sushiswap/sushiswap-sdk.git"},"keywords":["sushiswap","ethereum","sdk"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","watch":"tsdx watch","test":"tsdx test","prepublish":"tsdx build","prepare":"husky install","prettier":"prettier --write 'src/**/*.ts' 'test/**/*.ts'"},"lint-staged":{"*.{js,jsx,ts,tsx}":["yarn lint","yarn test --bail --passWithNoTests --findRelatedTests","prettier --write"],"*.md":"prettier --write"},"dependencies":{"big.js":"^6.1.0","decimal.js-light":"^2.5.0","isomorphic-unfetch":"^3.1.0","jsbi":"^3.1.0","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/abi":"^5.4.0","@ethersproject/abstract-signer":"^5.4.0","@ethersproject/address":"^5.4.0","@ethersproject/bignumber":"^5.4.0","@ethersproject/bytes":"^5.4.0","@ethersproject/contracts":"^5.4.0","@ethersproject/experimental":"^5.4.0","@ethersproject/networks":"^5.4.0","@ethersproject/providers":"^5.4.0","@ethersproject/signing-key":"^5.4.0","@ethersproject/solidity":"^5.4.0","@ethersproject/transactions":"^5.4.0","eip-712":"^0.4.3"},"devDependencies":{"@ethersproject/abi":"^5.4.0","@ethersproject/abstract-signer":"^5.4.0","@ethersproject/address":"^5.4.0","@ethersproject/bignumber":"^5.4.0","@ethersproject/bytes":"^5.4.0","@ethersproject/contracts":"^5.4.0","@ethersproject/experimental":"^5.4.0","@ethersproject/networks":"^5.4.0","@ethersproject/providers":"^5.4.0","@ethersproject/signing-key":"^5.4.0","@ethersproject/solidity":"^5.4.0","@ethersproject/transactions":"^5.4.0","@sushiswap/core":"^2.0.0-canary.1","@sushiswap/prettier-config":"^0.1.0","@types/big.js":"^6.1.0","babel-plugin-transform-jsbi-to-bigint":"^1.4.0","eip-712":"^0.4.3","husky":"^7.0.0","lint-staged":"^11.1.2","seedrandom":"^3.0.5","tsdx":"^0.14.1"},"engines":{"node":">=12"},"bugs":{"url":"https://github.com/sushiswap/sushiswap-sdk/issues"},"homepage":"https://github.com/sushiswap/sushiswap-sdk#readme","directories":{"test":"test"},"author":{"name":"chefmocha"},"_id":"@cafeswapfinance/sdk-v3@1.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-bBu5Q/EFgl6rebbIUp1cGobE2QzdRC/B6ehmQo2bMS0Cvboe4XTrNzOlKTQEfkplCBjyLv5PYatWOqbsfQwgbw==","shasum":"800b557dc7637e4df62ac6c121bd2e663f7adcf6","tarball":"https://registry.npmjs.org/@cafeswapfinance/sdk-v3/-/sdk-v3-1.0.0.tgz","fileCount":78,"unpackedSize":1592791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzavlCRA9TVsSAnZWagAAbJQP/jzOOC/17u9oiTS/4rwO\nsRSUthRyQCNYW/kYH7lc/2OxdUeYUgNBhqr1FnkU54TVAMyClpDka9ASd4Qc\nys3/ZB8xtfUff9c3m/AG2yc9yja1jyF4aKCYfbM+At+rl9r1SR3+X3S2AV+F\nAl4QiVRBxtcA0GucGRF9EALRg5YXPKzLu9k73ZUlJElw3SEqiCYhg0o9Rr5p\nzxhSahYs3vruh1MtbRqH3GdgtUAkFh27LkMxjKpGx5mu0xUBSlplct9wftTO\nwZutXqnC85b5zmWtusv2ojUjIV98jOIlXBaqU5CIh249UMayqumFPqPmpMWx\nVO7GZiieE83/2GKrRszILSS/qMMzOOY7mqlZQoWYFCv3Nez4/jUZ7yGApXd/\nc7SvXuvi/zqE4sr66X4Av7DZLXJ8OEf1TJ+P3a1gId1O2UANmAWhW0C90DGY\nT3tuw8TD10XsPar4ufJDVcpVbQoLhqdKENfRgbh9xjUu38SciDkiXOpSDKEX\nTuEnLME8VsmsaeM51nWspkp01svkwjJxUuFLMqwqo8rx2xSgkouECdzd2YUZ\nAG7M9G6RRjGahiNJ8lTOYiOctY05XT2mjpGndg3cZhBsFAoFVKaeAZegPufh\nAI0yDo80jM8t+WW5w7iPt+/OEQpqOGLC14rhxBwLRp9+BgW+HAg03aiuQ5P0\nLc/p\r\n=zBlr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk4WLiZ+y/KC8VeFheCiQAF24IC07cS2OWoYh4nVlxmwIhAIHQZalhoyyMSaTlgkq9+U/BgG5tl3dLwAPiKftej3U0"}]},"_npmUser":{"name":"cafeswap","email":"cafeswapfinance@gmail.com"},"maintainers":[{"name":"cafeswap","email":"cafeswapfinance@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-v3_1.0.0_1633005894754_0.6918753813084413"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-30T12:44:54.718Z","1.0.0":"2021-09-30T12:44:54.981Z","modified":"2022-04-04T21:30:26.241Z"},"maintainers":[{"name":"cafeswap","email":"cafeswapfinance@gmail.com"}],"description":"🛠 An SDK for building applications on top of SushiSwap.","homepage":"https://github.com/sushiswap/sushiswap-sdk#readme","keywords":["sushiswap","ethereum","sdk"],"repository":{"type":"git","url":"git+https://github.com/sushiswap/sushiswap-sdk.git"},"author":{"name":"chefmocha"},"bugs":{"url":"https://github.com/sushiswap/sushiswap-sdk/issues"},"license":"MIT","readme":"# Sushiswap SDK\n\nIn-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\n\nThis modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.\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/sushiswap/sushiswap-sdk.git\n```\n\nMove into the sushiswap-sdk working directory\n\n```sh\ncd sushiswap-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"}