Interplanetary File System (online session) — Developer Study Jæm(Ekiti State)

ækiti æmbassy
1 min readApr 17, 2020

--

For the third online session of the Developers Study Jæm(Ekiti State) for our developers who cannot be present physically, we looked into the Interplanetary File System(IPFS).

After writing our smart contract, building our UI and using æternity JavaScript SDK to interact with our smart contract for storing and retrieving books from the library we then included the IPFS technology to handle book images on the blockchain.

We made use of IPFS and axois JavaScript library to handle the book image by editing our smart contract and adding the parameter image to the book record; making it a data type of string that would be responsible for collecting the IPFS hash of the image.

We then edited our JavaScript by making use of the axios library to help handle saving books on the blockchain using IPFS and also retrieving those books using IPFS. We used the IPFS JavaScript library to maximize the use of IPFS technology to be able to handle the storing of an image on the blockchain.

Developer Study Jæm — Ekiti State

Our online developers are therefore encouraged to in their own spare time and at their leisure, check out the videos on our YouTube channel.

--

--

ækiti æmbassy

ækiti is a community of techies that learns and provides solutions using æternity technologies. #AENS: aeternityekiti.chain