{"_id":"@autoshark-finance/sdk","_rev":"2-5defa8ade44e83c5cc5fb5035c06069d","name":"@autoshark-finance/sdk","dist-tags":{"latest":"2.4.2"},"versions":{"2.4.2":{"name":"@autoshark-finance/sdk","license":"MIT","version":"2.4.2","description":"🛠 An SDK for building applications on top of AutoShark.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/autoshark-finance/sdk.git"},"keywords":["autoshark-finance","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":"9a8fdedcd5030d354c18b913a9d906fe45158045","bugs":{"url":"https://github.com/autoshark-finance/sdk/issues"},"homepage":"https://github.com/autoshark-finance/sdk#readme","_id":"@autoshark-finance/sdk@2.4.2","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-OMfOiD8MenoACAzbsDq9BqR0OU+GCED/q27fnZqlL81ACiL5GfddHXrN0QHeNEjHfO8F0tNGHVpa5yKqPenwvw==","shasum":"e7a75faee3548cdfc8794ed3fdcbed1fa4d6b02a","tarball":"https://registry.npmjs.org/@autoshark-finance/sdk/-/sdk-2.4.2.tgz","fileCount":38,"unpackedSize":450014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzGtMCRA9TVsSAnZWagAAiDYP/jHWqWn2VoW5vLJZiijc\n7iztAQkr+wTMUad1pylHysE4f4QYMlfRAIMJyWG1W2oPBHahlJGgtv/CnvP0\n01j7wG9Zi+vFZ3IQYQEH/cQyltvY4bhE/hyxKnfjQ97OITtlS0f7HAjPHL90\nhYVbC+41RM4W5VeAy7YdOKKq2LCFiW3UXLzmXx3IShPHnhuWqKm2s8pJ3ec4\nPaiYi/UrBkJ3L4ZWVilfpqmYJQVrxZOAZzsazv7rCmg2E11dvFMnwIH8srxJ\nFq6AspdvLgxPWBStO/hD2IYoapQZCF8EnpzzRqDmkCkirfkBC5yRzHmBo0Xe\nYfNjOx3s8WjvTq7SWXTJ9tt3lt9A6zgF6m8aCKQvXMDlIO9JrRj+1WrRJ1dA\n+MAVQ2V7cXnEi0kPrf8xRS2wflAiapV7ha7hu2GbvUWxyuNWydThlBbbYqOu\na7EPAJo/fV3FLoVkulKAPhYCDz48473daDZ5lx0h0nSkEGOwKCM57KNO/5vl\n9Y4Hx7z/GXA3TLAzBBvn3zCKN/HVEFAPRM84toRDKdeygkkj2ytwMzEJE2Bh\nJVKMwYzGEHYAPMpvLLble92Vcq5vbOmCp7LKAgGMr/4uAf5dk5O5CPRe0uFn\nL104DegRqSwkOTa45bPWc8n4q+85w+GvGsgflcowvqdhli+FzZIpB6AtwoW1\n358w\r\n=F7A6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDErDMaLbHUtBp9a7UDylYVRqYuedZkTyauJ/1BURgVjgIhAMGAGFRDyaCwmOI3lPY2aYaI2A9VThIgq1BPbmiTh8DG"}]},"_npmUser":{"name":"autoshark-finance","email":"dev@autoshark.finance"},"directories":{},"maintainers":[{"name":"autoshark-finance","email":"dev@autoshark.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_2.4.2_1634956935290_0.1392537797435649"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-23T02:42:15.248Z","2.4.2":"2021-10-23T02:42:15.468Z","modified":"2022-04-04T16:40:44.336Z"},"maintainers":[{"name":"autoshark-finance","email":"dev@autoshark.finance"}],"description":"🛠 An SDK for building applications on top of AutoShark.","homepage":"https://github.com/autoshark-finance/sdk#readme","keywords":["autoshark-finance","bsc"],"repository":{"type":"git","url":"git+https://github.com/autoshark-finance/sdk.git"},"bugs":{"url":"https://github.com/autoshark-finance/sdk/issues"},"license":"MIT","readme":"# AutoShark 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/autoshark-finance/autoshark-sdk.git\n```\n\nMove into the autoshark-sdk working directory\n\n```sh\ncd autoshark-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"}