{"_id":"@allo-kit/sdk","_rev":"4-cdff6476c7e00f6caa13ffd4deeba94e","name":"@allo-kit/sdk","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@allo-kit/sdk","version":"0.1.0","keywords":["blockchain","sdk","ethereum","commit-protocol"],"author":{"name":"Carl Barrdahl"},"license":"MIT","_id":"@allo-kit/sdk@0.1.0","maintainers":[{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"}],"homepage":"https://github.com/allocapital/allo-kit-qf#readme","bugs":{"url":"https://github.com/allocapital/allo-kit-qf/issues"},"dist":{"shasum":"59e222253264ef9d43c33b5a5dda8cd42efd2674","tarball":"https://registry.npmjs.org/@allo-kit/sdk/-/sdk-0.1.0.tgz","fileCount":30,"integrity":"sha512-IkQa7IG1nIVdxzXsi5ii76FVGybOXhsBeHXwBp7nvON+2Hu+gs5rAeCkMsxKmmJC0Qpopb+zK7+BKyoB8Ld4SQ==","signatures":[{"sig":"MEUCIAkU2AjfSnEc7b1IlVmpsctun057SiAM2nz2r1RtYe01AiEAiik7rdU/rRw/J8jsyZcuQDdEAZr2biVp2YEgMRSaPlA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355349},"main":"dist/src/index.js","type":"module","types":"dist/src/index.d.ts","module":"src/index.ts","exports":{".":"./dist/src/index.js","./utils":"./dist/src/utils.js","./package.json":"./package.json","./deployedContracts":"./dist/contracts/deployedContracts.js"},"gitHead":"6942acdc7875bb339a11ff4670c0dc211d880ba9","scripts":{"test":"vitest","build":"tsc","generate":"wagmi generate","prepublishOnly":"npm run build"},"_npmUser":{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"},"repository":{"url":"git+https://github.com/allocapital/allo-kit-qf.git","type":"git"},"_npmVersion":"10.9.1","description":"SDK for interacting with AlloKit smart contracts","directories":{},"_nodeVersion":"20.18.0","dependencies":{"viem":"^2.21.56","@wagmi/cli":"^2.3.1","@wagmi/core":"^2.16.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","@types/bun":"latest","typescript":"^5.0.0","@vitest/coverage-v8":"^1.6.1"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1749807538571_0.11252066017683315","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@allo-kit/sdk","version":"0.1.1","keywords":["blockchain","sdk","ethereum","commit-protocol"],"author":{"name":"Carl Barrdahl"},"license":"MIT","_id":"@allo-kit/sdk@0.1.1","maintainers":[{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"}],"homepage":"https://github.com/allocapital/allo-kit-qf#readme","bugs":{"url":"https://github.com/allocapital/allo-kit-qf/issues"},"dist":{"shasum":"1d4919cbe0fec2660090f77ce3cc4bc1fb6369fb","tarball":"https://registry.npmjs.org/@allo-kit/sdk/-/sdk-0.1.1.tgz","fileCount":30,"integrity":"sha512-DerzszkMJSUB1F8O2uhhtyCyCd/9Pz9AUd25kV4OV4lvhst/7RJFb1W2fWxytEc/DEN5ZsLc4h/xXyBja5MTmw==","signatures":[{"sig":"MEUCICnBbSh5ZAAwBQKCGtSKROuxK9Y5BIzbNfAWgPTOSKxcAiEA4Keed+CjjbbGKnPF/4BHYGCgZknS2Ghff+enHqrEIbw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":352190},"main":"dist/src/index.js","type":"module","types":"dist/src/index.d.ts","module":"src/index.ts","exports":{".":"./dist/src/index.js","./utils":"./dist/src/utils.js","./package.json":"./package.json","./deployedContracts":"./dist/contracts/deployedContracts.js"},"gitHead":"7343b989b7795e0946ecfbf163eaee5c2239df33","scripts":{"test":"vitest","build":"tsc","generate":"wagmi generate","prepublishOnly":"npm run build"},"_npmUser":{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"},"repository":{"url":"git+https://github.com/allocapital/allo-kit-qf.git","type":"git"},"_npmVersion":"10.9.1","description":"SDK for interacting with AlloKit smart contracts","directories":{},"_nodeVersion":"20.18.0","dependencies":{"viem":"^2.21.56","@wagmi/cli":"^2.3.1","@wagmi/core":"^2.16.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","@types/bun":"latest","typescript":"^5.0.0","@vitest/coverage-v8":"^1.6.1"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1749807890815_0.2301956018316742","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@allo-kit/sdk","version":"0.1.2","keywords":["blockchain","sdk","ethereum","commit-protocol"],"author":{"name":"Carl Barrdahl"},"license":"MIT","_id":"@allo-kit/sdk@0.1.2","maintainers":[{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"}],"homepage":"https://github.com/allocapital/allo-kit#readme","bugs":{"url":"https://github.com/allocapital/allo-kit/issues"},"dist":{"shasum":"ae775333bb89c960d040cdbc1e349ee974bc6857","tarball":"https://registry.npmjs.org/@allo-kit/sdk/-/sdk-0.1.2.tgz","fileCount":30,"integrity":"sha512-koLDvhTsasIZcc7REjzD81ioNziRwU7x0VUWs2X2NeaD4F7hW48OiAmkwIIeQ+jXxSjV9vhyfK6uNNjMY9eyKA==","signatures":[{"sig":"MEUCICI6bwRpLKi0nY+U5V5neSimvUG3sol0fB9aVIJD8phFAiEAu25+v9mUMXpV1nv7AXKUPUeLuyQGhAqQAz2cV7ddR/0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354169},"main":"dist/src/index.js","type":"module","types":"dist/src/index.d.ts","module":"src/index.ts","exports":{".":"./dist/src/index.js","./utils":"./dist/src/utils.js","./package.json":"./package.json","./deployedContracts":"./dist/contracts/deployedContracts.js"},"gitHead":"3832881ce077643fd7df1a70449519256f0fa2a1","scripts":{"test":"vitest","build":"tsc","generate":"wagmi generate","prepublishOnly":"npm run build"},"_npmUser":{"name":"allo-kit","actor":{"name":"allo-kit","type":"user","email":"carlbarrdahl+allo-kit@gmail.com"},"email":"carlbarrdahl+allo-kit@gmail.com"},"repository":{"url":"git+https://github.com/allocapital/allo-kit.git","type":"git"},"_npmVersion":"10.9.1","description":"SDK for interacting with AlloKit smart contracts","directories":{},"_nodeVersion":"20.18.0","dependencies":{"viem":"^2.21.56","@wagmi/cli":"^2.3.1","@wagmi/core":"^2.16.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.1","@types/bun":"latest","typescript":"^5.0.0","@vitest/coverage-v8":"^1.6.1"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1750189142499_0.8107871131499969","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@allo-kit/sdk","version":"0.1.3","module":"src/index.ts","type":"module","description":"SDK for interacting with AlloKit smart contracts","main":"dist/src/index.js","types":"dist/src/index.d.ts","exports":{"./deployedContracts":"./dist/contracts/deployedContracts.js","./package.json":"./package.json",".":"./dist/src/index.js","./utils":"./dist/src/utils.js"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","generate":"wagmi generate","test":"vitest"},"devDependencies":{"@types/bun":"latest","@vitest/coverage-v8":"^1.6.1","typescript":"^5.0.0","vitest":"^1.6.1"},"peerDependencies":{"typescript":"^5.0.0"},"dependencies":{"@wagmi/cli":"^2.3.1","@wagmi/core":"^2.16.3","viem":"^2.21.56"},"keywords":["blockchain","sdk","ethereum","commit-protocol"],"repository":{"type":"git","url":"git+https://github.com/allocapital/allo-kit.git"},"author":{"name":"Carl Barrdahl"},"license":"MIT","_id":"@allo-kit/sdk@0.1.3","gitHead":"b094503878f6c5076c096b52b6d9115ff2d6def9","bugs":{"url":"https://github.com/allocapital/allo-kit/issues"},"homepage":"https://github.com/allocapital/allo-kit#readme","_nodeVersion":"20.18.0","_npmVersion":"10.9.1","dist":{"integrity":"sha512-pDl779HkNHP7VMaAzzzkPAK4kNH8BJgAnyP/ocKIObDXgsR1xGAWGfDYcPCyjs+T4SQtvoA9wO0I32RTiNeV2w==","shasum":"eab4ef8b7e8e6d50b0f0e5b442cfac61bbda9198","tarball":"https://registry.npmjs.org/@allo-kit/sdk/-/sdk-0.1.3.tgz","fileCount":30,"unpackedSize":428186,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFQNwHIGktGs+lMRFD940VKEfp/GDN8R64FKPez8M7MPAiA7abBcjnGmOYKunEWTScdUiOnYQJjdxOTeXfhLQ23jmQ=="}]},"_npmUser":{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com","actor":{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.3_1750331335764_0.6421846490969041"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-13T09:38:58.481Z","modified":"2025-06-19T11:08:56.106Z","0.1.0":"2025-06-13T09:38:58.765Z","0.1.1":"2025-06-13T09:44:51.028Z","0.1.2":"2025-06-17T19:39:02.672Z","0.1.3":"2025-06-19T11:08:55.939Z"},"bugs":{"url":"https://github.com/allocapital/allo-kit/issues"},"author":{"name":"Carl Barrdahl"},"license":"MIT","homepage":"https://github.com/allocapital/allo-kit#readme","keywords":["blockchain","sdk","ethereum","commit-protocol"],"repository":{"type":"git","url":"git+https://github.com/allocapital/allo-kit.git"},"description":"SDK for interacting with AlloKit smart contracts","maintainers":[{"name":"allo-kit","email":"carlbarrdahl+allo-kit@gmail.com"}],"readme":"# AlloKit SDK\n\n```tsx\nimport { AlloKitSDK } from \"@allo-kit/sdk\";\n\nconst alloKitSDK = new AlloKitSDK(viemClient, chainId);\n\n// Deploy a new pool\nconst { pool } = await alloKitSDK.deployPool(\n  \"0x...\", // owner address\n  {\n    // pool configuration\n    metadataURI: \"ipfsCid\",\n    // ... other config options\n  }\n);\n\n// Register a project\nawait alloKitSDK.register(pool, \"0xProjectAddress\", \"ipfsCid\");\n\n// Review a project (0: Rejected, 1: Pending, 2: Approved)\nawait alloKitSDK.review(pool, \"0xProjectAddress\", 2, \"ipfsCid\");\n\n// Update project metadata\nawait alloKitSDK.update(pool, \"0xProjectAddress\", \"newIpfsCid\");\n\n// Allocate funds to recipients\nawait alloKitSDK.allocate(\n  pool,\n  [\"0xRecipient1\", \"0xRecipient2\"],\n  [parseUnits(\"100\", 18), parseUnits(\"200\", 18)],\n  \"0xTokenAddress\"\n);\n\n// Distribute funds to recipients\nawait alloKitSDK.distribute(\n  pool,\n  [\"0xRecipient1\", \"0xRecipient2\"],\n  [parseUnits(\"100\", 18), parseUnits(\"200\", 18)],\n  \"0xTokenAddress\"\n);\n```\n","readmeFilename":"README.md"}