Wallet-only Python client for the Kuest relayer
Project description
Kuest Python Builder Relayer Client
Wallet-only Python client for the Kuest relayer.
Installation
pip install kuest-py-builder-relayer-client
Usage
import time
from py_builder_relayer_client.client import RelayClient
from py_builder_relayer_client.models import DepositWalletCall
from py_builder_signing_sdk.config import BuilderConfig, BuilderApiKeyCreds
builder_config = BuilderConfig(
local_builder_creds=BuilderApiKeyCreds(
key="...",
secret="...",
passphrase="...",
)
)
client = RelayClient("https://relayer.example", 80002, private_key, builder_config)
wallet = client.derive_deposit_wallet()
client.deploy_deposit_wallet()
client.execute_deposit_wallet_batch(
[DepositWalletCall(target=token, value="0", data=calldata)],
wallet,
str(int(time.time()) + 240),
)
Wire auth headers are generated by kuest-py-builder-signing-sdk and remain KUEST_BUILDER_*.
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
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 kuest_py_builder_relayer_client-2.0.1.tar.gz.
File metadata
- Download URL: kuest_py_builder_relayer_client-2.0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b85a9a136cc33ed7cd3e40c26f25d6a25f377f303e11532174d61238e5e73077
|
|
| MD5 |
76b8cd7e0eae0dd500d354d3a910f9df
|
|
| BLAKE2b-256 |
4a5a891a01c41b06cbe00f3f06dd9b4ac3a57186148d82c2fe92f2b8f65adbc2
|
File details
Details for the file kuest_py_builder_relayer_client-2.0.1-py3-none-any.whl.
File metadata
- Download URL: kuest_py_builder_relayer_client-2.0.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9096dc41c8745e0282b970999931a3a7ad77fdb36e6d25a83c1ec7eac03d7f7
|
|
| MD5 |
aa04adb26aa8be5dc86820e233695b49
|
|
| BLAKE2b-256 |
710cb646dc1d70026907abf9670d2cc0d0a034a79183f7fa88b54dec6a5ca237
|