IBM / ipfs-social-proof

IPFS Social Proof: A decentralized identity and social proof system
MIT License
142 stars 27 forks source link

refactor/standardize remote proof workflow #47

Open daviddahl opened 5 years ago

daviddahl commented 5 years ago

It would be nice to create a standard class with standard methods to allow for easy adding of social proof published sites.

So, extract out the Gist code and reddit code and make a standard class that can be implemented for additional sources of proofs.

I imagine the interface implements something like:

Then the proof can just be handled generically

cdeng001 commented 5 years ago

For building interfaces in js, are you ok with using duck typing?

the only other way to get C-like interfaces is to use a transpiler of some sort. typescript