Skip to content
PACS Vostok Docker smart-contract
Python Dockerfile Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend
sample
.gitignore
Dockerfile
README.md
contract.py
requirements.txt
run.sh

README.md

pacs-contract

This is a smart contract for the Vostok platform, allows you to add authorized persons (for example, employees) and recognize them in photos and save all this information on the blockchain. For example, you can use this information to provide access to some service or secure location. All stages of this check are fully onchain i.e performed by network miners. Also in the repository there is a minimalistic backend for indexing information from the blockchain for the operation of the UI interface and scripts for the test of the contract.

You can build it and push to a local docker repository using

docker build -t pacs-contract .
docker image tag pacs-contract 127.0.0.1:5000/pacs-contract
docker push 127.0.0.1:5000/pacs-contract

Then you can start your private network, call create contract transaction with this contract, change a little the backend scripts and start it.

You can’t perform that action at this time.