{"_id":"@daoed-com/uniswap-v2-sdk-core","_rev":"4-008c356ffc3fd5b8f01ff4ed3f933350","name":"@daoed-com/uniswap-v2-sdk-core","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@daoed-com/uniswap-v2-sdk-core","version":"1.0.0","keywords":["uniswap","ethereum","defi","dex","daoed","sdk","core","v2"],"author":{"name":"DAOed Team"},"license":"MIT","_id":"@daoed-com/uniswap-v2-sdk-core@1.0.0","maintainers":[{"name":"kafuivenu","email":"kafuivenu@gmail.com"}],"homepage":"https://github.com/daoed-com/daoed-uniswap-v2-sdk#readme","bugs":{"url":"https://github.com/daoed-com/daoed-uniswap-v2-sdk/issues"},"dist":{"shasum":"fce0f57a50c20b23e21215e356c1db5a662ed958","tarball":"https://registry.npmjs.org/@daoed-com/uniswap-v2-sdk-core/-/uniswap-v2-sdk-core-1.0.0.tgz","fileCount":41,"integrity":"sha512-4DFth0HS+W18/VsA1+FS1qJ+aZ6jSN5iA6A9pAn919MgrJKn6R26MWV7ysuyRKUlKDbl5S9eZ5ngtD9FVhQu6w==","signatures":[{"sig":"MEUCIQCTlPOWSxtlNfxClDxWVabkzEBDHLfb+QZk0HsmCOzM0AIgfFIzwsWi89sf6gx8bWO6eDemP16srdGUK+eAGtFPl2E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743400},"main":"dist/uniswap-v2-sdk-core.cjs.production.min.js","module":"dist/uniswap-v2-sdk-core.esm.js","engines":{"node":">=10"},"gitHead":"7ace2691de5502f64e8ae7192cfe2ee96e64b1ef","scripts":{"test":"tsdx test","build":"tsdx build --format cjs,esm","start":"tsdx watch","update-readme":"node update-readme.js","prepublishOnly":"yarn build"},"typings":"dist/index.d.ts","_npmUser":{"name":"kafuivenu","email":"kafuivenu@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/daoed-com/daoed-uniswap-v2-sdk.git","type":"git","directory":"sdk-core"},"_npmVersion":"10.9.2","description":"⚒️ An SDK for building applications on top of DAOed Uniswap V2 Core","directories":{},"_nodeVersion":"22.16.0","dependencies":{"jsbi":"^3.1.4","big.js":"^5.2.2","dotenv":"^17.2.2","toformat":"^2.0.0","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0","@ethersproject/address":"^5.0.2","@ethersproject/solidity":"^5.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72","devDependencies":{"tsdx":"^0.14.1","@types/jest":"^24.0.25","@types/big.js":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/uniswap-v2-sdk-core_1.0.0_1757299923103_0.9584232125327692","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@daoed-com/uniswap-v2-sdk-core","version":"1.0.1","keywords":["uniswap","ethereum","defi","dex","daoed","sdk","core","v2"],"author":{"name":"DAOed Team"},"license":"MIT","_id":"@daoed-com/uniswap-v2-sdk-core@1.0.1","maintainers":[{"name":"kafuivenu","email":"kafuivenu@gmail.com"}],"homepage":"https://github.com/daoed-com/daoed-uniswap-v2-sdk#readme","bugs":{"url":"https://github.com/daoed-com/daoed-uniswap-v2-sdk/issues"},"dist":{"shasum":"1f659c9364aed49efe5bccb1f8617f2780d43f6a","tarball":"https://registry.npmjs.org/@daoed-com/uniswap-v2-sdk-core/-/uniswap-v2-sdk-core-1.0.1.tgz","fileCount":41,"integrity":"sha512-mW5eGA8r+ksFUBinguUXJNZUWsZyaywH4sjcoqjIeQk6kpQ9DVYas2Bc3BMMslva01Z01zCabKepKrY3Db7hXw==","signatures":[{"sig":"MEYCIQDxe/HUnrzdKd21vlmDYxgp3RVe7crLygsYzNuJXyXKCAIhAJIXmpvrC0IT+HqbtvIOc70WBvaP7+gIFwNPJ4YEFVnA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743258},"main":"dist/uniswap-v2-sdk-core.cjs.production.min.js","module":"dist/uniswap-v2-sdk-core.esm.js","engines":{"node":">=10"},"gitHead":"4a134e578df568cc890f2b7f81e060974677da05","scripts":{"test":"tsdx test","build":"tsdx build --format cjs,esm","start":"tsdx watch","update-readme":"node update-readme.js","prepublishOnly":"yarn build"},"typings":"dist/index.d.ts","_npmUser":{"name":"kafuivenu","email":"kafuivenu@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/daoed-com/daoed-uniswap-v2-sdk.git","type":"git","directory":"sdk-core"},"_npmVersion":"10.9.2","description":"⚒️ A unified SDK for building applications on DAOed Uniswap V2 smart contracts","directories":{},"_nodeVersion":"22.16.0","dependencies":{"jsbi":"^3.1.4","big.js":"^5.2.2","dotenv":"^17.2.2","toformat":"^2.0.0","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0","@ethersproject/address":"^5.0.2","@ethersproject/solidity":"^5.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72","devDependencies":{"tsdx":"^0.14.1","@types/jest":"^24.0.25","@types/big.js":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/uniswap-v2-sdk-core_1.0.1_1757300221612_0.2801161929211451","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@daoed-com/uniswap-v2-sdk-core","version":"1.0.2","keywords":["uniswap","ethereum","defi","dex","sdk","daoed","blockchain"],"author":{"name":"kafuivenu"},"license":"MIT","_id":"@daoed-com/uniswap-v2-sdk-core@1.0.2","maintainers":[{"name":"kafuivenu","email":"kafuivenu@gmail.com"}],"homepage":"https://github.com/DAOed/daoed-uniswap-v2-sdk#readme","bugs":{"url":"https://github.com/DAOed/daoed-uniswap-v2-sdk/issues"},"dist":{"shasum":"c32895c0245faf33aab0539b22363d7c8d03e620","tarball":"https://registry.npmjs.org/@daoed-com/uniswap-v2-sdk-core/-/uniswap-v2-sdk-core-1.0.2.tgz","fileCount":40,"integrity":"sha512-n3bHbRvBq5qqiDSGngAgtmAhNvIe9R8JAz6SsnV12Hn08InUfR3NSpiyJWSGUrOwbWBLxTkhwQVVml0CN/fzWQ==","signatures":[{"sig":"MEYCIQCL1rag+zJVc0bbCALXqz3yMqJEcDJPwYzPJQ0D5esAXAIhALp730bqOWJ0rwSJ3Ps+mqYOTUgBCFH+vm4lwi4R7r0r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":733289},"main":"dist/uniswap-v2-sdk-core.cjs.production.min.js","module":"dist/uniswap-v2-sdk-core.esm.js","engines":{"node":">=10"},"gitHead":"e2642bbec5e5b0ee2bd0f12d844500bc2df8fb17","scripts":{"test":"tsdx test","build":"tsdx build --format cjs,esm","start":"tsdx watch","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"kafuivenu","email":"kafuivenu@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/DAOed/daoed-uniswap-v2-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"⚒️ A unified SDK for building applications on DAOed Uniswap V2 smart contracts","directories":{},"_nodeVersion":"22.16.0","dependencies":{"jsbi":"^3.1.4","big.js":"^5.2.2","toformat":"^2.0.0","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0","@ethersproject/address":"^5.0.2","@ethersproject/solidity":"^5.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72","devDependencies":{"tsdx":"^0.14.1","@types/jest":"^24.0.25","@types/big.js":"^4.0.5"},"_npmOperationalInternal":{"tmp":"tmp/uniswap-v2-sdk-core_1.0.2_1757474237375_0.5435956296677009","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-09-08T02:52:03.014Z","modified":"2025-10-04T17:30:30.578Z","1.0.0":"2025-09-08T02:52:03.332Z","1.0.1":"2025-09-08T02:57:01.825Z","1.0.2":"2025-09-10T03:17:17.630Z"},"bugs":{"url":"https://github.com/DAOed/daoed-uniswap-v2-sdk/issues"},"author":{"name":"kafuivenu"},"license":"MIT","homepage":"https://github.com/DAOed/daoed-uniswap-v2-sdk#readme","keywords":["uniswap","ethereum","defi","dex","sdk","daoed","blockchain"],"repository":{"url":"git+https://github.com/DAOed/daoed-uniswap-v2-sdk.git","type":"git"},"description":"⚒️ A unified SDK for building applications on DAOed Uniswap V2 smart contracts","maintainers":[{"email":"kafuivenu@gmail.com","name":"kafuivenu"},{"email":"makafuigdzivenu@gmail.com","name":"dzivenu"}],"readme":"# DAOed Uniswap V2 SDK Core\n\n⚒️ An SDK for building applications on top of DAOed Uniswap V2 Core\n\n## Installation\n\nInstall the SDK from npm:\n\n```bash\nnpm install @daoed-com/uniswap-v2-sdk-core\n```\n\nor with yarn:\n\n```bash\nyarn add @daoed-com/uniswap-v2-sdk-core\n```\n\n## Usage\n\n```typescript\nimport { Token, Pair, Route } from '@daoed-com/uniswap-v2-sdk-core'\n\n// Create token instances\nconst token0 = new Token(1, '0x...', 18, 'TOKEN0', 'Token 0')\nconst token1 = new Token(1, '0x...', 18, 'TOKEN1', 'Token 1')\n\n// Create pair and route\nconst pair = new Pair(token0Amount, token1Amount)\nconst route = new Route([pair], token0)\n```\n\n## Development\n\n### Building the SDK\n\nBefore committing changes, run the build command to generate the latest distribution files:\n\n```bash\nnpm run build\n```\n\nor\n\n```bash\nnpx tsdx build\n```\n\nThis will generate the compiled JavaScript files in the `dist/` directory.\n\n### Publishing Process\n\n1. Make your changes to the source code in `src/`\n2. Run the build command: `npm run build`\n3. Update the version in `package.json` if needed\n4. Publish to npm: `npm publish`\n\n### Important Notes\n\n- The `dist/` directory contains the built files for distribution\n- Always run `npm run build` before publishing to ensure the latest built files are included\n- The `prepublishOnly` script will automatically run the build before publishing\n","readmeFilename":"README.md"}