Cost of storage 1 GB / Year in FIL: 0.0000011972
Total Size of CID:
Converstion Rate: 1 FIL =>
Total Cost in ETH:
Minimum 64 MB for a successful deal on Filecoin Network
Get verifiable storage on Filecoin Network directly from Ethereum Smart Contracts. Lighthouse greatly reduces the friction for Ethereum developers to interact with the Filecoin storage network by allowing them to store files on Filecoin by directly interacting with a Lighthouse smart contract deployed on Ethereum
Lighthouse Smart Contract on Rinkeby - 0x5e507e...5f4EeD
1) There is a Lighthouse smart contract deployed on Ethereum that can be triggered for a transaction by passing in an existing IPFS CID and config requesting Filecoin storage. The CID represents a unique ID of the file to be stored and the config represents the configuration in accordance with which the file has to be stored.
2) When a transaction is made, the smart contract emits an event with the CID and config which is intercepted by a Vulcanize DB instance. Vulcanize DB is an open source Postgres database of the Ethereum chain based on IPLD.
3) A Lighthouse node listens to this Vulcanize instance and receives the CID and config from the Vulcanize instance. Then the Lighthouse node prepares the CID and config to be sent to a Powergate instance which has been set up to make a storage deal with the Filecoin network on behalf of users. The Lighthouse node also exposes a WebSocket which gives out the storage info of a particular CID.This WebSocket is also used to retrieve back the file stored on the Filecoin network.
4) The Lighthouse node interacts with the Powergate instance to retrieve the storage info and the file itself from the Filecoin network on request.