A Python package for interfacing with Dhali
Project description
Dhali-py
This python package is intended to support interfacing with Dhali. It offers a cli tools for creating payment claims used to access Dhali:
$ dhali create-xrpl-payment-claim -h usage: dhali create-xrpl-payment-claim [-h] [-s SOURCE_SECRET] [-a AUTH_CLAIM_AMOUNT] [-t TOTAL_AMOUNT_CONTAINED_IN_CHANNEL] options: -h, --help show this help message and exit -s SOURCE_SECRET, --source_secret SOURCE_SECRET -a AUTH_CLAIM_AMOUNT, --auth_claim_amount AUTH_CLAIM_AMOUNT Amount (in drops) that claim authorises to be extracted from the channel (must be less than --total_amount_contained_in_channel) -t TOTAL_AMOUNT_CONTAINED_IN_CHANNEL, --total_amount_contained_in_channel TOTAL_AMOUNT_CONTAINED_IN_CHANNEL Total drops to escrow in the channel (must be less than total amount of XRP in wallet)
Install and run
pip install .
To generate a test XRPL wallet or determine you wallet’s seed:
dhali create-xrpl-wallet
To generate a Dhali payment claim:
dhali create-xrpl-payment-claim -s <secret from 2.> -a 10000000 -t 100000000
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
dhali-py-0.0.44.tar.gz
(20.4 kB
view hashes)
Built Distribution
Close
Hashes for dhali_py-0.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19470a8f65967dd39c1287ab36b75d80396279ce400d37c8aeb99b1528635d5 |
|
MD5 | d643e6662129fb188d21e7b613c3fa9d |
|
BLAKE2b-256 | f88e7dbb877456342411f845b48b744c473c08f8e1ed4ef52f7606108c8c86cf |