GithubHelp home page GithubHelp logo

arsulegai / pc-transact Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 35 KB

An example Hyperledger Transact application, based on https://github.com/arsulegai/produce-consume

License: Apache License 2.0

Rust 96.13% Dockerfile 3.87%
hyperledger-transact transact

pc-transact's Introduction

PC-TRANSACT

A sample Hyperledger Sawtooth-Sabre application PRODUCE-CONSUME making use of Hyperledger Transact

A sample application that is written in rust and compiled using Transact library.

What is it?

The application can PRODUCE items and CONSUME items after that.

Prerequisites

Docker Based

The application can be run as docker container. It has been tested on following version of the docker components.

  • Docker version 19.03.4
  • Docker compose version 1.24.1

Native Environment

The application is tested using the rustc --version 1.40.0-nightly.

How to run?

  1. Build the pc-transact ..Method 1 (Docker): Clone the repository, run the following command
$ git clone https://github.com/arsulegai/pc-transact
$ cd pc-transact
$ docker-compose up

Wait for the container to be up. Login to the container and run the commands.

..Method 2 (Native): Build the library

$ git clone https://github.com/arsulegai/pc-transact
$ cd pc-transact
$ cargo build
  1. Run the application
$ PRODUCE apple 10

Contributing

This software is in development phase and is Apache 2.0 licensed. We accept contributions via GitHub pull requests. Each commit must include a Signed-off-by: in the commit message (git commit -s). This sign-off means you agree the commit satisfies the Developer Certificate of Origin (DCO).

License

This software is licensed under the Apache License Version 2.0 software license.

© Copyright 2019, Arun S M

pc-transact's People

Contributors

arsulegai avatar

Watchers

 avatar  avatar

Forkers

mallapurbharat

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.