https://github.com/xrplf/xbridge-cli
https://github.com/xrplf/xbridge-cli
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/xrplf/xbridge-cli
- Owner: XRPLF
- License: mit
- Created: 2022-06-02T18:53:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T15:35:30.000Z (over 2 years ago)
- Last Synced: 2025-05-08T04:45:50.935Z (about 1 year ago)
- Language: Python
- Size: 797 KB
- Stars: 4
- Watchers: 7
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# xbridge-cli
## Install
```bash
pip install xbridge-cli
```
NOTE: if you're looking at the repo before it's published, this won't work. Instead, you'll do this:
```bash
git clone https://github.com/xpring-eng/xbridge-cli.git
cd xbridge-cli
# install poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
poetry install
poetry shell
```
Install rippled and the xbridge witness.
rippled: https://xrpl.org/install-rippled.html
witness: https://github.com/seelabs/xbridge_witness
## Get started
```bash
export XCHAIN_CONFIG_DIR={filepath where you want your config files stored}
export RIPPLED_EXE={rippled exe filepath}
export WITNESSD_EXE={witnessd exe filepath}
./scripts/tutorial.sh
```
To stop the servers:
```bash
xbridge-cli server stop --all
```
## Use Commands
```bash
xbridge-cli --help
```
Each subcommand also has a `--help` flag, to tell you what fields you'll need.