Skip to content
Permalink
Browse files

updated quickstart instructions with new version

  • Loading branch information...
mariogemoll committed Jul 9, 2019
1 parent 08163f6 commit e224ca988ee31d1c225bae0562b3f2bf83c80381
Showing with 6 additions and 5 deletions.
  1. +3 −2 README.md
  2. +3 −3 docker-compose.yml
@@ -1,4 +1,5 @@
# K0

K0 is an implementation of [Zerocash](http://zerocash-project.org/) for smart contract platforms. Currently Ethereum and Hyperledger Fabric are supported. The protocol has been modified slightly to enable an additional use case, namely the use of a predefined private payment in a secondary smart contract. For more information please read our [technical description](https://appliedblockchain.com/k0.pdf).

__WARNING! This is alpha-stage software. It has not been security-audited. DO NOT USE IN PRODUCTION!__
@@ -17,8 +18,8 @@ rm -rf /tmp/k0keys
mkdir /tmp/k0keys
for circuit in commitment transfer addition withdrawal example
do
docker run -it -v /tmp/k0keys/:/tmp/k0keys/ appliedblockchain/k0-setup:v0.0.30 $circuit 4 /tmp/k0keys/${circuit}\_pk /tmp/k0keys/${circuit}_vk
docker run -it -v /tmp/k0keys/:/tmp/k0keys/ appliedblockchain/k0-convert-vk:v0.0.30 /tmp/k0keys/${circuit}\_vk /tmp/k0keys/${circuit}\_vk_alt
docker run -it -v /tmp/k0keys/:/tmp/k0keys/ appliedblockchain/k0-setup:v0.0.31 $circuit 4 /tmp/k0keys/${circuit}\_pk /tmp/k0keys/${circuit}_vk
docker run -it -v /tmp/k0keys/:/tmp/k0keys/ appliedblockchain/k0-convert-vk:v0.0.31 /tmp/k0keys/${circuit}\_vk /tmp/k0keys/${circuit}\_vk_alt
done
```

@@ -2,7 +2,7 @@ version: '3.7'

x-custom:
mtserver: &mtserver
image: appliedblockchain/k0-mtserver:v0.0.30
image: appliedblockchain/k0-mtserver:v0.0.31
command: 4 80
volumes:
- /tmp/k0keys:/tmp/k0keys:ro
@@ -24,7 +24,7 @@ services:

server:
container_name: server
image: appliedblockchain/k0-server:v0.0.30
image: appliedblockchain/k0-server:v0.0.31
volumes:
- /tmp/k0keys:/tmp/k0keys:ro
command: >
@@ -38,7 +38,7 @@ services:
runner:
container_name: runner
image: appliedblockchain/k0-integration-tests-eth-runner:v0.0.30
image: appliedblockchain/k0-integration-tests-eth-runner:v0.0.31
volumes:
- /tmp/k0keys:/tmp/k0keys
environment:

0 comments on commit e224ca9

Please sign in to comment.
You can’t perform that action at this time.