Skip to content

Ethereum Blockchain Remote Events Logger (and custom ERC20 cryptocurrency)

License

Notifications You must be signed in to change notification settings

andreibesleaga/EventLogChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventLogChain

Ethereum Blockchain Remote Events Logger

(work in progress)

Simple experimental examples lib, to log small remote data (event timestamp/type/message) to ethereum blockchain, per client sender

  • Includes smartcontracts with log mechanism (events emitting) to be deployed on a ethereum blockchain network
  • Incudes a custom ERC20 token - crypto currency token (LOGC)
  • Includes web3 javascript example code to interact remotely with EventLogChain smartcontracts (read/write/search/subscribe event data in blockchain logs)
  • Includes php example code to interact with the EventLogChain smartcontracts (read/write/search messages in blockchain logs)
  • The log service can be started/stopped and consumes only gas for operations

contracts (to be deployed on blockchain) : - EventLog.sol - log events - LogChainToken.sol - token implementation (openzeppelin ERC20) - Migration.sol - truffle helpers

js (to be used on backend/frontend web3 apps remotely to interact with the blockchain functions) : - index.js - to read from event logs - sendToLog.js - to write to logs - subscribe.js - subscribe to be notified by any changes in the logs when a new log event

php (to be used on backend web3 php projects) : - using third party library - changes and testing/fixing to be done

truffle.config : config is using a local dev environment with truffle//ganache and infura//tests networks migrations : truffle migrations files for deployment of contracts on different networks test : automated truffle solidity/js tests