معرفی شرکت ها


cosmos-sdk-0.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

The Python SDK for supported Cosmos SDK chains.
ویژگی مقدار
سیستم عامل -
نام فایل cosmos-sdk-0.0.3
نام cosmos-sdk
نسخه کتابخانه 0.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Terraform Labs, PTE.
ایمیل نویسنده engineering@terra.money
آدرس صفحه اصلی https://github.com/terra-money/terra.py
آدرس اینترنتی https://pypi.org/project/cosmos-sdk/
مجوز MIT
# Python SDK for the Cosmos Ecosystem <p><sub>(Unfamiliar with Cosmos? <a href="https://docs.terra.money/">Check out the Cosmos Network Docs</a>)</sub></p> This (SDK) in Python is a simple library toolkit for building software that can interact with the supported Cosmos blockchains and provides simple abstractions over core data structures, serialization, key management, and API request generation. Note - This is currently a W.I.P. ## Features - This SDK follows a module specific approach, and new Cosmos Modules will be added to the SDK on a priority basis. - Written in Python with extensive support libraries - Versatile support for key management solutions ❗ This SDK currently does not support Terra Classic. If you want to communicate with Terra Classic, use terra-sdk==2.x <br/> ## Requirements Cosmos.py SDK requires <a href="https://www.python.org/downloads/">Python v3.7+</a>. ## Installation <sub>**NOTE:** _All code starting with a `$` is meant to run on your terminal (a bash prompt). All code starting with a `>>>` is meant to run in a python interpreter, like <a href="https://pypi.org/project/ipython/">ipython</a>._</sub> Cosmos SDK can be installed (preferably in a `virtual environment` from PyPI using `pip`) as follows: ``` $ pip install -U cosmos_SDK ``` <sub>_You might have `pip3` installed instead of `pip`; proceed according to your own setup._<sub> ## Usage Examples ``` from cosmos_sdk.client.lcd import LCDClient from cosmos_sdk.key.mnemonic import MnemonicKey mnemonic = <MNEMONIC_PHRASE> # Terra client terra_client = LCDClient(chain_id="phoenix-1", url="https://phoenix-lcd.terra.dev") mk = MnemonicKey(mnemonic,"terra") terra_wallet = terra_client.wallet(mk) # Persistence client persistence_client = LCDClient(chain_id="core-1", url="http://rest.core.persistence.one") mk = MnemonicKey(mnemonic,"persistence") persistence_wallet = persistence_client.wallet(mk) ``` ## Dependencies Cosmos SDK uses <a href="https://python-poetry.org/">Poetry</a> to manage dependencies. To get set up with all the required dependencies, run: ``` $ pip install poetry $ poetry install ``` If you encounter "version solving failed." error, try `poetry add <package_name>`, followed by `poetry lock` and then `poetry install` <br/> # Contributing Community contribution, whether it's a new feature, correction, bug report, additional documentation, or any other feedback is always welcome. Please read through this section to ensure that your contribution is in the most suitable format for us to effectively process. <br/> # License This reporitory was forked from <a href="https://github.com/terra-money/terra.py">Terra SDK</a> and is being repurposed from there on.


نیازمندی

مقدار نام
>=3.8.1,<4.0.0 aiohttp
>=1.2.0,<2.0.0 bech32
>=0.3.post4,<0.4 bip32utils
>=0.17.0,<0.18.0 ecdsa
>=0.19,<0.20 mnemonic
>=3.19.1,<4.0.0 protobuf
==2.0.0b4 betterproto
>=2.1.3,<3.0.0 furl
>=21.0.0,<22.0.0 boltons
>=1.5.4,<2.0.0 nest-asyncio
>=21.4.0,<22.0.0 attrs
>=1.13.3,<2.0.0 wrapt
==2.1.0 terra-proto
>=0.37.1,<0.38.0 wheel
>=0.0.1,<0.0.2 osmosis-protobuf


زبان مورد نیاز

مقدار نام
>=3.7,<4.0 Python


نحوه نصب


نصب پکیج whl cosmos-sdk-0.0.3:

    pip install cosmos-sdk-0.0.3.whl


نصب پکیج tar.gz cosmos-sdk-0.0.3:

    pip install cosmos-sdk-0.0.3.tar.gz