Skip to content

Getting started

Cosmpy is a Python library for interacting with Cosmos-based blockchains.

  • A simplified Cosmos SDK agnostic API for basic chain operations.
  • An easy API for deploying and interacting with CosmWasm-based smart contracts.
  • Low-level access to primitive ledger APIs if required.

To install

pip3 install cosmpy

Version

PyPI.

Repository

https://github.com/fetchai/cosmpy`

To contribute

Clone the repo:

git clone https://github.com/fetchai/cosmpy.git --recursive && cd cosmpy

Set up development environment:

make new_env_dev

This creates a new pipenv virtual environment and installs the development dependencies.

Enter the virtual environment:

pipenv shell
Back to top