A CLI that helps you set up an XRPL sidechain.
Project description
xrpl-sidechain-cli
Install
pip install xrpl-sidechain-cli
NOTE: if you're looking at the repo before it's published, this won't work. Instead, you'll do this:
git clone https://github.com/xpring-eng/sidechain-cli.git
cd sidechain-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
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:
sidechain-cli server stop --all
Use Commands
sidechain-cli --help
Each subcommand also has a --help
flag, to tell you what fields you'll need.
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
File details
Details for the file xrpl-sidechain-cli-1.0.0b1.tar.gz
.
File metadata
- Download URL: xrpl-sidechain-cli-1.0.0b1.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.1 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64bd2e7f39e54d333eabae1ff777d003e9f97739cc409ec959f975dab0a38e9 |
|
MD5 | b14664c7ebb1f932c36f2a0dcc2b68ac |
|
BLAKE2b-256 | 232f6e42cc86b07339968003d1493c5320ae528ebea5b26fdc491bd393af2069 |
File details
Details for the file xrpl_sidechain_cli-1.0.0b1-py3-none-any.whl
.
File metadata
- Download URL: xrpl_sidechain_cli-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.1 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 728398beb255da4c5a6fd330cd7b8ce65b354417377ca82a65aed5163fbf2ede |
|
MD5 | 3590e0bcae55d5605730b81d92d57e28 |
|
BLAKE2b-256 | 1b1cf2e41f00d40afcb9c5c78a02e4df173a5a51ac511924ea4336e8d0535394 |