Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

About

Example Solidity (0.4.4) notary contract generated by Truffle 🍬

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

solidity-notary-example

Example Solidity (0.4.4) notary contract generated by Truffle 🍬

Reference Guide: https://blog.zeppelin.solutions/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05

Interact with the contract using the Truffle CLI (v3.4.5)

To go into REPL mode:

truffle console

Instantiate the contract

var poe

ProofOfExistence3.deployed().then(function(instance){poe=instance})

Notarize a string

poe.notarize("We went to the moon!")

Check if the string was previously notarized. This will return true if previously notarized or false if it wasn’t.

poe.checkDocument("We went to the moon!") 

About

Example Solidity (0.4.4) notary contract generated by Truffle 🍬

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages