{"_id":"@0xwh1sker/mantle-core","_rev":"4-3ea06426c7d2808c0202df5e0bab7af6","name":"@0xwh1sker/mantle-core","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.3":{"name":"@0xwh1sker/mantle-core","version":"0.1.3","license":"MIT","_id":"@0xwh1sker/mantle-core@0.1.3","maintainers":[{"name":"0xwh1sker","email":"demiwhisker@gmail.com"}],"dist":{"shasum":"3ff2fcf247c8c4328fc02c22c6d7e22129bc2bb4","tarball":"https://registry.npmjs.org/@0xwh1sker/mantle-core/-/mantle-core-0.1.3.tgz","fileCount":124,"integrity":"sha512-EVxBZE1alFJKuBG+d7wHTvzWSmt9pN3kGZU9usn1SUySKnDkWjQH9YYBbVviV2wTgqRMTp0UV572kU9Ayv+v8A==","signatures":[{"sig":"MEUCIDtjuvirInU6alTOs8Fu/1rlqNV5mBsso6BZM+P5mjLFAiEA2QRoaHwOwsvrMKm4ou5BuZmshsR8luAvVpUjS0TezUk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":731405},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"gitHead":"b4a72d7a9f49a2962c0178e30fcc58814953634c","scripts":{"build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xwh1sker","email":"demiwhisker@gmail.com"},"_npmVersion":"10.9.2","description":"Core business logic for Mantle L2 — chain reads, DeFi queries, and unsigned transaction building","directories":{},"_nodeVersion":"22.17.0","dependencies":{"viem":"^2.39.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mantle-core_0.1.3_1775888516431_0.7387965252666815","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@0xwh1sker/mantle-core","version":"0.1.4","license":"MIT","_id":"@0xwh1sker/mantle-core@0.1.4","maintainers":[{"name":"0xwh1sker","email":"demiwhisker@gmail.com"}],"dist":{"shasum":"cb868480150657995a6b804a7de85a2c45399492","tarball":"https://registry.npmjs.org/@0xwh1sker/mantle-core/-/mantle-core-0.1.4.tgz","fileCount":128,"integrity":"sha512-q43fka6A9piSbfKI78i/X8e9BlRvNLF04zvTFSDuRxQmo1UEGbe4n+Hk41iKYhQ6t3Oj3XXigzoBSZ/oIUKK6w==","signatures":[{"sig":"MEUCIBv3YwxsHLyjTQ4liG8spdYXio5y5qdYML+wYZ2DdmXRAiEArvvi8hmAhbPTSRZyD/TuLBIVgDnKgM2Ivn1KKMdOkds=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":772706},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"gitHead":"cbe883d0c11ef43838a9dd6db3b3a8df1457c252","scripts":{"build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xwh1sker","email":"demiwhisker@gmail.com"},"_npmVersion":"10.9.2","description":"Core business logic for Mantle L2 — chain reads, DeFi queries, and unsigned transaction building","directories":{},"_nodeVersion":"22.17.0","dependencies":{"viem":"^2.39.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mantle-core_0.1.4_1775908009052_0.024029096623648494","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@0xwh1sker/mantle-core","version":"0.1.5","license":"MIT","_id":"@0xwh1sker/mantle-core@0.1.5","maintainers":[{"name":"0xwh1sker","email":"demiwhisker@gmail.com"}],"dist":{"shasum":"bc6602891819fdbf7d80714dcf814571d7011885","tarball":"https://registry.npmjs.org/@0xwh1sker/mantle-core/-/mantle-core-0.1.5.tgz","fileCount":132,"integrity":"sha512-NyOIYNsWYUisbJ2JknihrYLAfN1MbSXlwlwYxOYLgfIVjzdx3d356hLj6h8GNQ33+Ly8e/iBnrInDly8uasL+A==","signatures":[{"sig":"MEUCIGh4PKSiMsK384LPoqTt95s/tSMNNdXzfMwqvYG3XDFcAiEAgbB2Pm8/g9VmTJiWNiCbVJjnaV645ylllrBmvpxlC5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":851481},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"gitHead":"b299b54b620469186241aa0c52326c08b9edceee","scripts":{"build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xwh1sker","email":"demiwhisker@gmail.com"},"_npmVersion":"10.9.2","description":"Core business logic for Mantle L2 — chain reads, DeFi queries, and unsigned transaction building","directories":{},"_nodeVersion":"22.17.0","dependencies":{"viem":"^2.39.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mantle-core_0.1.5_1775957432452_0.9781596996966733","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@0xwh1sker/mantle-core","version":"0.1.6","license":"MIT","description":"Core business logic for Mantle L2 — chain reads, DeFi queries, and unsigned transaction building","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","prepack":"npm run build"},"dependencies":{"viem":"^2.39.0"},"engines":{"node":">=20.0.0"},"_id":"@0xwh1sker/mantle-core@0.1.6","gitHead":"338277d7185dde65869f31d9e7d86d3d1dafeceb","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-rCnnPTWR1VCP5CFaqH8ktaqzaZlntockW3N4uZpVoW4QcZLL47KSOuymNGQ2ZU5z9t2aMFkRGBFwMBFwVoPN3A==","shasum":"7b9f44c19fcb01bbbedc6c06fdedc55dc9594db0","tarball":"https://registry.npmjs.org/@0xwh1sker/mantle-core/-/mantle-core-0.1.6.tgz","fileCount":132,"unpackedSize":857864,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFOD48kAJBZpZZ/OpSF5HtdGO2gXf00iWZLeDrRat4ClAiAGhZKXgaeCOybFRHWqM3syciccLz6ai4F3qUHI0IeiwQ=="}]},"_npmUser":{"name":"0xwh1sker","email":"demiwhisker@gmail.com"},"directories":{},"maintainers":[{"name":"0xwh1sker","email":"demiwhisker@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mantle-core_0.1.6_1775967873615_0.6790857448000729"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-11T06:21:56.328Z","modified":"2026-04-12T04:24:33.916Z","0.1.3":"2026-04-11T06:21:56.621Z","0.1.4":"2026-04-11T11:46:49.278Z","0.1.5":"2026-04-12T01:30:32.659Z","0.1.6":"2026-04-12T04:24:33.825Z"},"license":"MIT","description":"Core business logic for Mantle L2 — chain reads, DeFi queries, and unsigned transaction building","maintainers":[{"name":"0xwh1sker","email":"demiwhisker@gmail.com"}],"readme":"# @0xwh1sker/mantle-core\n\nShared business logic for Mantle L2 tooling — chain reads, DeFi queries, and unsigned transaction building.\n\n## Install\n\n```bash\nnpm install @0xwh1sker/mantle-core\n```\n\n## What's included\n\n- **tools/** — callable handlers for chain, registry, account, token, DeFi, indexer, and diagnostics operations\n- **lib/** — shared helpers: viem clients, network normalization, token registry, endpoint policy, contract ABIs\n- **config/** — chain configs, token lists, protocol metadata, DEX pairs, Aave reserves\n- **errors.ts** — `MantleMcpError` error class\n- **types.ts** — `Tool`, `Resource`, `Network` type definitions\n- **capability-catalog.ts** — structured tool metadata for LLM discovery\n\n## Usage\n\n```ts\nimport { allTools } from \"@0xwh1sker/mantle-core/tools/index.js\";\n\nconst result = await allTools[\"mantle_getChainInfo\"].handler({ network: \"mainnet\" });\nconsole.log(result);\n```\n\n## Related packages\n\n- [`@0xwh1sker/mantle-cli`](https://www.npmjs.com/package/@0xwh1sker/mantle-cli) — CLI interface built on mantle-core\n- [`@0xwh1sker/mantle-mcp`](https://www.npmjs.com/package/@0xwh1sker/mantle-mcp) — MCP server for AI agents\n\n## License\n\nMIT\n","readmeFilename":"README.md"}