{"_id":"@carlomigueldy/atlantis-world-swapr-sdk","name":"@carlomigueldy/atlantis-world-swapr-sdk","dist-tags":{"latest":"1.2.0-beta.1"},"versions":{"1.2.0-beta.1":{"name":"@carlomigueldy/atlantis-world-swapr-sdk","license":"AGPL-3.0-or-later","version":"1.2.0-beta.1","description":"An SDK for building applications on top of Swapr","main":"./dist/index.js","typings":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/levelkdev/swapr-sdk.git"},"keywords":["swapr","ethereum","dxdao","swapr"],"scripts":{"lint":"eslint src/ --ext .ts","lint:fix":"eslint src/ --ext .ts --fix","build":"tsc","test":"jest","prepublishOnly":"npm run build","docker:up":"docker-compose up -d","docker:restart":"docker-compose restart","docker:clean":"docker-compose kill","install-peers":"install-peers","prepare":"install-peers"},"dependencies":{"@ethersproject/abi":"^5.4.0","@ethersproject/address":"^5.4.0","@ethersproject/bignumber":"^5.4.0","@ethersproject/constants":"^5.4.0","@ethersproject/contracts":"^5.4.0","@ethersproject/networks":"^5.4.0","@ethersproject/providers":"^5.4.0","@ethersproject/solidity":"^5.4.0","@ethersproject/transactions":"^5.4.0","@ethersproject/units":"^5.4.0","@gnosis.pm/gp-v2-contracts":"^1.1.2","@swapr/core":"^0.3.18","@swapr/periphery":"^0.3.20","big.js":"^5.2.2","dayjs":"^1.11.0","debug":"^4.3.4","decimal.js-light":"^2.5.1","jsbi":"^3.1.1","lodash.flatmap":"^4.5.0","node-fetch":"2","tiny-invariant":"^1.2.0","tiny-warning":"^1.0.3","toformat":"^2.0.0","tslib":"^2.3.1"},"devDependencies":{"@types/big.js":"^4.0.5","@types/debug":"^4.1.7","@types/jest":"^27.0.0","@types/lodash.flatmap":"^4.5.6","@types/node-fetch":"^2.6.1","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","babel-plugin-transform-jsbi-to-bigint":"^1.4.0","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.25.4","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.30.0","eslint-plugin-simple-import-sort":"^7.0.0","eslint-plugin-unused-imports":"^2.0.0","install-peers-cli":"^2.2.0","jest":"^27.5.1","ts-jest":"^27.1.3","typescript":"^4.6.2"},"peerDependencies":{"ethers":"^5.4.0"},"engines":{"node":">=16.0.0"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"resolutions":{"@ethersproject/providers":"^5.4.0"},"gitHead":"2363a7546c304c25a00bf22d92bd0a90ec93e8e0","bugs":{"url":"https://github.com/levelkdev/swapr-sdk/issues"},"homepage":"https://github.com/levelkdev/swapr-sdk#readme","_id":"@carlomigueldy/atlantis-world-swapr-sdk@1.2.0-beta.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-3ZDCqtfeKcHvl9UWVG2fHra+9WeTncA4HC2BEWNdlR6Xp4yUObNj/XIqpTArgojtTBgXLCBezIAwWByU+Lt4jA==","shasum":"2fc02eff01bda8299bd9c111ab9b2b0f2bf747a2","tarball":"https://registry.npmjs.org/@carlomigueldy/atlantis-world-swapr-sdk/-/atlantis-world-swapr-sdk-1.2.0-beta.1.tgz","fileCount":201,"unpackedSize":586086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfn7PjmhAI63VXBoUtymoPm3vC858KUEaYAwThy7DtEQIgDVSP81lLs47ews3f39biXxAxNQsmlwPxVeCxmssZ5xc="}]},"_npmUser":{"name":"carlomigueldy","email":"carlomigueldy@gmail.com"},"directories":{},"maintainers":[{"name":"carlomigueldy","email":"carlomigueldy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/atlantis-world-swapr-sdk_1.2.0-beta.1_1695727206982_0.46498025844958124"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-26T11:20:06.874Z","1.2.0-beta.1":"2023-09-26T11:20:07.195Z","modified":"2023-09-26T11:20:07.480Z"},"maintainers":[{"name":"carlomigueldy","email":"carlomigueldy@gmail.com"}],"description":"An SDK for building applications on top of Swapr","homepage":"https://github.com/levelkdev/swapr-sdk#readme","keywords":["swapr","ethereum","dxdao","swapr"],"repository":{"type":"git","url":"git+https://github.com/levelkdev/swapr-sdk.git"},"bugs":{"url":"https://github.com/levelkdev/swapr-sdk/issues"},"license":"AGPL-3.0-or-later","readme":"# Swapr SDK\n\n## Getting Started\n\n### Running tests\n\nTo run the tests, follow these steps. You must have at least node v16 installed.\n\nFirst clone the repository:\n\n```sh\ngit clone https://github.com/levelkdev/swapr-sdk.git\n```\n\nMove into the dxswap-sdk working directory\n\n```sh\ncd swapr-sdk\n```\n\nInstall dependencies\n\n```sh\nnpm install\n```\n\nRun tests\n\n```sh\nnpm run test\n```\n\n## Eco Router Trades\n\nSwapr uses multiple trades to find best protocol and route for traders. Currently supported DEXs are\n\n| Protocol     | Ethereum | Arbitrum One | Gnosis Chain | Polygon |\n| ------------ | -------- | ------------ | ------------ | ------- |\n| Swapr        | ✅       | ✅           | ✅           |         |\n| Uniswap v2   | ✅       | ✅           | ✅           |         |\n| SushiSwap    | ✅       | ✅           | ✅           | ✅      |\n| Honeyswap    |          |              | ✅           |         |\n| Levinswap    |          |              | ✅           |         |\n| Baoswap      |          |              | ✅           |         |\n| Curve        | WIP      | ✅           | ✅           |         |\n| CoW Protocol | ✅       |              | ✅           |         |\n| Quickswap    |          |              |              | ✅      |\n| DFYN         |          |              |              | ✅      |\n\nThe `Trade` class is extendable. New DEXs can be added to the SDK by extending the `Trade` and adding required methods.\n","readmeFilename":"README.md"}