peepin icon indicating copy to clipboard operation
peepin copied to clipboard

post parser

Open sponnet opened this issue 6 years ago • 2 comments

  • [x] create basic parser
  • [ ] create JSON schema for validating input
  • [x] add transaction data to JSON payload ( from address + TXhash )
  • [x] save peep in local cache for easy lookup ( key = timestamp + txhash )

sponnet avatar Aug 24 '18 10:08 sponnet

I suggest to save the peep in a metadata again on IPFS in a format as follows:

{
          event: event,
          transaction: transaction,
          function: decodedData,
          ipfsHash: <hash>,
          ipfsData: <data of above hash>,
}

And save it as such in the levelDB - so we have all the data available for further data slicing.

sponnet avatar Aug 28 '18 14:08 sponnet

This could also be a generic format for all events coming out of the peepeth contract btw.

sponnet avatar Aug 28 '18 14:08 sponnet