Document notarization on the Ethereum blockchain.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets rename Dec 10, 2018
build/contracts add deployment instructions Jan 13, 2019
contracts
migrations
public
test
.gitignore
.gitmodules dapp install miguelmota/ECVerify Nov 9, 2017
LICENSE
Makefile
README.md indent list Jan 14, 2019
package-lock.json
package.json add deployment instructions Jan 13, 2019
truffle.js

README.md


ethnotary


Document notarization on the Ethereum blockchain.

Demo

https://lab.miguelmota.com/ethnotary

Architecture

Test

truffle test

Development

  1. Clone repository:

    git clone git@github.com:miguelmota/ethnotary.git
    cd ethnotary
  2. Install dependencies:

    npm install
  3. Start ganache in a seperate terminal:

    ganche-cli
  4. Deploy contract to local testnet:

    truffle deploy
  5. Start frontend watcher in another terminal:

    npm run watch:client
  6. Update the smart contract address in public/js/main.js

  7. Start frontend server:

    npm run serve
  8. Visit http://localhost:3000/

  9. Connect MetaMask to network http://localhost:8545

  10. Notarize a document!

Deployment

  1. Create a .env to export your mnemonic or private key:

    MNEMONIC='YOU_MNEMONIC_GOES_HERE'
    # or
    PRIVATE_KEY='YOU_PRIVATE_KEY_GOES_HERE'
  2. Run truffle deploy using the desired network:

    truffle deploy --network=rinkeby
  3. Update the smart contract address in public/js/main.js

  4. Rebuild frontend scripts:

    npm run build:client
  5. Deploy public/ frontend to your server.

  6. Notarize a document!

License

MIT