Skip to content

Instantly share code, notes, and snippets.

View eolszewski's full-sized avatar

Eric Olszewski eolszewski

View GitHub Profile
require('dotenv').config();
const sleep = require('sleep');
const { FactomCli, Entry, Chain } = require('factom');
const cli = new FactomCli({
factomd: {
host: 'localhost',
port: 8088
},
pragma solidity ^0.4.19;
import "./EventStoreLib.sol";
contract EventStore {
EventStoreLib.Storage store;
address public owner;
pragma solidity ^0.4.19;
library EventStoreLib {
event Event(
uint index,
address sender,
bytes32 key,
bytes32 value
);