Metadata-Version: 2.1
Name: repachain
Version: 1.0.0
Summary: Minimal blockchain
Home-page: https://github.com/dyuri/minchain
Author: Gyuri Horák
Author-email: dyuri@horak.hu
License: MIT
Description: # MinChain - minimal blockchain
        
        For experimenting and future projects.
        
        ## Install
        
        ```
        $ pip install git+https://github.com/dyuri/repachain
        ```
        
        or
        
        ```
        $ git clone https://github.com/dyuri/repachain
        $ pip install --user repachain
        ```
        
        ## Usage
        
        ```
        >>> from repachain import RepaChain
        >>> rc = RepaChain('abc', 'sha256')
        >>> rc.add_block('whatever')
        >>> rc.verify()
        >>> rc.to_json_file('whatever.json.gz')
        >>> rc[1].hash = 'wrong hash'
        >>> rc.verify()
        repachain.InvalidBlockException: Wrong hash at block 1
        >>> rc2 = RepaChain.from_json_file('whatever.json.gz')
        >>> rc2.verify()
        >>> rc2[1].data
        'whatever'
        ```
        
        ## TODO
        
          - proper documentation
          - tests
        
Platform: any
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
