{"_id":"@canary-swap/sdk","_rev":"2-19110a1c7409844a636ee19e9fa8e569","name":"@canary-swap/sdk","dist-tags":{"latest":"6.0.0"},"versions":{"5.0.0-canary.24":{"name":"@canary-swap/sdk","license":"MIT","version":"5.0.0-canary.24","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/canary-swap/sdk.git"},"keywords":["uniswap","sushiswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@1coinnetwork/core":"^2.3.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.3.0","@ethersproject/contracts":"^5.3.0","@ethersproject/networks":"^5.3.0","@ethersproject/providers":"^5.3.0","@ethersproject/solidity":"^5.3.0"},"devDependencies":{"@ethersproject/address":"^5.3.0","@ethersproject/contracts":"^5.3.0","@ethersproject/networks":"^5.3.0","@ethersproject/providers":"^5.3.0","@ethersproject/solidity":"^5.3.0","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.14.0"},"engines":{"node":">=10"},"prettier":{"endOfLine":"lf","printWidth":80,"tabWidth":2,"semi":false,"singleQuote":true,"trailingComma":"es5"},"gitHead":"9eaadd09fb9a9288caae5b42260179c9b2b80698","bugs":{"url":"https://github.com/canary-swap/sdk/issues"},"homepage":"https://github.com/canary-swap/sdk#readme","_id":"@canary-swap/sdk@5.0.0-canary.24","_nodeVersion":"14.17.1","_npmVersion":"7.19.0","dist":{"integrity":"sha512-K11/xRq97gTKfTDjV0TRwbBxh5Ee2+YcIXievqpx75xygjZ8gn0YT424OL+8bKnjZOnbQabZGYSj1RxNJlYOjA==","shasum":"5339eb0bc533a03eee432c46785d398c575af9db","tarball":"https://registry.npmjs.org/@canary-swap/sdk/-/sdk-5.0.0-canary.24.tgz","fileCount":52,"unpackedSize":715066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8ZSmCRA9TVsSAnZWagAAOdsP/2WhRfcEXNRccIdH+j3f\nMnXfWCydogh8laCqB/wpCQ5vy306GHRSbBODYr+U/f1tEO3v4cTvlFeq0lEJ\nNq0lP259/5omKIDis6albzMHQbp+HsBFZ4mLD4S9iAtzynOR6O+L08kb0agT\nfKkyxYYBM78RVNBOjDOAwB0shtyjFolbu6JkmNDSApX88xx0PvP2UK91Hj6j\nNhdS6d6/Bfk8WT1R83pQkedNEX+VfdFtqMTCtqxQoP01FMyJHm4NJzHWY7f2\nZNIROUrEAWYlrqu8sjcM/bAWnrlPN1HANu0xeApZCh/UYgdx4fX9aNT4rX4C\n1pvA3tDlGzU4yOW73ntEdKoYCt7PSh0p4Lk8qNYk253yxACM54oNml2S7Qxg\nVUPQtHYpEcx/9Cyff4+aKjuWSU985Df1R9oqBF7opokfhwiFPvmajaavEKjE\nYm0R1N1DpdmuM9QXbnfiLENmopsCPJ3loJWgXSFPzNxbQzDDc/yJFwqaNBGD\nsMDPcVraGeS2TXOLsfACqHBDPCRa8+3pXHoCt5NW2PzbSPtM8iNrwdtNYVVj\nNclSMcFS4PRroTt4uSjJA5olYK4TAdIDsyUQVPDSq8M5ROK9c1KMKAw72ZsV\nL19mI7MBJaqF9XP9j782vHNRRi8WDq2pDKepjN45Q0/KIMqWqd+0gGwRPmr7\nZGkk\r\n=dAgO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8WKcIWTjLdcrpY4sNE/p1ngtZvXBSCnfhh4fOmU7McAiEA07fhlCaWIFkRAMwOlAFhNqtqtWXdvHThSgOz3HGe7rs="}]},"_npmUser":{"name":"1coinassets","email":"aaron@1coin.io"},"directories":{},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_5.0.0-canary.24_1626444966582_0.3973125616481781"},"_hasShrinkwrap":false},"6.0.0":{"name":"@canary-swap/sdk","license":"MIT","version":"6.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/canary-swap/sdk.git"},"keywords":["uniswap","sushiswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@1coinnetwork/core":"^2.3.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.3.0","@ethersproject/contracts":"^5.3.0","@ethersproject/networks":"^5.3.0","@ethersproject/providers":"^5.3.0","@ethersproject/solidity":"^5.3.0"},"devDependencies":{"@ethersproject/address":"^5.3.0","@ethersproject/contracts":"^5.3.0","@ethersproject/networks":"^5.3.0","@ethersproject/providers":"^5.3.0","@ethersproject/solidity":"^5.3.0","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.14.0"},"engines":{"node":">=10"},"prettier":{"endOfLine":"lf","printWidth":80,"tabWidth":2,"semi":false,"singleQuote":true,"trailingComma":"es5"},"gitHead":"9eaadd09fb9a9288caae5b42260179c9b2b80698","bugs":{"url":"https://github.com/canary-swap/sdk/issues"},"homepage":"https://github.com/canary-swap/sdk#readme","_id":"@canary-swap/sdk@6.0.0","_nodeVersion":"14.17.1","_npmVersion":"7.19.0","dist":{"integrity":"sha512-F/L72kRiwOYTYgfNj0Fqa1CnORPXx/83Mw1DumDzvv5kwPy0V+g+eUGNGQL7awQ/diLRzK5gn2ipPUhS2WFv5A==","shasum":"bbd7c5f3a858388187510e27e8c4782143b041be","tarball":"https://registry.npmjs.org/@canary-swap/sdk/-/sdk-6.0.0.tgz","fileCount":52,"unpackedSize":715056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8ZZUCRA9TVsSAnZWagAAwewP/3nYnbSYJPspldtPDRQz\n+WdK9lZfLymy9jT6saToq8cVg//xl/wwllBifg3GaKTMpA0wxHMsyQ0IHgxC\nPJV6JWCr8tjRoFapJLyTwl1Jg9tIkdbO2XeyFHcUyF+SU2/ZoZfxIevIuef8\nSA0mIH/KyTEX4B3JMVoUuQGY3IgjWobHYh40pOUBfLNGWAlCJY73wlqE1k4a\nhCBRSXTNKOCrqoy7OmMFTdpx9kx+/ldWB6AYI4yUJxiH9f4AfewySBywrr7t\ncRVa51WT7BOgiDheFjpy/dev2/ZYAOR5ufYjQ3eY1cEVnvcId9JOMDnI5rzS\n6oVseyoeeV+lJ7QyH6Re8uF07V/PZNGVUfirXDS4qTn7CzO9lNT9ZFToZfBT\n6/Ezi7arpK4hrpNLKDl4kZ7eiGjQuL9WbcZ/YmpblFIbov/qfky2rXKMOTxn\nPxYtSPgMzsHs85uDsJVOIsLtQirR0J8/W/hG5/6h7PORBPe4SFZPzOsAt6KX\n04leVIpUEYg7ES7ATkR3EO0lQgq2+hlVa3QuQM922EP5/43GntNkQvForI6z\nL2Ree3m4Sr7feGJkFXw2QmoesmQb/sp2XzqYArZZVr0J9iwkHS5oSKdkAY4l\nheaUSo8He2RRqzmd1LiO6YtJNkoteGCPbnk8Fh1feWtg2P1UG6lKIJkYRXJb\n0+EP\r\n=7zYr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICd7PSkFSqE7+VouwAMIwSYinhyHc5jzo3Snilk4o1fyAiBOYCk0zHBOWLsuEPV+rFLZOh2abcxjLE6mGf3QKVO5hw=="}]},"_npmUser":{"name":"1coinassets","email":"aaron@1coin.io"},"directories":{},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_6.0.0_1626445396708_0.4566127952132917"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-16T14:16:06.166Z","5.0.0-canary.24":"2021-07-16T14:16:06.834Z","modified":"2022-04-04T21:35:44.843Z","6.0.0":"2021-07-16T14:23:16.904Z"},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"description":"🛠 An SDK for building applications on top of Sushiswap.","homepage":"https://github.com/canary-swap/sdk#readme","keywords":["uniswap","sushiswap","ethereum"],"repository":{"type":"git","url":"git+https://github.com/canary-swap/sdk.git"},"bugs":{"url":"https://github.com/canary-swap/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"}