{"_id":"@ashwin_dev0x/suiverify-sdk","name":"@ashwin_dev0x/suiverify-sdk","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ashwin_dev0x/suiverify-sdk","version":"1.0.0","description":"SuiVerify SDK for verifying Nautilus signatures and DID NFT authenticity","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","dev":"tsc --watch","test":"jest","lint":"eslint src/**/*.ts","prepare":"npm run build","example:basic":"ts-node examples/basic-usage.ts","clean":"rm -rf dist"},"keywords":["sui","blockchain","verification","identity","nft","nautilus","enclave","did"],"author":{"name":"SuiVerify Team"},"license":"MIT","dependencies":{"@mysten/sui.js":"^0.54.1","@mysten/bcs":"^0.11.1","@noble/ed25519":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0","jest":"^29.0.0","@types/jest":"^29.0.0","eslint":"^8.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","ts-node":"^10.9.0"},"repository":{"type":"git","url":"git+https://github.com/suiverify/suiverify-sdk.git"},"_id":"@ashwin_dev0x/suiverify-sdk@1.0.0","gitHead":"e92b5cc8790e80ffd1360055a58307d2e08a9989","bugs":{"url":"https://github.com/suiverify/suiverify-sdk/issues"},"homepage":"https://github.com/suiverify/suiverify-sdk#readme","_nodeVersion":"22.14.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-IoCzAKZZqM4KxsAgGes1Sq/depCpVgN55hlQHkQMD+01sNlDEktkT1u7qVfOFvON6P0k/nNiMbvSPwVazBEesQ==","shasum":"2bca980cbac1732b9af0fb7ff5e316c8ea6e3c85","tarball":"https://registry.npmjs.org/@ashwin_dev0x/suiverify-sdk/-/suiverify-sdk-1.0.0.tgz","fileCount":14,"unpackedSize":25315,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCwArcVQTv0bdaBv3gdg9RRAor1Cn6QROoGFIjTH55EEQIhAJizLJYWzmUztZw8IkwAvbS9vpTfxfTmc7FsQ8jdljg5"}]},"_npmUser":{"name":"ashwin_dev0x","email":"flashashwin2004@gmail.com"},"directories":{},"maintainers":[{"name":"ashwin_dev0x","email":"flashashwin2004@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/suiverify-sdk_1.0.0_1759022573490_0.6406942415718679"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-28T01:22:53.412Z","1.0.0":"2025-09-28T01:22:53.676Z","modified":"2025-09-28T01:22:53.933Z"},"maintainers":[{"name":"ashwin_dev0x","email":"flashashwin2004@gmail.com"}],"description":"SuiVerify SDK for verifying Nautilus signatures and DID NFT authenticity","homepage":"https://github.com/suiverify/suiverify-sdk#readme","keywords":["sui","blockchain","verification","identity","nft","nautilus","enclave","did"],"repository":{"type":"git","url":"git+https://github.com/suiverify/suiverify-sdk.git"},"author":{"name":"SuiVerify Team"},"bugs":{"url":"https://github.com/suiverify/suiverify-sdk/issues"},"license":"MIT","readme":"# SuiVerify SDK\n\nA TypeScript SDK for verifying Nautilus enclave signatures and DID NFT authenticity on the Sui blockchain.\n\n## Features\n\n- ✅ **DID NFT Verification** - Verify the authenticity of identity NFTs\n- ✅ **Enclave Signature Validation** - Validate Nautilus enclave signatures\n- ✅ **Ownership Verification** - Check NFT ownership\n- ✅ **Batch Operations** - Verify multiple NFTs efficiently\n- ✅ **TypeScript Support** - Full type definitions included\n\n## Installation\n\n```bash\nnpm install @suiverify/sdk\n```\n\n## Quick Start\n\n```typescript\nimport { SuiVerifySDK } from '@suiverify/sdk';\n\n// Initialize SDK\nconst sdk = new SuiVerifySDK({\n  network: 'testnet',\n  packageId: '0x...' // Your package ID\n});\n\n// Verify a DID NFT\nconst result = await sdk.verifyDIDNFT('0x...', {\n  checkOwnership: true,\n  validateSignature: true\n});\n\nif (result.isValid) {\n  console.log('✅ NFT is authentic!');\n} else {\n  console.log('❌ Verification failed:', result.message);\n}\n```\n\n## API Reference\n\n### SuiVerifySDK\n\n#### Constructor\n\n```typescript\nnew SuiVerifySDK(config: SuiVerifyConfig)\n```\n\n#### Methods\n\n- `verifyDIDNFT(nftObjectId, options?)` - Verify a single DID NFT\n- `batchVerifyNFTs(nftObjectIds, options?)` - Verify multiple NFTs\n- `getDIDNFTsByOwner(ownerAddress)` - Get all DID NFTs for an address\n- `verifyEnclaveSignature(signature)` - Verify Nautilus enclave signature\n\n## Examples\n\nSee the `examples/` directory for complete usage examples.\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build the SDK\nnpm run build\n\n# Run example\nnpm run example:basic\n\n# Run tests\nnpm test\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-6545bbcd8fabfcf51dd0651b1ecd7b7d"}