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

Example Solidity (0.4.4) notary contract generated by Truffle 🍬

Notifications You must be signed in to change notification settings

andrictham/solidity-notary-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published