paint-brush
MyETHMeta v2 - Bimwe mubitezimbere kuri Gravatar kuri konte yawe ya Ethereumna@thebojda
Amateka mashya

MyETHMeta v2 - Bimwe mubitezimbere kuri Gravatar kuri konte yawe ya Ethereum

na Laszlo Fazekas4m2024/12/24
Read on Terminal Reader

Birebire cyane; Gusoma

MyETHMeta ni Gravatar imeze nka metadata serivisi ya konti ya Ethereum. Yabanje koherezwa kumurongo wa Polygon, ariko ubu iri kumurongo wa Gnose. Serivisi irashobora kuvugururwa byoroshye kuri URL yagenwe.
featured image - MyETHMeta v2 - Bimwe mubitezimbere kuri Gravatar kuri konte yawe ya Ethereum
Laszlo Fazekas HackerNoon profile picture


Natangiye gukora kumushinga wa MyETHMeta hashize imyaka igera kuri itatu, ni serivise ya Gravatar imeze nka metadata kuri konti ya Ethereum. Nzi neza ko hari ibindi bisubizo, nko guhuza metadata namazina ya ENS, ariko nashakaga gukora sisitemu yoroshye ishoboka, imwe ikora nka Gravatar.


Hamwe na MyETHMeta, birahagije gutanga URL kuri aderesi yacu ya Ethereum inshuro imwe, igura igice cyijana kumurongo wa Gnose. Hano ntamafaranga yogusubiramo asubirwamo nka hamwe na ENS, kandi metadata irashobora kuvugururwa byoroshye kuri URL yerekanwe. Ibi biroroshye kubigeraho hamwe na gakondo ya Web2 yakira, kandi niba dukoresha ububiko bwegerejwe abaturage, nka IPFS cyangwa Swarm, birashoboka kandi mugukoresha IPNS cyangwa Swarm Feeds.


Kubera ko maze kwandika inyandiko yuzuye kubyerekeye serivisi ubwayo, hano nahitamo kwibanda ku mpinduka na gahunda zizaza.


Kwimukira mumuryango wa GitHub: Kubwumwimerere MyETHMeta, niyandikishije kumurongo wihariye kandi nakiriye page kuri AWS. Ariko, kubera ko iyi ari dApp (hamwe ninyuma ni amasezerano yubwenge), iyi mikorere ntabwo ari ngombwa rwose. Serivisi zitangwa nimiryango ya GitHub hamwe na page ya GitHub ijyanye birahagije rwose. Indi mpamvu yatumye iki cyemezo nifuzaga gukora serivise yigenga kubwanjye bishoboka. Kugeza ubu, nagiye nishyura ibiciro bya domaine no kubakira. Niba, kubwimpamvu iyo ari yo yose, ntagishoboye kubikora (urugero, iyo mpanuka n'imodoka), serivisi ntiyaboneka. Hamwe niyi mikorere, irashobora gukora neza neza ntari kumwe.


Igishushanyo mbonera cyububiko: Hamwe no kwimukira mumuryango, nagabanije ububiko buriho mububiko bwinshi bwigenga. Ibi bituma umushinga utegurwa cyane kandi byoroshye kuyobora.


Amasezerano mashya yubwenge kumurongo wa Gnose: Amasezerano yubwenge ya MyETHMeta yabanje koherezwa kumurongo wa Polygon. Mugihe amafaranga ya gaze ari make ugereranije, urunigi rwa Gnose ruhendutse. Kwandika URL imwe (iyo, mubihe byinshi, nibikenewe kuri konti) bisaba igice cyijana gusa.


Inkunga ya EIP-712 Meta-Transaction: Nubwo amafaranga ya Gnose ari make cyane, abakoresha benshi baracyafite ikibazo cyo gutera inkunga konti zabo na xDAI. Hamwe na EIP-712 meta-transaction, utanga umwirondoro arashobora kwishyura iki giciro, bikavamo uburambe bwiza bwabakoresha. Niba umuntu ashoboye kwinjizamo MetaMask (cyangwa igikapu icyo aricyo cyose), arashobora gukora byoroshye umwirondoro wa MyETHMeta abinyujije kumurongo utanga umwirondoro.


Nyuma yizo mpinduka, dore gahunda nkeya zizaza.


Kwakira Umwirondoro: Intego yanjye nukugirango MyETHMeta igere kuri buri wese, kabone niyo yaba adafite amadosiye cyangwa ubumenyi ubwo aribwo bwose. Kugirango ubigereho, ndateganya gukora umwirondoro woroshye wo kwakira serivise aho umuntu wese ashobora gukora no gutangaza umwirondoro we kubuntu. Ibyo bazakenera byose ni umufuka wa Ethereum.


Kugenzura Konti Yimibereho: Kugeza ubu, umwirondoro ni dosiye yoroshye ya JSON aho umuntu wese ashobora kwandika ikintu cyose. Ndateganya gukora serivisi ya Oracle ituma igenzura rya konti mbonezamubano. Konti zagenzuwe zizashyirwaho ikimenyetso cyerekana icyatsi kibisi, byerekana ko konte mbonezamubano yerekanwe ari iy'ikonti ya Ethereum. Kubera ko konte mbonezamubano ishobora guhuzwa gusa na konti imwe ya Ethereum, ibi nabyo byaba nk'ikimenyetso cyerekana ubumuntu budasanzwe (nubwo atari gikomeye cyane).


Ikirangantego cyihariye cyubumuntu: Umwirondoro urashobora gushiramo badge zigaragaza umwihariko. Niba umukoresha agenzuye umwirondoro wabo binyuze muri WordID cyangwa gihamya ya serivisi yubumuntu , barashobora kubona badge kuri yo, berekana ko umwirondoro uhujwe na konti yabo ya Ethereum wihariye.


Itumanaho ridafite ibanga ryitumanaho hamwe nimbuga nkoranyambaga: Mu kiganiro cyabanjirije iki , nanditse ku buryo protocole ya federasiyo ya Federasiyo ishobora gukorwa mu kwegereza ubuyobozi abaturage. Ibi birasaba gusa kwerekana inbox na agasanduku (yaba hagati cyangwa yegerejwe abaturage) mumwirondoro JSON, aho nyir'ikonte yashoboraga kwakira ubutumwa bwabitswe kandi agatanga uburyo bwo kugaburira rusange. Kubera ko protocole ihuza neza na ActivityPub, irashobora no kwinjizwa muri Federasiyo binyuze mumarembo yoroshye.


Inkunga y'ifaranga rya Karma: Nanditse ingingo nyinshi kuri HackerNoon kubyerekeye igitekerezo cy'ifaranga rya Karma, sisitemu y'amafaranga ishingiye ku kwizerana. Ikintu gikomeye cyane muri iki gisubizo nukureba ko buri muntu afite konti imwe gusa kandi ko abantu bashobora kwizerana. Sisitemu yumwirondoro nkiyi nibyiza kubigeraho, kuko itanga inzira nyinshi zo kwerekana umwihariko no kubaka ikizere hagati yabakoresha. Umwirondoro wa MyETHMeta urashobora kwerekana Karma iringaniza kandi ugatanga uburyo bwo gukora ibikorwa bya Karma bijyanye numwirondoro.


Niba ukunda umushinga, umva kubikurikira kuri GitHub, kandi buri gihe mpora mfunguye ibitekerezo nintererano. Nubwo ubu ari umushinga wumuntu umwe, ndabona ndi nkumubungabunga gusa. Kubera ko sisitemu yegerejwe abaturage rwose kandi nkaba ntagenzura imikorere yamasezerano yubwenge, MyETHMeta ntabwo ari iyanjye. Niba hari umuntu utemeranya nikintu icyo aricyo cyose, arashobora gukora akantu kabo hanyuma agashiraho umushinga uko ashaka. Sisitemu yigenga rwose kandi ikoreshwa nabaturage, kandi ndateganya kuzakora andi majyambere muri uyu mwuka.


Urashobora kubona repos ya GitHub hano: https://github.com/MyETHMeta


L O A D I N G
. . . comments & more!

About Author

Laszlo Fazekas HackerNoon profile picture
Laszlo Fazekas@thebojda
Developer, Tech Writer, my GitHub profile: https://github.com/TheBojda

HANG TAGS

IYI ngingo YATANZWE MU...