Skip to main content

Wasd3r standard dev kit

Project description

Wasd3r Python SDK

Installing SDK

Unix/macOS

python -m pip install wasd3r-sdk

Windows

py -m pip install wasd3r-sdk

Using specific blockchain locally (optional)

Supporting APTOS

To use APTOS without a wasd3r server, aptos-sdk needs to be installed optionally.

Unix/macOS

python -m pip install wasd3r-sdk[APTOS]

Windows

py -m pip install wasd3r-sdk[APTOS]

Preparing DEV environment

Using pyenv

pyenv could be installed via this link.

Initialize env

pyenv install 3.8.13
pyenv global 3.8.13
git clone git@github.com:WASD3Rplay/wasd3r-sdk.git
cd wasd3r-sdk
PATH=$(pyenv root)/shims:$PATH; poetry env use python3.8; poetry install

Start env

cd wasd3r-sdk
poetry shell

python --version
# Python 3.8.13

which python | xargs ls -al
# /poetry/virtualenvs/wasd3r-sdk-xx-py3.8/bin/python -> /pyenv/versions/3.8.13/bin/python3.8

Using Miniconda

Miniconda could be install via this link.

Initialize env

conda create -n wasd3r-sdk-py3.8 python=3.8
conda activate wasd3r-sdk-py3.8
git clone git@github.com:WASD3Rplay/wasd3r-sdk.git
cd wasd3r-sdk
poetry env use python3.8; poetry install

Start env

cd wasd3r-sdk
poetry shell

python --version
# Python 3.8.x

which python | xargs ls -al
# /poetry/virtualenvs/wasd3r-sdk-xx-py3.8/bin/python -> /miniconda/envs/wasd3r-sdk-py3.8/bin/python3.8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wasd3r_sdk-0.0.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

wasd3r_sdk-0.0.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page