mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
54 lines
603 B
Markdown
54 lines
603 B
Markdown
# Freeze (Python)
|
|
|
|
Demonstrates how to freeze and unfreeze trust lines on the XRP Ledger.
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
python -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Freeze Token
|
|
|
|
```sh
|
|
python freeze_token.py
|
|
```
|
|
|
|
## Unfreeze Token
|
|
|
|
```sh
|
|
python unfreeze_token.py
|
|
```
|
|
|
|
## Set Global Freeze
|
|
|
|
```sh
|
|
python set_global_freeze.py
|
|
```
|
|
|
|
## Enable No Freeze
|
|
|
|
```sh
|
|
python enable_no_freeze.py
|
|
```
|
|
|
|
## Check Freeze Status
|
|
|
|
```sh
|
|
python check_freeze_status.py
|
|
```
|
|
|
|
## Check Global Freeze
|
|
|
|
```sh
|
|
python check_global_freeze.py
|
|
```
|
|
|
|
## Check No Freeze
|
|
|
|
```sh
|
|
python check_no_freeze.py
|
|
```
|