0% found this document useful (0 votes)
23 views5 pages

Supply Chain

The document outlines the steps for developing and installing supply chain management code using Hyperledger. It details the creation of chain code, packaging, installation on peers, and invoking functions for transactions. The process emphasizes the importance of blockchain integration for managing product information and transactions.

Uploaded by

kaishwarya978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views5 pages

Supply Chain

The document outlines the steps for developing and installing supply chain management code using Hyperledger. It details the creation of chain code, packaging, installation on peers, and invoking functions for transactions. The process emphasizes the importance of blockchain integration for managing product information and transactions.

Uploaded by

kaishwarya978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chatn code for Supry chatin Managment

dedges fabite , chathcode ts tte


k In hypet
busfnes logte
Smatt conhact hat qovens thu
the blockchaln.

chain code
the lidqu such as,
intuacking wlh data.
hansacfon and quatng
* The prous o installing
chatn code &n Hype Ldqu
and instontfafng
fabafe fn volces Swdal Sheps.

chafn code Development.


Steps în
1. Creatk chancode
rhe chafreoda
2.
Pacbngchalnoces on Pes
3. Inslall
channls
Trstafate chancode on
5. Invoe and Quey chaftode
HTML/Js
|USu Intela e| (Frontend)

API

chain
Code

Ladger Block

1- Ceate Chaln coce


wLitten n
* Chaln Code is
Gho, Jauasalph, Java.
the dhutue chainodle
fnft o tuncion
nvoe uncfon.
fRfE C) rifalizes he dedgu wft
dabas and petom sehup axfons.
# nvote uncton develop th busfness
Iha prpduct.
inpalt ()
type Supply chalh chainode 'shuct q
Conhatapf. con hact
kunc(Supplafh Chafn Chaincodu)
Yehun nil
3
type product shucteta
3
2 Packaqechalneode
the chatcodu ato
Bejore daçloyfng Packag Tt.
hypd wdqu you ned, to
a chatncode,
To Packaage
ate a direchony For yout
chainod

Ly cuate the package hat contafn


you chalneode's bouse cocle,
cho can be oied in the
Packag
Pus n fawa, js, Go.
3- hstall chaln lode on Pees.
has to bes frstalled in all
* chath codes
the pes that connacted nthe Bockchain.
* Steps b rstall:
Gnsure you HL- Fabnd nehoak

’ Enguse Pes a Yunnng.


nstall the packaqs n yqur fees.
4. Tnstanhate:

chancode has beun, Installd


* Once the
and cppro ved youlcaniinstantfate
the e nehoek,

fstanate 'on the channel

k SPetky the channel ID


o chatn odle
the veston
speáty
5. Jnvote and Quy chatncode
Ater Instantiaton o chalntode ,you
Can begin b nvoke he funcfons p ho
peutom hansaclfons.
o nvoke thu
se peen chalntode
funchons.
allows the Suppy chain sys hem
to reord, update ond vetty he
pröduct fn formatfon.

Quy wsed o reseve he


Quwies
daas / frfos tom the theudgu.
chaincodu Hat
k you (an quey
hypu dgu nehook
cuL packuqud En the
quey mata
mates the H-L Pebsc nehwk
?nteractfve und
datas

- foeays
Admên sitman 4

You might also like