Nghiên cứu công nghệ hyperledger

6 1 0
Nghiên cứu công nghệ hyperledger

Đang tải... (xem toàn văn)

Thông tin tài liệu

Hyperledger la m9t open source blockchain platform, so huu Mi Linux foundation.V6i H~perledger, Linux Foundation nhim m\lC dich ~o ra moi trucmg de cac nha phattrien phfui me1? ph6i hgp de xay d1,Illg cac framework blockchain. Hyperledger duqc contribute bm nit nhieu hang cong nghe 16n, nf>i b~t nhAt la IBM

BO v AN H6A, THE THAO v Anu qcH Cl)C BAN QUY~N TAC GIA GIAY CHUNG N ~ 'tJ , ? ; DANG KY QlIY£N~TAC GIA A 11~\ Tac ph~m: Bai vii Hyperl Tac gia: Nguyen ,~ - oai hinh: ·11 \, Thon Tien HaiDuO'ltg Chu s« hfru: NguylnDuy sa 29 - TT l f"'-!]_T Va Q Ha Dong,Ha~ p -~=:::::::::====:? Da dang ky quyin-tacgia t~i • ;a,.,'°ft; ,/,' , , Tac phlzm vi t ViftNam 0300980006 11/04/2021 0190840004 10/04/2021 \JC Ban quyin Tac gia Ha N9i, 30 thang 01 niim 2023 KT Cl)C TRUONG UONG • SB: 0549/2023/QTG C§p cho Chu s& hfru Ph~m Thj Kim Oanh TAC GIA: NGUYEN VAN uoc CHU SO Hfru: NGUYEN DUY HA (I I cov sa'tMng ky Cl]i.f.fj BAI VIET: Ngay 3.91.41 .107.-) NGIDEN cUU VE CONG NGHE• HYPERLEDGERFABRIC I Hyperledger la gi? Hyperledger la m9t open source blockchain platform, so huu Mi Linux foundation V 6i H~perledger, Linux Foundation nhim m\lC dich ~o moi trucmg de cac nha phattrien phfui me1? ph6i hgp de xay d1,Illg cac framework blockchain Hyperledger duqc contribute bm nit nhieu hang cong nghe 16n, nf>i b~t nhAt la IBM Khac v6i cac platform blockchain nhu Bitcoin, Ethereum, Hyperledger khong c6 cryptocurrency rieng va cilng khong c6 y djnh phat trien cryptocurrency Myc dich cua Hyperledger Hyperledger doi v6i m\lc dich: • • • • T~o m9t framework ma ngubn ma, sb cai phan tan de h6 trq cac giao djchbusiness Cung cAp co so h~ tfuig trung l~p, cm mo duqc h6 trq b6i c(>ng d6ng cong ngh~ Giao d\lc cong chung v8 co h(>i thi trucmg cho cong nghe blockchain Xay d\Illg c(>ng d6ng cong ngh~ de phat rien blockchain va cac use cases POC v8blockchain Hyperledger phat trien m(>t chi6n luge gQi la Hyperledger umbrella v6i nhi8u di! an khac nhau: • Sawtooth: M9t platform blockchain Intel phat trien, sir d\lllg thu~t toan d6ng thu~ Proof of Elapsed Time (PoeT) • Iroha: DI! an duqc contributed v6i Hitachi, NTT Data, sir d\lllg thu~t toan d6ng thu~ Byzantine Fault Tolenrant • Fabric: 0uqc contributed bm IBM, m(>t platform cho phep cac components nhu thu~t toan d6ng tht$1, membership service c6 th€ d€ dang plug and play,~ hi€u la c6 th€thay the cac th~t toan d6ng th~ Hyperledger Fabric s~ d\lllg cong ngh~ container~~ luu tru cac hgp d6ng thong minh dugcg9i la "chaincode" bao gom logic ung d\lllg cua M thong Ki~n true cua Hyperledger • Membership : cung cAp cac djch V\l quan ly danh tinh, quy8n rieng tu, bao m~t vaki~m toan tren m~g • ChainCode: Hyperledger luu cac smartcontract du6i d~g cac chaincod~ (ngon ng~l~~ trinh d~ phat tri~n smartcontract), chaincode_ duqc sir d~g n:ong ,Hy~erle?ger lag?l~g _co the hi€u chaincode la mot decentralize application, ch~y tren cac nut xacnh~ hgp lm ba ph~n chinh: giao thuc peer-to-peer (P2P) d\fa tren HTTP / 2, s6 k8 toan phan ph6i va trinh quan ly df>ng thu~ • Transactions: Cac giao dich dugc th\fc hi~n va luu tru tren blockchain Hyperledger Fabric Du6i day la mo hinh ml;Ulg blockchain Hyperledger Fabric: • Fabric CA la Fabric Certificate Authority cung cdp authentication cho cac participant ml;Ulg Hyperledger Bdt ky participant nao tham gia ml;Ulg blockchain phai dugcdang ki v6i CA truck Qua trinh gQi la enrollment • Peer la cac computer node, luu tru ban copy cua blockchain va th\lc hi~n qua trinh consensus • Ordering service kiem tra permission cua clien, validate cac transaction d8n tir client Cai ttijt Hyperledger Fabric 5.1 Pre-requisites • Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit) • Docker Engine: Version 17 03 or higher • Docker-Compose: Version 1.8 or higher • Node: 8.9 or higher (note version and higher is not supported) • npm:v5.x • git: 2.9.x or higher • Python: x • A code editor of your choice, we recommend VSCode Tren Ubuntu, dB tai nhung di8u ki~n tien quy8t su d\filg cau l~nh: curl -0 https://hyperledger.github.;o/co1DPOBer/lateat/prereqs-ubuntu.sh chmod u+x prereqs-ubuntu.sh Hinh L¢nh dowload aiiu ki¢n tien quyit 5.2 • Cai i/ij,t moi trirung phat triln Cac cong C\l CLI c~ thi8t: Copy npa install -g composer-cli@6,28 Copy • Ti~n ich d~ ch~y REST SERVER tren may cua b~ d~ hi~n tht cac m~g doanh nghi~p cua b~ du6i d~ng cac RESTful APis: npm install -g composer-rest-server@e,28 • Copy Ti~n ich hfru ich d~ t~o tai san ung di,mg: npm install -g generator-hyperledger-composer@8,28 Copy • Yeoman la m70Sl/tcp, o.o , o.o:70S3->70S3/tcp peero.org1.excnpte.co:1 34 e hypertedger/fabric•couchdb:0.4.10 "tini •· / docker•ent-• 57 seconds ego 89284799437 UP seconds /tcp, 9100/tcp, o.o.e.o:S984•>5984/tcp couchdb 4369 43 bfc f , hypertedger/fcbric-co:1.2.1 "sh •C 'fcbrtc-ce•se-• S7 seconds ego 40Up67428 43 seconds o.o.0.0:70S4•>70S4/tcp c:a orgl.exa~ple.co.~ bScec dlZ hyperledger/fcbr tc-orderer11.2.1 "orderer " 57 seconds coo 60 Up96 45 seconds o.o.o.8:7058•>7050/tcp orderer.~xaAple.coA nguyenuocenguyenuoc: - / fobric •d~v - ~ervers$ I Hinh Cac Fabric instance dang chr;1y

Ngày đăng: 26/09/2023, 15:32

Tài liệu cùng người dùng

Tài liệu liên quan