{"_id":"@decentralized-geo/astral-sdk","_rev":"6-4ea9650ac6fb16656bce6da1d11df5c8","name":"@decentralized-geo/astral-sdk","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@decentralized-geo/astral-sdk","version":"0.1.0","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","_id":"@decentralized-geo/astral-sdk@0.1.0","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"dist":{"shasum":"d14e92da6c9488c35a7d7aea2640ef15cba19cfa","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.1.0.tgz","fileCount":21,"integrity":"sha512-qpzHR84TgO5iSb8bhjfqf8EP8aY6FbhrdcJZgMK4rQpkdvSfucmbfPE/MJz/fWkgKFj4HwWbjJLUkBXqcKEiTw==","signatures":[{"sig":"MEUCIQDgNUK5EfyCPy95WOfCCxlVZ5srhoB/v7adXsIzQSQgTwIgVabfdrEHBUIgZs4O3Uj5TC9ji+t7oPFNPndc7TR3Oo0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1001621},"main":"dist/index.js","_from":"file:decentralized-geo-astral-sdk-0.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"}},"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsup","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","release":"changeset publish","lint-fix":"eslint \"src/**/*.ts\" --fix","typecheck":"tsc --noEmit","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\"","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"_resolved":"/tmp/995f16adf75287bc88d1fa2826a795db/decentralized-geo-astral-sdk-0.1.0.tgz","_integrity":"sha512-qpzHR84TgO5iSb8bhjfqf8EP8aY6FbhrdcJZgMK4rQpkdvSfucmbfPE/MJz/fWkgKFj4HwWbjJLUkBXqcKEiTw==","_npmVersion":"10.8.2","description":"Astral's Location Proof Protocol SDK","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.1","dependencies":{"ethers":"^6.13.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","@turf/boolean-valid":"7.2.0","@ethereum-attestation-service/eas-sdk":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.4","glob":"11.0.2","jest":"^29.7.0","tsup":"^8.0.2","husky":"^9.0.7","dotenv":"16.5.0","eslint":"^8.56.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"29.5.14","@types/node":"^20.11.20","lint-staged":"^15.2.2","@changesets/cli":"2.29.4","license-checker":"25.0.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.2","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/astral-sdk_0.1.0_1749220648199_0.9812378150298533","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@decentralized-geo/astral-sdk","version":"0.1.1","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","_id":"@decentralized-geo/astral-sdk@0.1.1","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"dist":{"shasum":"6b4c9822440648229a3313f417779866ce83044c","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.1.1.tgz","fileCount":21,"integrity":"sha512-f7tLvaFu9zR0BLLsYQa1UWbSjoKOy0KlENIPFEuxN8COX8dTRuftdYVM1yXxUWSY4ZLqew4tZwq3II0aZF4WAQ==","signatures":[{"sig":"MEYCIQD4Fwe+bT9eg4E5qCVM9+eC822B/6dCyi/+IboVF/P0pAIhAKF/n5wywFiBBFoIFHEzLtwlC8RHxSZR0zmf1lstGmbr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1010850},"main":"dist/index.js","_from":"file:decentralized-geo-astral-sdk-0.1.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"}},"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsup","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","release":"changeset publish","lint-fix":"eslint \"src/**/*.ts\" --fix","typecheck":"tsc --noEmit","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\"","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"_resolved":"/tmp/b12461c511c80505b7dee7a2e641cc99/decentralized-geo-astral-sdk-0.1.1.tgz","_integrity":"sha512-f7tLvaFu9zR0BLLsYQa1UWbSjoKOy0KlENIPFEuxN8COX8dTRuftdYVM1yXxUWSY4ZLqew4tZwq3II0aZF4WAQ==","_npmVersion":"10.8.2","description":"Astral Location Protocol SDK","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.2","dependencies":{"ethers":"^6.13.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","@turf/boolean-valid":"7.2.0","@ethereum-attestation-service/eas-sdk":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.4","glob":"11.0.2","jest":"^29.7.0","tsup":"^8.0.2","husky":"^9.0.7","dotenv":"16.5.0","eslint":"^8.56.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"29.5.14","@types/node":"^20.11.20","lint-staged":"^15.2.2","@changesets/cli":"2.29.4","license-checker":"25.0.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.2","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/astral-sdk_0.1.1_1749841804645_0.3065939198208387","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@decentralized-geo/astral-sdk","version":"0.1.2","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","_id":"@decentralized-geo/astral-sdk@0.1.2","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"dist":{"shasum":"b3d2a9a5fd569c7db6a0567c6d3a607e7bdefcfe","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.1.2.tgz","fileCount":21,"integrity":"sha512-MXf1Np+ZARuO3V7968crAH9AenP8Is8bumOGlnNZ600bAvsMKWGuoTITlSR6lDMbZiSVvyIL9ZT8afGXwlotAQ==","signatures":[{"sig":"MEUCIH+em6gdbZkFX/p9C3suuQLVsBizYbsGnSH4hkvSPTojAiEAnNdb/QH9xlXNUfC3TQCOjT/SYN+eyS92u+v1wLnHtzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1013529},"main":"dist/index.js","_from":"file:decentralized-geo-astral-sdk-0.1.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"}},"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsup","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","release":"changeset publish","lint-fix":"eslint \"src/**/*.ts\" --fix","typecheck":"tsc --noEmit","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\"","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"_resolved":"/tmp/86ab24f883a4dae08522a89c01145c24/decentralized-geo-astral-sdk-0.1.2.tgz","_integrity":"sha512-MXf1Np+ZARuO3V7968crAH9AenP8Is8bumOGlnNZ600bAvsMKWGuoTITlSR6lDMbZiSVvyIL9ZT8afGXwlotAQ==","_npmVersion":"10.8.2","description":"Astral Location Protocol SDK","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.3","dependencies":{"ethers":"^6.13.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","@turf/boolean-valid":"7.2.0","@ethereum-attestation-service/eas-sdk":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.4","glob":"11.0.2","jest":"^29.7.0","tsup":"^8.0.2","husky":"^9.0.7","dotenv":"16.5.0","eslint":"^8.56.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"29.5.14","@types/node":"^20.11.20","lint-staged":"^15.2.2","@changesets/cli":"2.29.4","license-checker":"25.0.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.2","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/astral-sdk_0.1.2_1752599561595_0.2705926908126328","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@decentralized-geo/astral-sdk","version":"0.1.3","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","_id":"@decentralized-geo/astral-sdk@0.1.3","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"dist":{"shasum":"f916221074d168b54c9716907a2fcb82584301ba","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.1.3.tgz","fileCount":21,"integrity":"sha512-WEORhOWzoG5tIFFNlJEIfS/ubt8dBwFn0bkvsla/PEfeKkvtt9jvPHqt8soBoxDbylU4Fn+XJTgiBqUzqzu/lA==","signatures":[{"sig":"MEQCIERrs70YSWkQu4KFqZ5bbqqxm6xI8wm8kRY7d65gNZPVAiBvIX2Th8l9bhf802hOKPOcGx9FUDSSDY/hnEYJPEn7Cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1023765},"main":"dist/index.js","_from":"file:decentralized-geo-astral-sdk-0.1.3.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"}},"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsup","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","release":"changeset publish","lint-fix":"eslint \"src/**/*.ts\" --fix","typecheck":"tsc --noEmit","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\"","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"_resolved":"/tmp/67ba3e697e920f6bb2668d15175c554a/decentralized-geo-astral-sdk-0.1.3.tgz","_integrity":"sha512-WEORhOWzoG5tIFFNlJEIfS/ubt8dBwFn0bkvsla/PEfeKkvtt9jvPHqt8soBoxDbylU4Fn+XJTgiBqUzqzu/lA==","_npmVersion":"10.8.2","description":"Astral Location Protocol SDK","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.4","dependencies":{"ethers":"^6.13.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","@turf/boolean-valid":"7.2.0","@ethereum-attestation-service/eas-sdk":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.4","glob":"11.0.2","jest":"^29.7.0","tsup":"^8.0.2","husky":"^9.0.7","dotenv":"16.5.0","eslint":"^8.56.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"29.5.14","@types/node":"^20.11.20","lint-staged":"^15.2.2","@changesets/cli":"2.29.4","license-checker":"25.0.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.2","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/astral-sdk_0.1.3_1753890095577_0.013493583306499302","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@decentralized-geo/astral-sdk","version":"0.1.4","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","_id":"@decentralized-geo/astral-sdk@0.1.4","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"dist":{"shasum":"33cce0c28f6758f6fda2614239092b9e6a77ca38","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.1.4.tgz","fileCount":21,"integrity":"sha512-Xc3QvV3e1san372B+V1DUPcj0k+qp6MvBztkz8slFYZvLyuv5NsmR67lcX0L1PSloahuqBVf+MbBr1pdBK105w==","signatures":[{"sig":"MEUCICmf8VeYyqqP4VPouKyu1d7jH/wtVPNYmnTwsNELbLltAiEAyKj0YvhALviTlG/Wp8lulapDnavP303+Aac0nqdr7UA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1027725},"main":"dist/index.js","_from":"file:decentralized-geo-astral-sdk-0.1.4.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"}},"scripts":{"dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","test":"jest","build":"tsup","clean":"rimraf dist","format":"prettier --write \"src/**/*.ts\"","release":"changeset publish","lint-fix":"eslint \"src/**/*.ts\" --fix","typecheck":"tsc --noEmit","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\"","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"_resolved":"/tmp/d6b2acd8df9a6a9c83e61bc9ca56bc98/decentralized-geo-astral-sdk-0.1.4.tgz","_integrity":"sha512-Xc3QvV3e1san372B+V1DUPcj0k+qp6MvBztkz8slFYZvLyuv5NsmR67lcX0L1PSloahuqBVf+MbBr1pdBK105w==","_npmVersion":"10.8.2","description":"Astral Location Protocol SDK","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"20.19.5","dependencies":{"ethers":"^6.13.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","@turf/boolean-valid":"7.2.0","@ethereum-attestation-service/eas-sdk":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.19.4","glob":"11.0.2","jest":"^29.7.0","tsup":"^8.0.2","husky":"^9.0.7","dotenv":"16.5.0","eslint":"^8.56.0","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"29.5.14","@types/node":"^20.11.20","lint-staged":"^15.2.2","@changesets/cli":"2.29.4","license-checker":"25.0.1","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.2","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/astral-sdk_0.1.4_1760026271848_0.9910523844440247","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@decentralized-geo/astral-sdk","version":"0.2.0","description":"Astral Location Protocol SDK","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./location":{"types":"./dist/location/index.d.ts","import":"./dist/location/index.mjs","require":"./dist/location/index.js"},"./compute":{"types":"./dist/compute/index.d.ts","import":"./dist/compute/index.mjs","require":"./dist/compute/index.js"},"./offchain":{"types":"./dist/offchain/index.d.ts","import":"./dist/offchain/index.mjs","require":"./dist/offchain/index.js"},"./onchain":{"types":"./dist/onchain/index.d.ts","import":"./dist/onchain/index.mjs","require":"./dist/onchain/index.js"}},"keywords":["blockchain","ethereum","location","proof","attestation","eas"],"author":{"name":"Astral Protocol"},"license":"Apache-2.0","publishConfig":{"access":"public"},"dependencies":{"@ethereum-attestation-service/eas-sdk":"^2.7.0","@turf/boolean-valid":"7.2.0","@turf/meta":"7.2.0","@types/geojson":"7946.0.16","ethers":"^6.13.0"},"devDependencies":{"@changesets/cli":"2.29.4","@types/jest":"29.5.14","@types/node":"^20.11.20","@typescript-eslint/eslint-plugin":"^7.0.2","@typescript-eslint/parser":"^7.0.2","dotenv":"16.5.0","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","glob":"11.0.2","husky":"^9.0.7","jest":"^29.7.0","license-checker":"25.0.1","lint-staged":"^15.2.2","prettier":"^3.2.5","rimraf":"^5.0.5","ts-jest":"^29.1.2","ts-node":"^10.9.2","tsup":"^8.0.2","tsx":"4.19.4","typescript":"^5.3.3"},"engines":{"node":">=18.0.0"},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"scripts":{"build":"tsup","clean":"rimraf dist","dev":"tsup --watch","lint":"eslint \"src/**/*.ts\"","lint-fix":"eslint \"src/**/*.ts\" --fix","format":"prettier --write \"src/**/*.ts\"","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","typecheck":"tsc --noEmit","release":"changeset publish","commit-wip":"git commit --no-verify -m \"WIP: Work in progress commit\""},"_id":"@decentralized-geo/astral-sdk@0.2.0","_integrity":"sha512-4ma/XjXrPtVvR7WAsEpR2aNINSBdGU2Xf2TFDMBMsTLVNlCCAKz93x7hlPAbz1iyuvxDaij0gQYsmd13hHOSdA==","_resolved":"/private/var/folders/yr/gn_h4yzj0_9g3dttp_dn980r0000gn/T/d73293eaaef5737d36fce7edbe653a41/decentralized-geo-astral-sdk-0.2.0.tgz","_from":"file:decentralized-geo-astral-sdk-0.2.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-4ma/XjXrPtVvR7WAsEpR2aNINSBdGU2Xf2TFDMBMsTLVNlCCAKz93x7hlPAbz1iyuvxDaij0gQYsmd13hHOSdA==","shasum":"df561bf3c29bcb94b8d06aac7d95084e87ef1877","tarball":"https://registry.npmjs.org/@decentralized-geo/astral-sdk/-/astral-sdk-0.2.0.tgz","fileCount":37,"unpackedSize":2068997,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGN/1fhwu2njx0LOAFaE+/BErqd+j/aclm7ms9qSgqSTAiEAqXk5eJ/1CCwwLSFkV0LJGQekVE43/Obs9X/iGuiY9dE="}]},"_npmUser":{"name":"johnx25bd","email":"john.iv@x25bd.com"},"directories":{},"maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/astral-sdk_0.2.0_1769772374268_0.40868466649767177"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-06T14:37:28.070Z","modified":"2026-01-30T11:26:14.567Z","0.1.0":"2025-06-06T14:37:28.421Z","0.1.1":"2025-06-13T19:10:04.948Z","0.1.2":"2025-07-15T17:12:41.839Z","0.1.3":"2025-07-30T15:41:35.846Z","0.1.4":"2025-10-09T16:11:12.086Z","0.2.0":"2026-01-30T11:26:14.439Z"},"author":{"name":"Astral Protocol"},"license":"Apache-2.0","keywords":["blockchain","ethereum","location","proof","attestation","eas"],"description":"Astral Location Protocol SDK","maintainers":[{"name":"johnx25bd","email":"john.iv@x25bd.com"}],"readme":"# Astral SDK\n\n**A spatial extension for the decentralized web.**\n\nAstral SDK lets you create location attestations - signed records that prove \"this location data came from this person at this time.\" Think of them like digital signatures for geographic information.\n\n→ **Get started in 30 seconds** - [Quick Start](#quick-start)  \n→ **Complete guide** - [Getting Started](https://docs.astral.global/sdk/guides/getting-started)  \n→ **How it works** - [Core Concepts](https://docs.astral.global/core-concepts)\n\n## What you can build\n\n**Location-based apps** - Verify user locations without trusting a central server\n\n**Supply chain tracking** - Create tamper-proof records of where goods have been\n\n**Compliance reporting** - Prove where operations took place for regulations or audits\n\n**Digital identity** - Add verifiable location history to user profiles\n\n**IoT and sensors** - Sign location data from devices so others can trust it\n\n## How it works\n\nInstead of just storing coordinates in a database, you create **signed records** that include:\n- The location data (coordinates, boundaries, etc.)\n- Who created it\n- When it was created\n- A cryptographic signature proving it hasn't been tampered with\n\nThese records can be held privately, stored on a server, or stored on a blockchain. Anyone can verify these records without asking you or trusting a third party.\n\n## Installation\n\n```bash\nnpm install @decentralized-geo/astral-sdk\n```\n\n## Quick Start\n\n### Create a signed location record (no blockchain required)\n\n```typescript\nimport { AstralSDK } from '@decentralized-geo/astral-sdk';\nimport { Wallet } from 'ethers';\n\n// Create a test wallet (for production, use your actual wallet)\nconst privateKey = Wallet.createRandom().privateKey;\nconst wallet = new Wallet(privateKey);\n\n// Initialize SDK with the signer\nconst sdk = new AstralSDK({ \n  signer: wallet\n});\n\n// Create a signed location record\nconst attestation = await sdk.createOffchainLocationAttestation({\n  location: {\n    type: 'Point',\n    coordinates: [-122.4194, 37.7749] // San Francisco\n  },\n  memo: 'Checked in at conference'\n});\n\n// You now have a signed record that proves you created this location data\nconsole.log('Record ID:', attestation.uid);\nconsole.log('Your signature:', attestation.signature);\n```\n\n### Verify someone else's location record\n\n```typescript\n// Verify any location record\nconst result = await sdk.verifyOffchainLocationAttestation(attestation);\n\nif (result.isValid) {\n  console.log('✓ Valid - signed by:', result.signerAddress);\n  console.log('✓ Location data hasn\\'t been tampered with');\n} else {\n  console.log('✗ Invalid or corrupted');\n}\n```\n\n### Store records permanently on blockchain\n\n```typescript\nimport { JsonRpcProvider } from 'ethers';\n\n// For blockchain storage, you need a provider\nconst provider = new JsonRpcProvider('https://sepolia.infura.io/v3/YOUR_INFURA_KEY');\nconst walletWithProvider = wallet.connect(provider);\n\nconst sdkWithProvider = new AstralSDK({\n  signer: walletWithProvider,\n  chainId: 11155111 // Sepolia testnet\n});\n\n// Same API, but stores on blockchain forever\nconst onchainRecord = await sdkWithProvider.createOnchainLocationAttestation({\n  location: {\n    type: 'Polygon',\n    coordinates: [[\n      [-122.4, 37.8], [-122.4, 37.7], \n      [-122.3, 37.7], [-122.3, 37.8], \n      [-122.4, 37.8]\n    ]]\n  },\n  memo: 'Service area boundary'\n});\n\nconsole.log('Blockchain transaction:', onchainRecord.txHash);\n```\n\n## Two ways to create records\n\n**Offchain (recommended for most use cases)**\n- No blockchain fees\n- Instant creation\n- Private until you share them\n- Still cryptographically verifiable\n\n**Onchain (for permanent public records)**\n- Stored on blockchain forever\n- Public by default\n- Costs gas fees\n- Integrates with smart contracts\n\n## Supported location formats\n\nCurrently supports **GeoJSON** (the web standard for geographic data):\n\n```typescript\n// All of these work:\n\n// Points (coordinates)\n{ type: 'Point', coordinates: [-122.4194, 37.7749] }\n\n// Areas (polygons)\n{ \n  type: 'Polygon', \n  coordinates: [[[-122.4, 37.8], [-122.4, 37.7], [-122.3, 37.7], [-122.4, 37.8]]]\n}\n\n// Places with metadata\n{\n  type: 'Feature',\n  geometry: { type: 'Point', coordinates: [-122.4194, 37.7749] },\n  properties: { name: 'Moscone Center', event: 'Conference 2024' }\n}\n```\n\n*Coming soon: Simple coordinate arrays, Well-Known Text (WKT), and H3 cells*\n\n## Supported networks\n\nWorks on Ethereum testnets and Layer 2 networks:\n- **Sepolia** (testnet - free for development)\n- **Base** (Coinbase's L2)\n- **Arbitrum** (Ethereum L2)\n- **Celo** (mobile-first blockchain)\n\n## Documentation\n\n| Guide | Description |\n|-------|-------------|\n| [**Getting Started**](https://docs.astral.global/sdk/guides/getting-started) | Complete tutorial from setup to first record |\n| [**Offchain Guide**](https://docs.astral.global/sdk/guides/offchain-workflow) | Creating signed records without blockchain |\n| [**Onchain Guide**](https://docs.astral.global/sdk/guides/onchain-workflow) | Storing records on blockchain |\n| [**Core Concepts**](https://docs.astral.global/core-concepts) | How location attestations work |\n| [**Quick Start**](https://docs.astral.global/sdk/quick-start) | Rapid setup guide |\n\n## Development\n\n```bash\n# Clone and install\ngit clone https://github.com/DecentralizedGeo/astral-sdk\ncd astral-sdk\nnpm install\n\n# Run tests\nnpm test\n\n# Build\nnpm run build\n```\n\n**→ See [Development Guide](https://docs.astral.global/sdk/guides/development) for contributing guidelines.**\n\n## What's the Location Protocol?\n\nAstral SDK implements the **Location Protocol** - an open standard for creating portable, verifiable location records. \n\nThe protocol defines:\n- How to structure location data so it's interoperable\n- How to sign records so others can verify them\n- How to include proof that location claims are accurate\n\nWhile our SDK uses Ethereum Attestation Service (EAS), the protocol itself works with any signing system. Records created with different tools can still verify each other.\n\n## License\n\nLicensed under the Apache 2.0 License. See [LICENSE](LICENSE) for details.\n\nCopyright © 2025 Sophia Systems Corporation","readmeFilename":"README.md"}