{"id":50577,"library":"cosmos-ledger-go","title":"Cosmos Ledger Go","description":"A Go library for interacting with Ledger hardware wallets in the Cosmos ecosystem.","status":"active","version":"0.9.3","language":"go","source_language":null,"source_url":"https://github.com/cosmos/ledger-go","tags":["ledger","hardware-wallet","cosmos","blockchain"],"install":[{"cmd":"go get github.com/cosmos/ledger-go","lang":"bash","label":"Install github.com/cosmos/ledger-go"}],"dependencies":[],"imports":[{"symbol":"ledger","correct":"github.com/cosmos/ledger-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/cosmos/ledger-go\"\n)\n\nfunc main() {\n\tdevice, err := ledger.FindLedgerCosmosUserApp()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer device.Close()\n\n\tpubKey, err := device.GetPublicKey([]uint32{44, 118, 0, 0, 0})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Public key: %x\\n\", pubKey)\n}","lang":"go","description":"Finds a Ledger device and retrieves a public key."},"warnings":[{"fix":"Ensure the device is connected and the Cosmos app is running","message":"Requires a connected Ledger device with Cosmos app open","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'blockchain':22 'cosmos':1,15,21 'ecosystem':16 'go':3,5 'hardwar':11,19 'hardware-wallet':18 'interact':8 'ledger':2,10,17 'librari':6 'wallet':12,20","created_at":"2026-06-15T04:59:28.689726+00:00","updated_at":"2026-06-15T04:59:28.689726+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/cosmos/ledger-go","github":"https://github.com/cosmos/ledger-go","docs":"https://pkg.go.dev/github.com/cosmos/ledger-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"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}}