{"_id":"@1coinswap/sushi1coin-sdk","_rev":"2-d25d1689df28369655caefe370d04e8c","name":"@1coinswap/sushi1coin-sdk","dist-tags":{"latest":"5.1.1"},"versions":{"5.1.0":{"name":"@1coinswap/sushi1coin-sdk","license":"MIT","version":"5.1.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/1coinswap/sushi1coin-sdk.git"},"keywords":["uniswap","sushiswap","ethereum","1coin"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@uniswap/v2-core":"^1.0.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":"02b7c3494413eb5b9389d4f968985d1ceb8ea798","bugs":{"url":"https://github.com/1coinswap/sushi1coin-sdk/issues"},"homepage":"https://github.com/1coinswap/sushi1coin-sdk#readme","_id":"@1coinswap/sushi1coin-sdk@5.1.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-+J2ixtR0Xzcjg7hYKuF0DJwiKjVGNLeTiRU+C1pH3tUwSDVVsOay/oqQLBfIuFn39XTCVnK1fn87BV5nLXg62Q==","shasum":"472c243661892697a890d436149e8680c142e6be","tarball":"https://registry.npmjs.org/@1coinswap/sushi1coin-sdk/-/sushi1coin-sdk-5.1.0.tgz","fileCount":38,"unpackedSize":640384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0VRICRA9TVsSAnZWagAA9H4P/jnP5KrvGAHw3UEUQdjK\nScYqXddenqfb0rGxB8IbP1uutAIUqhGNqPAPCfn0fPEIOTpVGfSwtr3ZrB+D\n8mYqLdyzYslm0wOFd+JQ0Uao4kjAI00t2qv2S2Lz+sk4MC04qh8eSXniypRD\njQoklbQpOqw1SUB2iVzsJQ74P2n/uwchnPzd518bKvc4DAZyQMmZysfdiah9\n+ZNNS2bUMBcIXCg7zLzmBlPSy4oCuGIsvR1MJKnD5RlJrsX9Ws8fSE5Q49wd\nn2zp+A8C2WpjHJVy86W8NDNnNCXAQmrqAGiVbvLSB1ivTUmlPpsnsk3sbxoQ\nvfLmBZiefGyRnh7KDuBQUXhn21xVurivLQL6jGzPnklZMmzbZexnYYhacvTc\nOzFpKLKmApoR7YguI8eNYqJ0OZy1zg8aQFvOJwttj9SfoNmuhha6Jpu0NDiT\nUNXT8B9cjkzsA/tPmiI1iecOvbXSIg5AINJFHcAptQ85iT3A41mF21gKE8V7\naCxh4MroECf+BZJd/jiZMw7Ow1D5TbxnNoD2KlsKqDe77IjpIj0+1x5hf6qx\nlLwWDlXzEqZz3O+w646xGmqSxoxvWgTsgqE9e1X9xR+yC/SW7StJpW9uIYwL\n3TkcbA0qQQqpdnhGYWhAVCfrVLqAwVpxjnmbbScWS/nre0RLWX4/lklXfZNR\nLuzW\r\n=yHSE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM7cdsDNGfsFO4elczovZ8ssO2Wi8MepTvWcOV6AtbBgIgE+Tl7gWNfJTVqNq2LLQHRRrS7I8tzYL7cRJA+1Jwi70="}]},"_npmUser":{"name":"1coinassets","email":"aaron@1coin.io"},"directories":{},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sushi1coin-sdk_5.1.0_1624331336045_0.09034923122902194"},"_hasShrinkwrap":false},"5.1.1":{"name":"@1coinswap/sushi1coin-sdk","license":"MIT","version":"5.1.1","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/1coinswap/sushi1coin-sdk.git"},"keywords":["uniswap","sushiswap","ethereum","1coin"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@uniswap/v2-core":"^1.0.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":"f86809dc5b11fdbaa559a8eecbd00ecf59600cc5","bugs":{"url":"https://github.com/1coinswap/sushi1coin-sdk/issues"},"homepage":"https://github.com/1coinswap/sushi1coin-sdk#readme","_id":"@1coinswap/sushi1coin-sdk@5.1.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-3bsA9/gb9IN3cC9FyBx+xzNml4iJw1zxAzHGwwjLG13ceoSHsAwcM9rbc3Q3uYjB7/HvOi37CKHxZtH5vCfWNA==","shasum":"d8a4bbe4de5138947a6665a270eab4fea75aed8c","tarball":"https://registry.npmjs.org/@1coinswap/sushi1coin-sdk/-/sushi1coin-sdk-5.1.1.tgz","fileCount":38,"unpackedSize":640559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0VcwCRA9TVsSAnZWagAAy7MQAKUKXByUlX0WBSH9nLlA\nTsjH0IizzrIGcM9iHkzbID5camoNWXbTT+pq6KytcsWnfz+bbfVm3zgVCKjr\niIBVr/l69eJC5tYJSoboIJKinSiA0nZqv5pDK5y1G3ATNe7GbelFAmnUbkt1\nsG3h/9klNgarUW70YcEp42LDG00r9cKc6ixBwDoxYAmzFux4GiiaeTQOwxdR\nWSoKOWo+0Y222lsw2/jSvI2jNyoAL7N5yfO0KJtGiWYNhmHDJLn22uIG0LCx\nG6LltTi1L8HTzFHIe63xRmRacmGw59WOyK4XGRfyZCgIqDsPat4s/6oSQUNZ\nQfV4uvayzUoE16vgKOQsRRWOhlDsd86rCQxMZ8py9z6LAmxoz8g80jV77uP6\n3NiuRTRVANUjBVjdApWeV0I9fSwEvrQQX7B7pKJbw6GWEZ6wPJkOrxUDooKy\n0CWXELTeGPeQz+UiJLm427lDCulEXo+UyRivqbMtj4LhmjIckDHRCeni1Sed\nzjDeoEJHc0x37s/u05oIF7sWlBkqO2Ds+rpR2ZsJ3R71Es5eiVxtES0X7pmP\n9YpwJ2DeVPmmIS09dbas+aqWfL+A55binAfWZ7p/EsLlUh8f77ezO1Q1oU8c\nH1yt41FetxTTDL7+Yg7VkzxpJSHZ89/YVviZo+tF0uJq2C+6t/X+BIVmxBFQ\n7jhQ\r\n=206G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbBFqiC3uRUu+Qj1h9ZzspSsSaIqleHQIkX/jI53JdawIgX5mP2YxJwhreM5tGL06y6k2etkNEgzGi7+Xg6atFAPo="}]},"_npmUser":{"name":"1coinassets","email":"aaron@1coin.io"},"directories":{},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sushi1coin-sdk_5.1.1_1624332080314_0.3414974257448913"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-22T03:08:55.676Z","5.1.0":"2021-06-22T03:08:56.242Z","modified":"2022-04-04T10:32:48.588Z","5.1.1":"2021-06-22T03:21:20.493Z"},"maintainers":[{"name":"1coinassets","email":"aaron@1coin.io"}],"description":"🛠 An SDK for building applications on top of Sushiswap.","homepage":"https://github.com/1coinswap/sushi1coin-sdk#readme","keywords":["uniswap","sushiswap","ethereum","1coin"],"repository":{"type":"git","url":"git+https://github.com/1coinswap/sushi1coin-sdk.git"},"bugs":{"url":"https://github.com/1coinswap/sushi1coin-sdk/issues"},"license":"MIT","readme":"# ~Sushiswap~ Sushi1COIN Swap SDK\n\nIn-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\n\n# Purpose of this SDK / repository\n\nWanting to keep as much the same as SushiSwap/Uniswap as possible, we found there was no way to do this and allow potential future upgrades, without implementing our own package. This way we can just expand on all that already exists, and make modifications as we see fit.\n\nIf all goes well, we will be able to continue to use new revisions of the SushiSwap SDK without having to modify this package. Provided the original SDK does not change drastically (Non backwards compatible application breaking code).\n\nThis can be very useful for anyone looking to launch a SushiSwap clone.\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"}