unslept
Pay x402 paywalls from an Unslept agent account on Robinhood Chain, from Python.
pip install "unslept[web3]" # add [langchain] for the LangChain tool
import os
from eth_account import Account
from unslept import Unslept
unslept = Unslept(
agent_account=os.environ["UNSLEPT_AGENT_ACCOUNT"],
signer=Account.from_key(os.environ["UNSLEPT_SIGNER_KEY"]),
network="robinhood-chain",
)
res = unslept.fetch("https://example.com/paid-resource")
print(res.status, res.text())
LangChain: from unslept.langchain_tool import unslept_tool and add unslept_tool(unslept) to your agent's tools.
Configuration
# Robinhood Chain mainnet. Addresses are published in contracts/deployments/4663.json.
UNSLEPT_CHAIN_ID=4663
UNSLEPT_RPC_URL=https://rpc.mainnet.chain.robinhood.com
UNSLEPT_USDG=0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
UNSLEPT_ROUTER=0x1FeAB3B8f88FB0667B686fDCB0206194e88c984b
UNSLEPT_BUFFERS=0xcD853fb30eCe3134Cf21e2f47B9e23eaf965F40D
Unslept is experimental software on a guarded, unaudited mainnet launch. Yield is variable and not guaranteed. Give each agent a small daily cap.
Metadata
Release files for unslept 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unslept-0.1.0.tar.gz | 14.2 kB | With provenance | Details for unslept-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unslept-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for unslept-0.1.0-py3-none-any.whl |
Total release size: 30.8 kB
Release files / unslept-0.1.0.tar.gz
| Download URL | unslept-0.1.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3786d1ed290efee866b24654790ad8bffe315bd65a5a8935751caef48d47dfdc
|
|
BLAKE2b-256 checksum How to use checksums |
4bea3867c5bf9d85919b247180916883e4d2186b492bec95dfd5243db70e32da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logRelease files / unslept-0.1.0-py3-none-any.whl
| Download URL | unslept-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8391f91bd27fe28e5d580093061e43a4777d835868660cc356e4ff643292699
|
|
BLAKE2b-256 checksum How to use checksums |
14c9e3254930477efd84bc9debdbb84294a9e48027f903e40a546b223a40da5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logSecurity for unslept 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for unslept-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.