Skip to content

Privacy preserved digital contents trading system on public blockchain

Notifications You must be signed in to change notification settings

kyoungbinkim/dataTrade-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataTrade-dev

nodejs version : 16.18.0

tradeContract : data Trade smart contracts front/src/cypto : 커브 파라미터, encryption, hash(mimc)
front/src/js-libsnark-opt :
front/src/libsnark/struct/snarkInput.js : snark 인풋생성 (dataRegister만 구현되어있)
front/src/utils:
front/src/test: react code

prepare libsnark lib

compile from libsnark-optimization and copy lib file to server/src/core/libsnark/js-libsnark-opt/libsnark

install front

cd front
npm install

run front

cd front
npm start  

run ganache testnet

cd tradeContract
npm i
npm run testrpc  

compile solidity contract

truffle compile  

install server

cd server
npm install

run server

npm run nodemon

경로코드가 있어서 데이터 경로는 수정해서 사용하세요

Contract

tradeContract 디렉토리로가서 확인하세요 ~

demo

About

Privacy preserved digital contents trading system on public blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages