{"_id":"@admissible/sdk","_rev":"4-663ce0332f1c714c8c72c2e5b963ac88","name":"@admissible/sdk","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@admissible/sdk","version":"0.1.0","keywords":["eas","attestation","creditcoin","attestcoin","ethereum"],"license":"MIT","_id":"@admissible/sdk@0.1.0","maintainers":[{"name":"okeyamy","email":"amaobiokeoma@gmail.com"}],"bin":{"admissible":"dist/cjs/bin/admissible.js"},"dist":{"shasum":"ad040491af360bf8efb77e95671461acff8586a4","tarball":"https://registry.npmjs.org/@admissible/sdk/-/sdk-0.1.0.tgz","fileCount":40,"integrity":"sha512-er5nrjD6xTUzy9yGaPyAsexXI5Z1XqA+ntq0MUInTw4E8hOc8JZpzcGlirjtp1IDYuL1E6DMbvEYt+gbyxJIyQ==","signatures":[{"sig":"MEYCIQDAQgXmTN2Lr5vY7AUWw+RAREt3vamGc2C3iMTJCyP9qQIhAMY3M3aup3Ov0vwW7Hn4oxCcQ0w424HZUR7XeSWno8FD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":252117},"main":"./dist/cjs/src/index.js","types":"./dist/types/src/index.d.ts","module":"./dist/esm/src/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js"},"./package.json":"./package.json"},"gitHead":"3506cd1bb928e6976d46d1e7e3f1b36aecd4d711","scripts":{"cli":"node dist/cjs/bin/admissible.js","build":"npm run clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json && node scripts/fixup.mjs","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"okeyamy","email":"amaobiokeoma@gmail.com"},"_npmVersion":"10.9.7","description":"Ethereum attestations, admissible on Creditcoin. Mirror, resolve and verify EAS attestations through the Attestcoin Protocol.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"ethers":"^6.15.0","@gluwa/usc-sdk":"0.18.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1789174956371_0.1423393662697514","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@admissible/sdk","version":"0.1.1","keywords":["eas","attestation","creditcoin","attestcoin","ethereum"],"license":"MIT","_id":"@admissible/sdk@0.1.1","maintainers":[{"name":"okeyamy","email":"amaobiokeoma@gmail.com"}],"bin":{"admissible":"dist/cjs/bin/admissible.js"},"dist":{"shasum":"1dd844f4c8213cf1e83cc553febc677f82ce1e82","tarball":"https://registry.npmjs.org/@admissible/sdk/-/sdk-0.1.1.tgz","fileCount":40,"integrity":"sha512-tqdkpghbEFHgYDME3z4I7Ff74trTmlgFBUE9jFvLqldO8nDyL/0AEYIOcapjg7d8Dy3sJ7QDGLE69wDYyDjQIQ==","signatures":[{"sig":"MEQCIDVF/N5b7Xqdx7wbPt5MniBYxO609917h8YHSm2l0RB9AiBGec47HiPYI9CEbRl1rOPi45JXad3BolCksgUvQCi1Kg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCfQ1ZMC/4aP4jyHetfXq0Xc6xMbgWBGc3NRcOomiZkSAIgP2fH4vOvusRTYzGEVlTfwbKY5wgHrwAnHqDK7wLeACk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":252243},"main":"./dist/cjs/src/index.js","types":"./dist/types/src/index.d.ts","module":"./dist/esm/src/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js"},"./package.json":"./package.json"},"gitHead":"3506cd1bb928e6976d46d1e7e3f1b36aecd4d711","scripts":{"cli":"node dist/cjs/bin/admissible.js","build":"npm run clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json && node scripts/fixup.mjs","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"okeyamy","email":"amaobiokeoma@gmail.com"},"_npmVersion":"10.9.7","description":"Ethereum attestations, admissible on Creditcoin. Mirror, resolve and verify EAS attestations through the Attestcoin Protocol.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"ethers":"^6.15.0","@gluwa/usc-sdk":"0.18.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1789175137730_0.17675728963711035","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@admissible/sdk","version":"0.1.2","keywords":["eas","attestation","creditcoin","attestcoin","ethereum"],"license":"MIT","_id":"@admissible/sdk@0.1.2","maintainers":[{"name":"okeyamy","email":"amaobiokeoma@gmail.com"}],"bin":{"admissible":"dist/cjs/bin/admissible.js"},"dist":{"shasum":"001ab52c560fecff24389520d2c2182a61d31aec","tarball":"https://registry.npmjs.org/@admissible/sdk/-/sdk-0.1.2.tgz","fileCount":40,"integrity":"sha512-l1Etf8zZZazjJBmVzQjLeNz+A4DbcO/vh0ZE7aARRYODUvURGxBNZmNO07ggG+nDEEolIhCRMp+vGlfK6EOtSg==","signatures":[{"sig":"MEUCIQDaQN4QjcXg9t1son8Dy6V4Un1tb4T3/yp85luoNoqHnAIgDFbpYsichBZbf2VSE+GLWJUkIjsabcEf14t81UGbIf0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDaMFAUoF4LHn2uk1Lcncka5bLv2MQQpZyuxEl6C2GMvQIhAIdqoVf67aqsS4tfPi1z0p2uJCCrMQZY7tzrUCs9dBCc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":252243},"main":"./dist/cjs/src/index.js","types":"./dist/types/src/index.d.ts","module":"./dist/esm/src/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js"},"./package.json":"./package.json"},"gitHead":"3506cd1bb928e6976d46d1e7e3f1b36aecd4d711","scripts":{"cli":"node dist/cjs/bin/admissible.js","build":"npm run clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json && node scripts/fixup.mjs","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"okeyamy","email":"amaobiokeoma@gmail.com"},"_npmVersion":"10.9.7","description":"Ethereum attestations, admissible on Creditcoin. Mirror, resolve and verify EAS attestations through the Attestcoin Protocol.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"ethers":"^6.15.0","@gluwa/usc-sdk":"0.18.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1789203936309_0.9188723942731827","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"_id":"@admissible/sdk@0.1.3","bin":{"admissible":"dist/cjs/bin/admissible.js"},"dist":{"shasum":"c8e05f322db74b9adcfa3b49dafca35a1daccca6","tarball":"https://registry.npmjs.org/@admissible/sdk/-/sdk-0.1.3.tgz","fileCount":40,"integrity":"sha512-lJLfVDEOrpLkunf5FudxDmuYrXrRU93qQe3zIyTMKiKZZujKTUWspxjHoOhl/Tf/yx0VIs12pzzbhFRqzqBrxQ==","signatures":[{"sig":"MEYCIQCa6XGIDqMrKHbW8RpR5UZKZIgkVuTjCH5DGLOJrQZdwwIhAPV9t2eRwFO3msrhKZZ868KwOo7xq/BO2WD8DdL0ZfQS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDVy7OL43TogfIEDt/BN+o6R7deKmNyOUtdnY8ORt3qsAIhAL6Llqyqgx047Njs6PHNkGgyOA8QV4rUwDsZ2Oumonns"}],"unpackedSize":254119},"main":"./dist/cjs/src/index.js","name":"@admissible/sdk","types":"./dist/types/src/index.d.ts","module":"./dist/esm/src/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/esm/src/index.js","require":"./dist/cjs/src/index.js"},"./package.json":"./package.json"},"gitHead":"599eb1c7f4654a889be0bc5c092f5f4e17202e82","license":"MIT","scripts":{"cli":"node dist/cjs/bin/admissible.js","build":"npm run clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.types.json && node scripts/fixup.mjs","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"version":"0.1.3","_npmUser":{"name":"okeyamy","email":"amaobiokeoma@gmail.com"},"keywords":["eas","attestation","creditcoin","attestcoin","ethereum"],"_npmVersion":"10.9.7","description":"Ethereum attestations, admissible on Creditcoin. Mirror, resolve and verify EAS attestations through the Attestcoin Protocol.","directories":{},"maintainers":[{"name":"okeyamy","email":"amaobiokeoma@gmail.com"}],"_nodeVersion":"22.22.2","dependencies":{"ethers":"^6.15.0","@gluwa/usc-sdk":"0.18.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.10.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.3_1789282251221_0.6442927223656818"}}},"time":{"created":"2026-09-12T01:02:36.176Z","modified":"2026-09-13T06:50:51.500Z","0.1.0":"2026-09-12T01:02:36.545Z","0.1.1":"2026-09-12T01:05:37.831Z","0.1.2":"2026-09-12T09:05:36.398Z","0.1.3":"2026-09-13T06:50:51.316Z"},"license":"MIT","keywords":["eas","attestation","creditcoin","attestcoin","ethereum"],"description":"Ethereum attestations, admissible on Creditcoin. Mirror, resolve and verify EAS attestations through the Attestcoin Protocol.","maintainers":[{"name":"okeyamy","email":"amaobiokeoma@gmail.com"}],"readme":"# @admissible/sdk\n\nEthereum attestations, admissible on Creditcoin.\n\nMirror any [Ethereum Attestation Service](https://attest.org) attestation into a\nCreditcoin smart contract through the [Attestcoin\nProtocol](https://creditcoin.org): no oracle, no bridge, no new signature. The\nattestation is proved — by verifying the real Ethereum transaction that wrote\nit, via a Merkle proof and a continuity proof checked synchronously on-chain\nby Creditcoin's BlockProver precompile — not re-asserted by a trusted party.\n\nFull project docs, contracts, and the web app: [github.com/OkeyAmy/admissible](https://github.com/OkeyAmy/admissible).\n\n## Install\n\n```bash\nnpm install @admissible/sdk\n```\n\n## CLI\n\nNo install needed — the CLI needs no API key and no local state:\n\n```bash\nnpx admissible verify 0x<EAS_UID>     # diff registry state against easscan, PASS/FAIL\nnpx admissible mirror 0x<EAS_UID>     # prove an Ethereum attestation onto Creditcoin\nnpx admissible status                 # attested heights, registry, balance\n```\n\n`verify` reads the mirrored record straight from the Creditcoin registry over\nthe public RPC, fetches the same UID from `easscan.org/graphql`, and prints a\nfield-by-field diff. No trust in this package required — every field is\nindependently re-derived from the two public sources.\n\n## Library\n\n```ts\nimport { mirror, resolve, verify } from '@admissible/sdk';\n\n// Resolve a UID to its source Ethereum transaction, no signer needed.\nconst resolved = await resolve('0x<EAS_UID>', { chainKey: 3 });\n\n// Mirror it: builds the Attestcoin proof and submits AttestationRegistry.submit(...).\nconst result = await mirror('0x<EAS_UID>', { chainKey: 3, privateKey: process.env.PRIVATE_KEY });\n\n// Verify a mirrored attestation against easscan.\nconst report = await verify('0x<EAS_UID>');\n```\n\nSee [`docs/quickstart.md`](https://github.com/OkeyAmy/admissible/blob/main/docs/quickstart.md)\nin the main repo for `mirrorSchema` (batch mirroring an entire EAS schema) and\nthe full API surface.\n\n## Why this is safe to depend on\n\n- **Every network endpoint is a verified, baked-in default** (`CREDITCOIN_RPC`,\n  `PROVER_URL`, the EAS contract addresses per chain) — not read from `.env` at\n  runtime. `npx admissible verify` has to work for a judge or a stranger with\n  no config file and no key; the defaults are the source of truth.\n- **The registry is keyed `(chainKey, uid)`**, never `uid` alone — a mainnet\n  UID and a Sepolia UID can collide, and the two EAS deployments are different\n  contracts.\n- **The on-chain contract asserts the log emitter is the canonical EAS\n  address** for that chain, so a spoofed EAS clone can't inject fake\n  attestations into the registry this package reads from.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}