Skip to content

grifma/treatify-web3

Repository files navigation

Treatify Web3

Fully onchain version of Treatify, running on Ethereum, IPFS and 3box.

Agreement text is stored on IPFS, and is private to the participants of the agreement.

Once signed, the agreement text is hashed, and the hash result is stored onchain.

Deploy status

Netlify Status

Installation

  1. Run the development console.

    truffle develop
  2. Compile and migrate the smart contracts. Note inside the development console we don't preface commands with truffle.

    compile;
    migrate;
  3. In the client directory, we run the React app. Smart contract changes must be manually recompiled and migrated.

    // in another terminal (i.e. not in the truffle develop prompt)
    cd client
    npm run dev
  4. To run the tests.

    // inside the development console.
    test
    
    // outside the development console..
    truffle test
  5. To build the application for production, use the build script. A production build will be in the client/build folder.

    // ensure you are inside the client directory when running this
    npm run build

About

Web3 version of treatify

Resources

License

Stars

Watchers

Forks

Packages

No packages published