Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A python library for interacting with cosmos based blockchain networks
We recently stopped using the
develop
branch for feature consolidation and renamedmaster
tomain
. Please see the Contribution Guides for up-to-date instructions.
pip3 install cosmpy
Below is a simple example for querying an account's balances:
from cosmpy.aerial.client import LedgerClient, NetworkConfig
# connect to Fetch.ai network using default parameters
ledger_client = LedgerClient(NetworkConfig.fetchai_mainnet())
alice: str = 'fetch12q5gw9l9d0yyq2th77x6pjsesczpsly8h5089x'
balances = ledger_client.query_bank_all_balances(alice)
# show all coin balances
for coin in balances:
print(f'{coin.amount}{coin.denom}')
The full documentation can be found here.
Under the examples
directory, you can find examples of basic ledger interactions using cosmpy
, such as transferring tokens, staking, deploying and interacting with a smart contract, and performing atomic swaps.
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 project.
Please be sure to read and follow our Code of Conduct. By participating, you are expected to uphold this code.
Read our contribution guidelines to learn about our issue and pull request submission processes, coding rules, and more.
Read our development guidelines to learn about the development processes and workflows.
We use GitHub Issues for tracking requests and bugs, and GitHub Discussions for general questions and discussion.
The CosmPy project is licensed under Apache License 2.0.
FAQs
A library for interacting with the cosmos networks
We found that cosmpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.