Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Olszewski eolszewski

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