{"_id":"@calculux-libs/sdk","_rev":"1-31de40ca870e60ed25609638cbc74455","name":"@calculux-libs/sdk","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@calculux-libs/sdk","private":false,"license":"MIT","version":"1.0.0","description":"🛠 An SDK for building applications on top of calculuxswap.","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Calculux-finance/calculux-swap-sdk.git"},"keywords":["calculuxswap","ethereum"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","lint:fix":"tsdx lint src test --fix","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@calculux-libs/calculux-swap-core":"file:../calculux-swap-core","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":"a39beba846ac235a7e817a8e29c735cbbbf78204","bugs":{"url":"https://github.com/Calculux-finance/calculux-swap-sdk/issues"},"homepage":"https://github.com/Calculux-finance/calculux-swap-sdk#readme","_id":"@calculux-libs/sdk@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-TgYGM6DhnWi2O+cI4jl/awMzKCquTPP+l2bvAivOhj9745kBbzQYaHOzCdGecYsk68UISaJJhwf4KOoZBbeAYQ==","shasum":"36549bd3f48a8c35605d26a390d3aea41e02c5d8","tarball":"https://registry.npmjs.org/@calculux-libs/sdk/-/sdk-1.0.0.tgz","fileCount":38,"unpackedSize":446544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBEHZCRA9TVsSAnZWagAAkm4P/18QgQ9LRxX4wirRoHZ4\nlHMgU/3osN4YkEfcCSRQ9MN+XT/YB8qWY47ZCKpKz/I1mRBBxaZ5oe90CzsG\nywksnaJQQwz4q4RVZm1TWoxYtKpNkFUZdGA6kOz8RpcxPlb4sToDNM1F8UNB\nYoRg82kw53KiGr92n+Uy1YgDE+12J6StR+xCaiEIC+zstWqpOLoX8a9pEf/a\ndrs31DzI3gda6FUSkjqIBRnM951RQoIK4DpnjCxhMJZgs9mlV5U210R0nXUb\n++4YYdF22RDO7YCQFyOKLVhajkyxC/PYKWvK9o/vx0qznLUz1+/wAU83VSkX\ny9GrUYQBUdthHC9SD4R4MwHnpurfo/T/EEMy3Iw3cWMP/LjXgD1jSsWHUhEx\nHGYZODDnfQ1cl1a9+mxpevsjr6d6pbbK1NjxPyD08uuqBoQTRtvTn9scEmXH\nOVk5UnhQdjqKxsnXeNUgHkAGds/fLIfsnw5Wq1A5+LV0FsQMqp9z5+7l9w3V\nDIWSnRZo2rKrw9EMiN1fw+3buC4f/oATdWYThGJLknJkstekABPMctEpa2Eu\n1p+0nPlj5wdFLxzVfzJd4qQFlFQ3jyI6sNHAtW49QOjQXfWA7ahmbHy1QJxB\n0HazQ1sVBDQC545O0bEuhAWbUd5ykVObYQt5K9HwbVO5LSpz+C4EW2m+q2/D\nX3vu\r\n=kRix\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWdDCLTMr0MkufkrP5K6mcI+8/lgoI5sauHqqxYgYQzgIhAOfZn3uFwGfnh164KXgiKREHar2piLYxDmCxyc1RWl1p"}]},"_npmUser":{"name":"casweeno2000","email":"casweeno2000@gmail.com"},"directories":{},"maintainers":[{"name":"casweeno2000","email":"casweeno2000@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk_1.0.0_1644446169286_0.8562714233727928"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-09T22:36:09.235Z","1.0.0":"2022-02-09T22:36:09.513Z","modified":"2022-04-04T21:31:45.407Z"},"maintainers":[{"name":"casweeno2000","email":"casweeno2000@gmail.com"}],"description":"🛠 An SDK for building applications on top of calculuxswap.","homepage":"https://github.com/Calculux-finance/calculux-swap-sdk#readme","keywords":["calculuxswap","ethereum"],"repository":{"type":"git","url":"git+https://github.com/Calculux-finance/calculux-swap-sdk.git"},"bugs":{"url":"https://github.com/Calculux-finance/calculux-swap-sdk/issues"},"license":"MIT","readme":"# Calculux SDK\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/Calculux-finance/calculux-swap-sdk.git\n```\n\nMove into the calculux-swap-sdk working directory\n\n```sh\ncd calculux-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"}