当前位置:网站首页>Web3.0 series distributed storage IPFs
Web3.0 series distributed storage IPFs
2022-07-07 10:01:00 【Luchena】
background
web3.0 Focus on decentralization , Return the data to the user , At present, the effective underlying storage is distributed storage ipfs. This protocol divides data into segments , Perform multi node backup , And then through hash Aggregate to get the original file . There are several characteristics : Worldwide distributed network , Segmented storage 、merkle-tree polymerization , Multiple backup , permanent , Difficult to attack, etc . stay web3.0 Is expected to replace http agreement , Block chain ( Not enough to carry large amounts of data ) Combination composition web3.0 The bottom of the .
application
install
git clone https://github.com/ipfs/go-ipfs.git
cd go-ipfs
make install
This one uses go Source code to install , There are other ways .
start-up
1、ipfs init
It will be initialized , There is a default configuration , Directory in ~/.ipfs
2、ipfs daemon
Open the back-end service of the visual interface
You can access it locally through the browser :http://127.0.0.1:5001/webui
3、 Simple operation
Documents can be transferred through ipfs Interface operation , You can also use the command line
ipfs add Add files
ipfs get get files
Others can go through ipfs help To view the
边栏推荐
猜你喜欢
Basic chapter: take you through notes
【原创】程序员团队管理的核心是什么?
字节跳动 Kitex 在森马电商场景的落地实践
[Frida practice] "one line" code teaches you to obtain all Lua scripts in wegame platform
“十二星座女神降临”全新活动推出
EXT2 file system
Delete a record in the table in pl/sql by mistake, and the recovery method
Arcgis操作: 批量修改属性表
细说Mysql MVCC多版本控制
CSDN salary increase technology - learn about the use of several common logic controllers of JMeter
随机推荐
Basic use of JMeter to proficiency (I) creation and testing of the first task thread from installation
Parameter sniffing (1/2)
PostgreSQL创建触发器的时候报错,
基于智慧城市与储住分离数字家居模式垃圾处理方法
细说Mysql MVCC多版本控制
喜马拉雅网页版每次暂停后弹窗推荐下载客户端解决办法
Guys, have you ever encountered the case of losing data when Flink CDC reads mysqlbinlog? Every time the task restarts, there is a probability of losing data
How to use clipboard JS library implements copy and cut function
The difference between viewpager2 and viewpager and the implementation of viewpager2 in the rotation chart
Please ask me a question. I started a synchronization task with SQL client. From Mysql to ADB, the historical data has been synchronized normally
2020浙江省赛
[untitled]
Introduction to automated testing framework
**Grafana installation**
Horizontal split of database
AI moves from perception to intelligent cognition
Pit encountered by vs2015 under win7 (successful)
HCIP 第一天 笔记整理
根据热门面试题分析Android事件分发机制(一)
Before joining the chain home, I made a competitive product analysis for myself