{"_id":"@danielvindax/ctexswap-sdk","name":"@danielvindax/ctexswap-sdk","dist-tags":{"latest":"2.5.0"},"versions":{"2.5.0":{"name":"@danielvindax/ctexswap-sdk","license":"MIT","version":"2.5.0","description":"🛠 An SDK for building applications on top of Ctex Swap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/danielvindax/ctex-swap-sdk.git"},"keywords":["ctexswap","prx"],"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.14.1"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"gitHead":"69d83d3a9face1e955cd7bbc9e5c8a7adb70b9da","bugs":{"url":"https://github.com/danielvindax/ctex-swap-sdk/issues"},"homepage":"https://github.com/danielvindax/ctex-swap-sdk#readme","_id":"@danielvindax/ctexswap-sdk@2.5.0","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-Ov/s/ddkJF7EXuBCZE6QqwOYIYn2yXBjFSmDAhDPVYe2Rg+akTxmZESVqyfMl4t6Qu3dEtt4zHX44Kaa4DVJmg==","shasum":"0b1982136f88264e84e1446f3fb42c62b962a95d","tarball":"https://registry.npmjs.org/@danielvindax/ctexswap-sdk/-/ctexswap-sdk-2.5.0.tgz","fileCount":28,"unpackedSize":522492,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACNLyWUAbIk9ov4p53ysHtRUBw9JeRFUcPIaiBztBPkAiAwcptv9I0NhKWAwKh4uyCxxerG3z1NNPkFSjMksZ6+Ew=="}]},"_npmUser":{"name":"danielvindax","email":"daniel@vindax.com"},"directories":{},"maintainers":[{"name":"danielvindax","email":"daniel@vindax.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ctexswap-sdk_2.5.0_1683882691079_0.9868600253220592"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-12T09:11:31.014Z","2.5.0":"2023-05-12T09:11:31.265Z","modified":"2023-05-12T09:11:31.443Z"},"maintainers":[{"name":"danielvindax","email":"daniel@vindax.com"}],"description":"🛠 An SDK for building applications on top of Ctex Swap.","homepage":"https://github.com/danielvindax/ctex-swap-sdk#readme","keywords":["ctexswap","prx"],"repository":{"type":"git","url":"git+https://github.com/danielvindax/ctex-swap-sdk.git"},"bugs":{"url":"https://github.com/danielvindax/ctex-swap-sdk/issues"},"license":"MIT","readme":"# Pancakeswap 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://docs.uniswap.org/sdk/2.0.0/).\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/danielvindax/ctex-swap-sdk.git\n```\n\nMove into the ctex-swap-sdk working directory\n\n```sh\ncd ctex-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"}