Giter Club home page Giter Club logo

kyvepy's Introduction

kyvepy

A python library for interacting with Chain4energy blockchain
based on the CosmPy library

PyPI PyPI - Python Version License
PyPI - Wheel CosmPy sanity checks and tests Download per Month

To Install

pip3 install kyvepy

Getting Started

Below is a simple example for querying an account's balances:

from kyvepy.aerial.client import LedgerClient, NetworkConfig

# connect to Fetch.ai network using default parameters
ledger_client = LedgerClient(NetworkConfig.chain4energy_mainnet())

alice: str = 'kyve1t62t32vvkr78zdws3jvu9rxjkz3fy0ex4v7e7l'
balances = ledger_client.query_bank_all_balances(alice)

# show all coin balances
for coin in balances:
    print(f'{coin.amount}{coin.denom}')

Documentation

The Cosmpy documentation can be found here.

Examples

Under the examples directory, you can find examples of basic ledger interactions using kyvepy, such as transferring tokens, staking.

Contributing

All contributions are very welcome! Remember, contribution is not only PRs and code, but any help with docs or helping other developers solve their issues are very appreciated!

Read below to learn how you can take part in the CosmPy or derivative projects like kyvepy.

Code of Conduct

Please be sure to read and follow our Code of Conduct. By participating, you are expected to uphold this code.

Contribution Guidelines

Read our contribution guidelines to learn about our issue and PR submission processes, coding rules, and more.

Development Guidelines

Read our development guidelines to learn about the development processes and workflows when contributing to different parts of the CosmPy project.

Issues, Questions and Discussions

We use GitHub Issues for tracking requests and bugs.

License

The kyvePy and CosmPy projects are licensed under Apache License 2.0.

kyvepy's People

Contributors

solarw avatar 5a11 avatar missingno57 avatar ejfitzgerald avatar panasevychol avatar vijaysharma815 avatar alejandro-morales avatar pbukva avatar jrriehl avatar daemon63 avatar uravgdeveloper avatar galadrin avatar teasel-ian avatar bryanchriswhite avatar teasel-github avatar jonathan6620 avatar

Watchers

 avatar  avatar Florent avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.