Inspiration

Freedom of expression is a human right, being able to write content in a permissionless, decentralized and uncensorable way enforces this right.

With the current advancements of layer 2s such as Polygon, storing data onChain is now affordable, as of April 2021 posting a 20 paragraph article costs less than 1 cent while ensuring it is forever stored in the chain.

With theGraph it's now possible to turn Smart Contract Event logs into APIs

This means you can have your own blog API in seconds.

Deploying to IPFS is made simple by using providers such as Pinata.

This tech can be used to build a fully permissionless and decentralized CMS, allowing anyone in the world to speak their mind, and have their content hosted at basically no cost, with incredible amounts of redundancy and while providing a user experience that is comparable to that of web2 alternatives

What it does

Deploy your own blog to IPFS, we build your blog and deploy it for you, in seconds.

Write your blog directly on Matic, pay less than a cent to post 2000 words directly on chain.

Verify your Twitter Identity with Chainlink, bring your own clout, verify your twitter account and proof you own it with a Chainlink External Adapter

How we built it

Challenges we ran into

Verifying the signature was challenging as in order to do that consistently I first had to find a way to encode the data into a format that would be consistent with how Chainlink would report the twitter handle.

Having a contract with a getHash function and then hexlifying it did the trick: https://programtheblockchain.com/posts/2018/02/17/signing-and-verifying-messages-in-ethereum/ https://docs.openzeppelin.com/contracts/2.x/utilities#cryptography https://github.com/austintgriffith/scaffold-eth/blob/signature-recover/packages/hardhat/contracts/YourContract.sol This issue: https://github.com/ethers-io/ethers.js/issues/468#issuecomment-475990764

Getting the Chainlink Oracle to return a bytes32 value also proved challenging

Accomplishments that we're proud of

I'm happy with the onboarding flow which is very straightforward, you just click a button and you have a blog on IPFS.

What we learned

Using Docker, deploying it to AWS, Heroku and serverless Spinning up a Chainlink Node Verifying signatures onChain

What's next for OpenSky

I'd love to improve the Twitter Verification Add Markdown Support so you can embed images in the article Extend the Editor to allow the creation of any type of content, turning OpenSky into an actual Decentralized CMS

Built With

Share this project:

Updates