{"id":62716,"library":"celestiaorg-nmt","title":"NMT (Namespace Merkle Tree)","description":"An implementation of Namespace Merkle Trees (NMT) for verifiable data availability in blockchain systems.","status":"active","version":"0.24.3","language":"go","source_language":null,"source_url":"https://github.com/celestiaorg/nmt","tags":["merkle-tree","blockchain","data-availability","celestia"],"install":[{"cmd":"go get github.com/celestiaorg/nmt","lang":"bash","label":"Install github.com/celestiaorg/nmt"}],"dependencies":[],"imports":[{"symbol":"nmt","correct":"github.com/celestiaorg/nmt"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/celestiaorg/nmt\"\n)\n\nfunc main() {\n\tdata := [][]byte{[]byte(\"leaf1\"), []byte(\"leaf2\")}\n\ttree := nmt.New(sha256.New(), nmt.NamespaceIDSize(8))\n\tfor _, d := range data {\n\t\ttree.Push(d)\n\t}\n\troot := tree.Root()\n\tfmt.Printf(\"%x\\n\", root)\n}","lang":"go","description":"Build a Namespace Merkle Tree and compute its root."},"warnings":[],"env_vars":null,"search_vec":"'avail':15,25 'blockchain':17,22 'celestia':26 'data':14,24 'data-avail':23 'implement':6 'merkl':3,9,20 'merkle-tre':19 'namespac':2,8 'nmt':1,11 'system':18 'tree':4,10,21 'verifi':13","created_at":"2026-06-17T16:34:49.467279+00:00","updated_at":"2026-06-17T16:34:49.467279+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/celestiaorg/nmt","github":"https://github.com/celestiaorg/nmt","docs":"https://pkg.go.dev/github.com/celestiaorg/nmt#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}