Skip to content

Commit 7d0e1f5

Browse files
fix(ra-tls-client): rename python-client to ra-tls-client
1 parent 1921e4c commit 7d0e1f5

File tree

13 files changed

+21
-21
lines changed

13 files changed

+21
-21
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
# Docker commands
1212

1313
Build the example. Note MUST BE EXECUTED FROM flare-ai-kit ROOT
14-
```docker build --no-cache --progress=plain -t flare-ai-kit-python-client -f examples/python-client/Dockerfile .```
14+
```docker build --no-cache --progress=plain -t flare-ai-kit-ra-tls-client -f examples/ra-tls-client/Dockerfile .```
1515

1616
Run the container and start the servers
17-
```docker run --rm -p 80:80 -it --env-file .env flare-ai-kit-python-client```
17+
```docker run --rm -p 80:80 -it --env-file .env flare-ai-kit-ra-tls-client```
1818

1919
Clear containers and images
2020
```docker builder prune --all```
@@ -29,8 +29,8 @@ Copy self-signed certificate from the docker container
2929
## Clear all docker images, build, and then run the container
3030
```zsh
3131
docker builder prune --all &&
32-
docker build --no-cache --progress=plain -t flare-ai-kit-python-client -f examples/python-client/Dockerfile . > build.log 2>&1 &&
33-
docker run --rm -p 4433:4433 -it --env-file .env flare-ai-kit-python-client
32+
docker build --no-cache --progress=plain -t flare-ai-kit-ra-tls-client -f examples/ra-tls-client/Dockerfile . > build.log 2>&1 &&
33+
docker run --rm -p 4433:4433 -it --env-file .env flare-ai-kit-ra-tls-client
3434
```
3535

3636
# Debug
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/python-client/client/client_test.py renamed to examples/ra-tls-client/client/client_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,12 @@ async def main() -> None:
586586

587587
#
588588
# Wrap FLR to WFLR
589-
# wrap_tx_hash = await wrap_flr(
590-
# amount=20.0, # 1 FLR
591-
# attestation_token=attestation_token
592-
# )
593-
# if wrap_tx_hash:
594-
# logger.debug(f"Wrap Transaction hash: https://flarescan.com/tx/0x{wrap_tx_hash}")
589+
wrap_tx_hash = await wrap_flr(
590+
amount=20.0, # 1 FLR
591+
attestation_token=attestation_token
592+
)
593+
if wrap_tx_hash:
594+
logger.debug(f"Wrap Transaction hash: https://flarescan.com/tx/0x{wrap_tx_hash}")
595595

596596
#
597597
# SparkDEX swap
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
# pyproject.toml (flare-ai-kit-python-client)
2+
# pyproject.toml (flare-ai-kit-ra-tls-client)
33
[project]
4-
name = "flare-ai-kit-python-client"
4+
name = "flare-ai-kit-ra-tls-client"
55
version = "0.1.0"
66
description = "Flare AI Kit example Python client"
77
readme = "README.md"
@@ -34,9 +34,9 @@ dev = [
3434
"ruff>=0.9.1",
3535
]
3636

37-
[tool.uv.dependencies]
38-
flare-ai-kit = { path = "../.." }
39-
37+
#[tool.uv.dependencies]
38+
#flare-ai-kit = { path = "../.." }
39+
#
4040

4141
[project.scripts]
4242
start-backend = "backend.ra_tls_main:start"

0 commit comments

Comments
 (0)