yoongdoo0819 / CrossPay

Blockchain Interoperability/Scalability Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrossPay

Blockchain Interoperability/Scalability Project

Prerequisites

  • Ubuntu : 18.04
  • go : 1.15.10
  • protoc : libprotoc 3.0.0
  • solidity : 0.4.23
  • sgx driver : sgx_linux_x64_driver_2.11.100.2
  • sgx sdk : sgx_linux_x64_sdk_2.13.100

Environment variable

source ~/sgxsdk/environment   
export GOPATH=~/instapay3.0/instapay   
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/sslab-instapay/instapay-tee-client   
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/sslab-instapay/instapay-tee-x-server   

Execution guideline

1. geth

data$ ./start.sh

2. Deploy CrossPay Smart Contract

instapay-tee-client/contracts/auto.sh
instapay/src/github.com/sslab-instapay/instapay-tee-client/ethereum_test$ go run deploy_contract.go   

3. Contract Address

instapay/src/github.com/sslab-instapay/instapay-tee-client/config/ethereum_config.go // contractAddr   
instapay-enclave-client/include/transaction.h // CONTRACT_ADDR

4. SGX Program

instapay-enclave-client/apply_new.sh : Client   
instapay-enclave-x-server/apply.sh : Off-chain Server   

5. Go Applications based on SGX programs

instapay/src/github.com/sslab-instapay/instapay-tee-client/Alice.sh : Client   
instapay/src/github.com/sslab-instapay/instapay-tee-x-server/start.sh : Off-chain Server      

About

Blockchain Interoperability/Scalability Project


Languages

Language:Roff 24.9%Language:C++ 22.5%Language:Go 18.4%Language:Shell 16.2%Language:C 9.2%Language:Solidity 3.6%Language:Makefile 3.1%Language:Sage 0.6%Language:Assembly 0.6%Language:M4 0.5%Language:CMake 0.2%Language:Python 0.1%Language:Batchfile 0.1%Language:HTML 0.0%Language:Dockerfile 0.0%Language:JavaScript 0.0%