# Applications and Smart Contract Samples

## Introduction

This section includes applications and smart contracts that can be deployed to Azure Blockchain Workbench in their current form or can be transformed to meet the needs of your scenario.

## Available Contracts
* [Hello Blockchain](hello-blockchain/readme.md)
* [Simple Marketplace](simple-marketplace/readme.md)
* [Basic Provenance](basic-provenance/readme.md)
* [Digital Locker](digital-locker/readme.md)
* [Refrigerated Transportation](refrigerated-transportation/readme.md)
* [Asset Transfer](asset-transfer/readme.md)
* [Bazaar Item Listing](bazaar-item-listing/readme.md)
* [Room Thermostat](room-thermostat/readme.md)
* [Defective Component Counter](defective-component-counter/readme.md)
* [Frequent Flyer Rewards Calculator](frequent-flyer-rewards-calculator/readme.md)
* [Ping Pong Game](ping-pong-game/readme.md)

## Deploying Applications
To deploy an application, navigate to the web application for Azure Blockchain Workbench
[](media/deployapp1.PNG)

Click on the New button to upload a new application.
[](media/deployapp2.PNG)

Specify your configuration file and your smart contract and click the "Deploy" button.
[](media/deployapp3.PNG)
A tile for your new application, will be displayed. Click it.

[](media/deployapp4.PNG)
You will have 0 members assigned to the contract. Click the 0 in upper right and add members as appropriate.

Note: We do not support [libraries](https://solidity.readthedocs.io/en/v0.4.21/contracts.html#libraries) in the current version of Workbench. Please move the functions from the library into your contract. 

## Prerequisites

Applications and contracts can be uploaded to Azure Blockchain Workbench without modification.

For Ethereum contract development, install [Visual Studio Code](https://code.visualstudio.com/) and the [Solidity plugin](https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity)

## Contributing

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
.
