Skip to main content

Lisk Name Service SDK (Python)

A lightweight Python SDK to resolve .lisk names into wallet addresses via the Lisk Name Service API.

✨ Features

  • 🔐 Secure resolution via API key
  • 🧠 Simple resolve(name) method
  • 📦 Supports tree-shaking and Python modules

📦 Install

pip install lisk-name-service

Usage

from lisk_name_service import LNSClient

client = LNSClient("your-api-key")

try:
    address = client.resolve("vitalik.lisk")
    print("Resolved address:", address)
except Exception as e:
    print("Failed:", str(e))

API

client = LNSClient("your-api-key")

Create a new client instance.

`apiKey` – your unique API key (provided after wallet connect).

resolve(name: string): string

Resolves a .lisk name to its associated Ethereum-compatible wallet address.

Returns:

address: string – the resolved Ethereum-compatible wallet address.

ValueError if the name is missing or not found

RuntimeError for other network issues

🧪 Build (for contributors)

# from inside sdk/python/
pip install -e .
python3 -m tests.test_client

🔐 Notes

You must generate your API key by authenticating with your wallet on the LNS frontend.

Make sure your API key is kept secret and never exposed in frontend code.

You must pass a valid API key. To generate one:

Connect your wallet on the LNS Dev Portal

Sign a message

Copy your API key

Metadata

Release files for lisk-name-service 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lisk-name-service 1.0.0
File Size Uploaded Provenance Actions
lisk_name_service-1.0.0.tar.gz 2.7 kB Without provenance Details for lisk_name_service-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lisk-name-service 1.0.0
File Interpreter ABI Platform Actions
lisk_name_service-1.0.0-py3-none-any.whl Python 3 none any Details for lisk_name_service-1.0.0-py3-none-any.whl

Total release size: 5.5 kB

Release files / lisk_name_service-1.0.0.tar.gz

Download URL lisk_name_service-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bf6fee68ca07fb6d0a5a9a15bd0c99dd02cc2ba5820be33da45c6b2b191bd5af
BLAKE2b-256 checksum
How to use checksums
b705206745240ba7699bba3ceae684f957ff8e1a731b693bf684e1c293119ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / lisk_name_service-1.0.0-py3-none-any.whl

Download URL lisk_name_service-1.0.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60ca1c647744df487fd59ce405731fe10ce3371ec793458d5aab8d51e11c8cba
BLAKE2b-256 checksum
How to use checksums
1d6f1d72d80e8f57f11c8bab14f8ee60e75b4910a20a87a723b2b71e008e3f76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for lisk-name-service 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page