Thanks to visit codestin.com
Credit goes to github.com

Skip to content

scottocs/email

Repository files navigation

Proof of concept implementation for "Email in the blockchain era"

Pre-requisites

File description

  • tests/* 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. Be sure that ganache is not started when runing below command.

    bash genPrvKey.sh
  2. start ganache

    ganache --mnemonic "email" -l 90071992547 -e 100000
  3. lauch IPFS Desktop

  4. Compile the smart contract code

    bash compile.sh
  5. Start the monitor process (optional)

    python monitorEvent.py
  6. Test the Email system

    cd tests
    go test

    or

    go test -v -run TestBcstLinkableCluster

    or

    go test Bcst_test.go -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published