Posts

Showing posts from July, 2019

Private network in IPFS

Image
Welcome again developers, In this article we will see how to setup a private  IPFS network in an Ubuntu machine/System. we will go step by step in this article if you did not saw our Intro to IPFS   and  public IPFS network   we recommend  to see this first. In this we setup a private IPFS network. Note :            * for this we need two ubuntu system connected to a same network (LAN/WiFi).            * select one system as a bootstrap node and another as client node.            *follow step 1 and step 2 in both the system as it is. step 1. Install go  * download go zip file from there official website https://golang.org/dl/  * Create a new folder, then copy the downloaded file into this folder.  * open terminal in current directory ("the directory which we created ...

How to setup a IPFS network in Ubuntu

Image
Welcome again developers, In this article we will see how to setup IPFS network in an Ubuntu machine/System. we will go step by step in this article if you did not saw our Intro to IPFS we recommend  to see this first. In this we setup a public IPFS network. step 1. Install go  * download go zip file from there official website https://golang.org/dl/  * Create a new folder, then copy the downloaded file into this folder.  * open terminal in current directory ("the directory which we created 'work folder' ") * type "  sudo tar -C /usr/local -xzf go1.12.7.linux-amd64.tar.gz   " : this command will extract the file into the /usr/local folder, Note: in our case we have go1.12.7.linux-amd64.tar.gz file if you have any different version then use that file name instead of go1.12.7.linux-amd64.tar.gz. * type  "  export PATH=$PATH:/usr/local/go/bin  " : the export command marks an environm...

Intro to IPFS

Image
IPFS stands for InterPlanetary File System, It is used to store files in a distributed decentralized manner, following points are helpful in understanding IPFS. FEATURES  1. IPFS is content addressable : IPFS protocol finds data by using content address instead of path address, whenever any data is published to IPFS it will return the hash of the content (like this /ipfs/mQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH) , if we talk about centralized approach  we will get a path like  " https://www.domainName.com/yourData ". In centralized approach we can get data using the URl and in IPFS we can get data using the hash .   2. IPFS is peer-to-peer connection :  IPFS is same as world wide web but in this a peer can connect to another peer directly, there is no need of any centralized node. 3. IPFS gateway : IPFS can be access over the HTTP protocol we can make our own gateway or we can use another gateway like infura . In our local system i...