{"_id":"@baryon-swap/sdk","_rev":"1-eb90e3452390a0996cc6868771d901b3","name":"@baryon-swap/sdk","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@baryon-swap/sdk","license":"MIT","version":"1.0.1","description":"🛠 An SDK for building applications on top of BaryonSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/coin98/baryon-swap-sdk.git"},"keywords":["baryonswap","bsc","bnbchain"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"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":"29b80a659cef7c611175aaeb310a0d2d976b60fb","bugs":{"url":"https://github.com/coin98/baryon-swap-sdk/issues"},"homepage":"https://github.com/coin98/baryon-swap-sdk#readme","_id":"@baryon-swap/sdk@1.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-AGVK0truvgAjztiu2QoC4ZNtfaZ1n45pN4kl0pAStD1M2BINxB20vcWc4WdRVgHCqd6vfoHsxkvZ5cALIn5AQg==","shasum":"053cf7adb9d1b8043842a89b356d31fc4ff89d3b","tarball":"https://registry.npmjs.org/@baryon-swap/sdk/-/sdk-1.0.1.tgz","fileCount":38,"unpackedSize":494497,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOmqCTNqQBciTJALdMVGpImHp7ejV3FnwF480TIjNeUAiEAhlepkIrcmlXgXtXyOSMXaoJCdCAu06vwOydkA3wKbdA="}]},"_npmUser":{"name":"hieunv3113","email":"vanhieu13546@gmail.com"},"directories":{},"maintainers":[{"name":"hieunv3113","email":"vanhieu13546@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.1_1713335369353_0.25440320368339675"},"_hasShrinkwrap":false},"1.0.2":{"name":"@baryon-swap/sdk","license":"MIT","version":"1.0.2","description":"🛠 An SDK for building applications on top of BaryonSwap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/coin98/baryon-swap-sdk.git"},"keywords":["baryonswap","bsc","bnbchain"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.4","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0","@ethersproject/contracts":"^5.0.0","@ethersproject/networks":"^5.0.0","@ethersproject/providers":"^5.0.0","@ethersproject/solidity":"^5.0.0"},"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":"29b80a659cef7c611175aaeb310a0d2d976b60fb","bugs":{"url":"https://github.com/coin98/baryon-swap-sdk/issues"},"homepage":"https://github.com/coin98/baryon-swap-sdk#readme","_id":"@baryon-swap/sdk@1.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-jy77Glt+ksQrfs1M1sMlqqm0BmGKHbP2i2BlPgdI4hwtP2GfxzZbfAmIIr1KpQXpDAZDYksTS57wpxfEYbYVyg==","shasum":"e3e9818a4d037b2498f4447e1c679c4a68dd0882","tarball":"https://registry.npmjs.org/@baryon-swap/sdk/-/sdk-1.0.2.tgz","fileCount":38,"unpackedSize":494263,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2I6uDu2jc1NODiW+W6qk1+hZcTdZ5a316sYv275MESwIgftVee5PXgjB4dD5SgHIFccyP7Zmk4dcsbCvCp0L74a8="}]},"_npmUser":{"name":"hieunv3113","email":"vanhieu13546@gmail.com"},"directories":{},"maintainers":[{"name":"hieunv3113","email":"vanhieu13546@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.2_1713336290840_0.4643063935512657"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-17T06:29:29.231Z","1.0.1":"2024-04-17T06:29:29.519Z","modified":"2024-04-17T06:44:51.235Z","1.0.2":"2024-04-17T06:44:51.018Z"},"maintainers":[{"name":"hieunv3113","email":"vanhieu13546@gmail.com"}],"description":"🛠 An SDK for building applications on top of BaryonSwap.","homepage":"https://github.com/coin98/baryon-swap-sdk#readme","keywords":["baryonswap","bsc","bnbchain"],"repository":{"type":"git","url":"git+https://github.com/coin98/baryon-swap-sdk.git"},"bugs":{"url":"https://github.com/coin98/baryon-swap-sdk/issues"},"license":"MIT","readme":"# BaryonSwap 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/coin98/baryon-swap-sdk.git\n```\n\nMove into the baryon-swap-sdk working directory\n\n```sh\ncd baryon-swap-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"}