pysui (Python Sui Client SDK) additional tools
Project description
pysui-gadgets includes tools and utilities that work with the pysui SDK.
Gadgets included:
package - Performs operations that leverages meta-data about SUI move packages (smart-contracts)
dsl-gen - Creates python representation of move package key structs and entry point functions
to-one - Merges all SUI Gas mists ‘to one’ SUI Gas object for an address
splay - Evenly distribute coins from one address to many
vh - History of object versions
Setup for use
Install SUI binaries (devnet is currently supported)
Setup python virtual environment
Activate virtual environment
Update pip
Install pysui_gadgets
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui
python3 -m venv env
. env/bin/activate
pip install -U pip
pip install pysui_gadgets
Upgrade
Activate virtual environment
Update pysui_gadgets
. env/bin/activate
pip install -U pysui_gadgets
Setup for cloning
Install SUI binaries (devnet is currently supported)
Clone pysui_gadgets repository
Setup python virtual environment
Activate virtual environment
Update pip
Install pysui
Alternate install of pysui
cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui
git clone git@github.com:FrankC01/pysui_gadgets.git
python3 -m venv env
. env/bin/activate
pip install -U pip
pip install -r requirements.txt
# Alternately
# clone pysui to other folder
# in pysui run bin/package-build.sh
# back in here
pip install ../path_to_pysui/
Running gadgets
module -h
package -h
dslgen -h
to-one -h
splay -h
vh -h
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 Distributions
Built Distribution
Hashes for pysui_gadgets-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d864e549410454ef327da00b9a524de2013e33b2f5595976d52e99ae9a56d8 |
|
MD5 | ccf2025a7bf9de334b35dd6675cf9809 |
|
BLAKE2b-256 | 7f14855edd23f3da5f87d0b4959cd9e8674d0908e5027e1a0ed6d55981d6a6a6 |