Python SDK for Larkin — wallet authorization for x402-paid APIs.
Project description
larkin-x402
Python SDK for Larkin — wallet authorization for x402-paid APIs.
from larkin_x402 import Larkin, verify
client = Larkin(api_key="pf_live_...")
result = client.check(wallet="0xd8dA...", min_score=40)
# → { "ok": True, "data": { ... } }
# Pure verifier — no HTTP, verify any receipt with our public key
status = verify(receipt, public_key_base64url)
# → { "valid": True, "payload": {...} } or { "valid": False, "reason": "..." }
Install
pip install larkin-x402
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
larkin_x402-1.0.1.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file larkin_x402-1.0.1.tar.gz.
File metadata
- Download URL: larkin_x402-1.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5dea6648195ac2cdab7ed4350e74e3c51178c8ee03a407bfbee930ae841ca1b
|
|
| MD5 |
7d45e4e6e94d6225c87e213be5b65b65
|
|
| BLAKE2b-256 |
91c001af2df16961324d825641cd65535ab69991b4a1b50b43cd17b6f6c7ca64
|
File details
Details for the file larkin_x402-1.0.1-py3-none-any.whl.
File metadata
- Download URL: larkin_x402-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81b2ca4f40b27a874049b02db330ff8777bae723867e07cbba7e7000b8bccd00
|
|
| MD5 |
2426ba1ad74e48206357a6830571a346
|
|
| BLAKE2b-256 |
6620597b245eb5dde086adeb5fc687622f35ad091638f7ab21e0af03c7772622
|