Content
@
0 reply
0 recast
2 reactions
Steve
@stevedylandev.eth
Today I'm excited to release IPCM: InterPlanetary CID Mapping, a smart contract solution for dynamic IPFS data. IPCM is a simple smart contract that stores an IPFS CID reference which anyone can read but owner the owner of the contract can update it. Something we encountered quite a bit at Pinata is user frustration with updating content on IPFS. For images or json files it just meant re-uploading the file and getting a new CID. However for websites shared on IPFS it was way worse. Today solutions like IPNS exist but prove to be slow, complicated, and lack an accessible history. With IPCM you can update the CID reference on the contract, then anyone can read it. The contract uses the Ownable extension so only the owner of the contract can write to it, giving a level of identity tied to the content being updated. There is also an event fired every time the content is updated, so if indexed with a tool like Ponder you can have an onchain version history. IPCM is MIT licensed and open sourced
4 replies
16 recasts
68 reactions
Steve
@stevedylandev.eth
Want to see it in action? We're using IPCM right now to host https://ipcm.dev so check it out! Also GitHub repo is linked below 👇🏻 https://github.com/PinataCloud/ipcm
0 reply
1 recast
10 reactions
Justin Hunter
@polluterofminds
This is so cool and ridiculously useful. Indexing is easy, so performance is not constrained to the read times of the RPC node. Nice work, Steve!
0 reply
0 recast
6 reactions
depatchedmode
@depatchedmode
Beauty! Will pull this into the Transfer Data Trust stack I’m building out.
1 reply
0 recast
1 reaction
treethought
@treethought.eth
hell yeah, this is awesome
1 reply
0 recast
1 reaction