UNPKG

@jayanth-kumar-morem/indexed-merkle-tree

Version:

Indexed Merkle Tree implemented in Typescript and circom circuits using Poseidon hashing to perform non membership proofs with serialising and deserialising to off chain storage

144 lines 4.44 kB
{ "depth": 32, "nodes": [ [ "8495383626315836305837861875604061881947184042460352587383381292552921449", "21858425369086272288911857886008754008121588527384956734059807835984242544086", "7186067076794553586186699690833533776408559116209121961896405109436852069694", "2864176233224768921008450811782719699555447763227533021844397480853085302312", "11446998675283189354145884953291898723588745157455791511240014473462943768455", "1534053719022955634136085830577932609506689364060229261367652002450210579280" ], [ "12259155550955716987754035194894021355686935687771735941022194699739670212413", "6755297078468563893507756469813320824397243568523346146204805923385994081495", "3445991304243829492123164098615988602036324092283775723761618935833861910201" ], [ "17179293357575571651487357840995565673422567842579415841784529629644307164792", "6934007581665972067761520815866272871389569741644119391386559894323265181650" ], [ "21780103637222710676839736446858992564281457380792071151837479595156996717369" ], [ "11335196839601461832489139909634832266303196099938597533016999214457127820657" ], [ "13608365746259115764717963113383995346098811875691359591757568970044516377768" ], [ "6561339263013022564403514614694229635520928123233671754989520161555560622455" ], [ "1396255639714925871922094271680022791584693316709484193802998530287356437037" ], [ "16585615237437296417828710336925654546153818720901830429067080848457193266429" ], [ "2341880299204051725624320462610573466069076239956381396142259081909989498472" ], [ "3296455686845080175218820119967543323745429303402040928414589728114275110926" ], [ "3234770299295942678492445922500831666227515104829942413010320251061974639732" ], [ "6930065181157801248188688021621046705777953486039239599495270148826913753749" ], [ "9527760549357967279921046985054789365030102787060389430588766860131047014978" ], [ "1776140221766947000174253196159908452660356124653255607532123743373819691424" ], [ "11588491976422046190312617225438015931926647734093094597321486138990455249493" ], [ "7254158279444312671660394162494844621213259785402712799175724510486200400821" ], [ "14863660435295122050680856314790998426113829092321317613531540364433414220403" ], [ "4482997844866100217936479771116354725700538611155781086232787255532378904669" ], [ "10950367144527446678268616493781330266357440615151124788380923116227905622223" ], [ "6805407056736476290558409600305410074016968336343838938474340353697435181414" ], [ "8819233374485000919705886103189245790398265591177772729476143617459703391771" ], [ "10377394308021673379963766119349012159939685794501423839348092573386030532252" ], [ "529534253243679453217183325395053252623253467078493350946375359248756502649" ], [ "20805774040976598088259877230237246600425914565893561299742090774197978083125" ], [ "11512844753751492253899378989140772131668480337003173191850077940921131794261" ], [ "843512043043070888137540300342196527265588687895491882959223931137264360937" ], [ "21049513750278410540737450563488986983461117322626331295702980814816931803355" ], [ "6778227298533928577668129079459365979347101919509914473151333452836467590258" ], [ "2294267502973418595163206708856851261726295567958600292584650497085693704095" ], [ "8250709273599975050492251287344699230682373995807910246220510384401483048751" ], [ "16813081650394274266460530865042154921216908299131973203708555565992039859635" ], [ "10979534088670581992170648533667479239027333209712553086018405878600246031023" ] ], "leaves": [ { "val": "0", "nextVal": "100", "nextIdx": 1 }, { "val": "100", "nextVal": "125", "nextIdx": 5 }, { "val": "500", "nextVal": "750", "nextIdx": 4 }, { "val": "250", "nextVal": "500", "nextIdx": 2 }, { "val": "750", "nextVal": "0", "nextIdx": 0 }, { "val": "125", "nextVal": "250", "nextIdx": 3 } ] }