Skip to content

Ethereum Smart Contract to prove a document's existence at some point by storing and verifying its hash.

License

Notifications You must be signed in to change notification settings

ramyhardan/proof-of-existence

Repository files navigation

Proof Of Existence Ethereum Smart Contract

Why

Prove that a document existed at some point.

What

This smart contract stores hash values keyed by a numeric ID on the Ethereum blockchain. Only the contract creator (owner) is allowed to add hashes but anyone can verify a hash.

Prerequisites

Understanding Ethereum and Smart Contracts:

Basic understanding of Solidity:

Experience with Javascript

Getting Started

  1. npm install
  2. npx truffle develop starts an in-memory Ethereum blockchain with "immediate mining" ideal for testing and opens a console.
  3. npm run test automatically compiles ProofOfExistence.sol, migrates it to your local test chain, and executes ProofOfExistence.spec.js test.

What's Missing

Documentation and configuration to deploy the contract to Ethereum testnets or live.

Help And Further Reading

About

Ethereum Smart Contract to prove a document's existence at some point by storing and verifying its hash.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published