{"id":53164,"library":"filecoin-project-go-hamt-ipld-v2","title":"go-hamt-ipld","description":"Package hamt provides a reference implementation of the IPLD HAMT used in the Filecoin blockchain with CHAMP mutation semantics.","status":"active","version":"2.0.0","language":"go","source_language":null,"source_url":"https://github.com/filecoin-project/go-hamt-ipld","tags":["hamt","ipld","filecoin","trie","blockchain"],"install":[{"cmd":"go get github.com/filecoin-project/go-hamt-ipld/v2","lang":"bash","label":"Install github.com/filecoin-project/go-hamt-ipld/v2"}],"dependencies":[],"imports":[{"symbol":"hamt","correct":"github.com/filecoin-project/go-hamt-ipld/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\thamt \"github.com/filecoin-project/go-hamt-ipld/v2\"\n)\n\nfunc main() {\n\tstore := hamt.NewCborStore()\n\tnode, err := hamt.NewNode(store, hamt.UseTreeBitWidth(5))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\terr = node.Set(context.Background(), \"key\", \"value\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(\"HAMT node created\")\n}","lang":"go","description":"Create a new HAMT node and set a key-value pair."},"warnings":[],"env_vars":null,"search_vec":"'blockchain':19,28 'champ':21 'filecoin':18,26 'go':2 'go-hamt-ipld':1 'hamt':3,6,14,24 'implement':10 'ipld':4,13,25 'mutat':22 'packag':5 'provid':7 'refer':9 'semant':23 'trie':27 'use':15","created_at":"2026-06-15T07:29:41.060943+00:00","updated_at":"2026-06-15T07:29:41.060943+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/filecoin-project/go-hamt-ipld","github":"https://github.com/filecoin-project/go-hamt-ipld","docs":"https://pkg.go.dev/github.com/filecoin-project/go-hamt-ipld/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}