Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

面向Web3.0医疗数据可溯源共享系统(Medical Data traceability Sharing System for Web3.0)"

Pre-requisites

File description

  • main.go run this file to test the functionalities of the framework.
  • compile/contract/ The folder stores contract source code file (.sol) and generated go contract file.
  • compile/compile.sh The script file compiles solidity and generates go contract file.
  • genPrvKey.sh The script file generates accounts and stores in the.env file.

How to run

  1. Generate private keys to generate the .env file

    bash genPrvKey.sh
  2. start ganache

    ganache-cli --mnemonic "pvpre" -l 999999999 -e 1000 -a 30
  3. start ipfs

    ipfs daemon
  4. Compile the smart contract code

    bash compile.sh
  5. Run the main.go

    go run main.go

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages