{"_id":"@allenzhong/moonbeamswap","name":"@allenzhong/moonbeamswap","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@allenzhong/moonbeamswap","license":"MIT","version":"0.0.1","description":"🛠 An example SDK for building applications on top of Uniswap in Moonbeam.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/PureStake/moonbeam.git"},"keywords":["uniswap","ethereum","moonbeam"],"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.14.1"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"489f66e863d49443ccfe9032821f0219d6cbb4d0","bugs":{"url":"https://github.com/PureStake/moonbeam/issues"},"homepage":"https://github.com/PureStake/moonbeam#readme","_id":"@allenzhong/moonbeamswap@0.0.1","_nodeVersion":"14.18.1","_npmVersion":"8.6.0","dist":{"integrity":"sha512-wfF1oG/GODoWGN6fn6rPLABw5WT0Y9H1eB/WpcEVZy32fgnvB/F7Mhf+6GT6Dcd2cXdWF6Ou/JF0pDxhrUxDpw==","shasum":"9e904aa3dd55b818a7c919fcabe371e88f831ee5","tarball":"https://registry.npmjs.org/@allenzhong/moonbeamswap/-/moonbeamswap-0.0.1.tgz","fileCount":28,"unpackedSize":642887,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwUoGOKQH6FIcNm4qzXxhcKAqU7LfiGGzSl5T3dzuP8wIgfWqWx1VfYQv03/NzmjfBzCezaa9oLMwO53KMwKODNVg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJii+wwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIqg/9Friwd46yZO+hnNvwqX54N+26XorwNsU9ei4SzzD3S87Q1x0c\r\nAHjboLRq4E5Z7SN4Lm+/eqB4lTU6tLc3/xdUZTFKYiWwATaFpaFhOvk4ceb1\r\nd8YfpqjiQEtRLcnQs2c39xW+hIzmeMkRGfkKFHl3hLmLXT0bSm5zhQiEECC4\r\nrbyne7zNsF2WFw9uOjPt9MtSLPuq1K7osXaquQXRyqS3SLvAExqtK20p2WJb\r\n0n421m23z+rc2Xzl0EHhiCRN4vIbsTAkTFpHXIUsCe/sAzDBd2gbtDh5qr0f\r\nAZWCsdNLKzGSfWAOgAL8DG1q+tJRjxPfPHu77fAevjL/jUF/rC4tRLob4eT8\r\n4+cEjd7uCKX4HiJFKjThOiI9AZy1VbW2RNK7OHt5C6QaxS+IDMLOgSGgFFMj\r\nIG6+ljrzKigVrgyOgxWYVepSuskXpKUTwtc8fhZPNpvbyo2lG0yb0eYE1JnE\r\nskmCrbVX4zbOpDwvnTjCV6TfHtAGO+YVRSoGn3AG8OvfOf7GIi7YHe4fTnEk\r\njELPLhPhVRndWx04L7QjiC9ALchaOO9m8JurTuH1+A9E6MX9nqyJgn4s9uSJ\r\nRDZdu70I8tnxcoBBvEwjPehq0KM3Cm/HkhWMIUl+aB6wYiMn5OJsw+/GR3Cl\r\nN/Yhalau6+K69+LWb4P4aw1/C+9LoHxY6x0=\r\n=W5tA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"allenzhong","email":"zhong.allen@gmail.com"},"directories":{},"maintainers":[{"name":"allenzhong","email":"zhong.allen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moonbeamswap_0.0.1_1653337136485_0.30909529456644136"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-23T20:18:56.423Z","0.0.1":"2022-05-23T20:18:56.720Z","modified":"2022-05-23T20:18:56.869Z"},"maintainers":[{"name":"allenzhong","email":"zhong.allen@gmail.com"}],"description":"🛠 An example SDK for building applications on top of Uniswap in Moonbeam.","homepage":"https://github.com/PureStake/moonbeam#readme","keywords":["uniswap","ethereum","moonbeam"],"repository":{"type":"git","url":"git+https://github.com/PureStake/moonbeam.git"},"bugs":{"url":"https://github.com/PureStake/moonbeam/issues"},"license":"MIT","readme":"# Uniswap SDK\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)\n[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)\n[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)\n\nIn-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).\n\n## Address Modifications\n\nWhen deploying a new instance in Moonbase Alpha, you need to modify the address in the following files:\n\nWETH: `./src/entities/token.ts`\nFactory: `./src/constants.ts`\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/Uniswap/uniswap-sdk.git\n```\n\nMove into the uniswap-sdk working directory\n\n```sh\ncd uniswap-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"}