All Projects → hyperledger → Iroha Python

hyperledger / Iroha Python

Licence: apache-2.0
Python library for Hyperledger Iroha, a simple distributed ledger.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Iroha Python

Iroha Javascript
JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.
Stars: ✭ 77 (-4.94%)
Mutual labels:  blockchain, hyperledger
Burrow
https://wiki.hyperledger.org/display/burrow
Stars: ✭ 851 (+950.62%)
Mutual labels:  blockchain, hyperledger
Cello
Operating System for Enterprise Blockchain
Stars: ✭ 715 (+782.72%)
Mutual labels:  blockchain, hyperledger
Blockchain guide
Introduce blockchain related technologies, from theory to practice with bitcoin, ethereum and hyperledger.
Stars: ✭ 5,897 (+7180.25%)
Mutual labels:  blockchain, hyperledger
Mortgageblockchainfabric
Mortgage Processing App using Hyperledger Fabric Blockchain. Uses channels for privacy and access, and restricts read/write previleges through endorsement policies
Stars: ✭ 45 (-44.44%)
Mutual labels:  blockchain, hyperledger
Fabric Sdk Node
Hyperledger Fabric SDK for Node https://wiki.hyperledger.org/display/fabric
Stars: ✭ 676 (+734.57%)
Mutual labels:  blockchain, hyperledger
Copycats
copycats command line tool (and core library) - crypto cats / kitties collectibles unchained - buy! sell! hodl! sire! - play for free - runs off the blockchain w/ ledger lite - no ether / gas required; run your own peer-to-peer (P2P) network node over HTTP
Stars: ✭ 26 (-67.9%)
Mutual labels:  blockchain, hyperledger
Blockchain
黑马程序员 120天全栈区块链开发 开源教程
Stars: ✭ 3,480 (+4196.3%)
Mutual labels:  blockchain, hyperledger
Iroha
Iroha - A simple, decentralized ledger
Stars: ✭ 1,015 (+1153.09%)
Mutual labels:  blockchain, hyperledger
Blockchain Explorer
Stars: ✭ 984 (+1114.81%)
Mutual labels:  blockchain, hyperledger
Unchained
My personal study of blockchain related technology.
Stars: ✭ 379 (+367.9%)
Mutual labels:  blockchain, hyperledger
Hyperledger Composer Supply Chain Network
An implementation of Hyperledger Composer to improve transparency and traceability of supply chain
Stars: ✭ 57 (-29.63%)
Mutual labels:  blockchain, hyperledger
Hyperledger
Hyperledger is a Collaborative Project at The Linux Foundation.
Stars: ✭ 3,653 (+4409.88%)
Mutual labels:  blockchain, hyperledger
Fabric Sdk Go
Stars: ✭ 712 (+779.01%)
Mutual labels:  blockchain, hyperledger
Fabric Ca
Stars: ✭ 331 (+308.64%)
Mutual labels:  blockchain, hyperledger
Blockchain
Compilation of useful documents and scientific papers about Blockchain & cryptocurrencies.
Stars: ✭ 751 (+827.16%)
Mutual labels:  blockchain, hyperledger
Heroes Service
Short tutorial to build a blockchain application in Go with Hyperledger Fabric
Stars: ✭ 248 (+206.17%)
Mutual labels:  blockchain, hyperledger
Fabric Sdk Py
Hyperledger Fabric Python SDK
Stars: ✭ 303 (+274.07%)
Mutual labels:  blockchain, hyperledger
Fabric Sdk Java
Stars: ✭ 982 (+1112.35%)
Mutual labels:  blockchain, hyperledger
Fabric Baseimage
Stars: ✭ 53 (-34.57%)
Mutual labels:  blockchain, hyperledger

Python library for Hyperledger Iroha

This is a source repository for HL Iroha Python library.

Currently, latest HL Iroha rc5 release (hyperledger/iroha:latest Docker image) is supported.

The library works in Python 3 environment (Python 2 is not supported now).

Installation

pip install iroha

Usage Example

from iroha import Iroha, IrohaCrypto, IrohaGrpc

iroha = Iroha('[email protected]')
net = IrohaGrpc('127.0.0.1:50051')

alice_key = IrohaCrypto.private_key()
alice_tx = iroha.transaction(
    [iroha.command(
        'TransferAsset', 
        src_account_id='[email protected]', 
        dest_account_id='[email protected]', 
        asset_id='bitcoin#test',
        description='test',
        amount='1'
    )]
)
IrohaCrypto.sign_transaction(alice_tx, alice_key)
net.send_tx(alice_tx)

for status in net.tx_status_stream(alice_tx):
    print(status)

Please explore examples directory for more usage examples.

All the library methods have docstrings in its source iroha.py.

The links above are broken outside the hyperledger/iroha-python GitHub repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].