{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/examples/issues/22","labels_url":"https://api.github.com/repos/ipfs/examples/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/examples/issues/22/comments","events_url":"https://api.github.com/repos/ipfs/examples/issues/22/events","html_url":"https://github.com/ipfs/examples/issues/22","id":96929144,"number":22,"title":"\"Making your own ipfs service\" errors","user":{"login":"noffle","id":489362,"avatar_url":"https://avatars.githubusercontent.com/u/489362?v=3","gravatar_id":"","url":"https://api.github.com/users/noffle","html_url":"https://github.com/noffle","followers_url":"https://api.github.com/users/noffle/followers","following_url":"https://api.github.com/users/noffle/following{/other_user}","gists_url":"https://api.github.com/users/noffle/gists{/gist_id}","starred_url":"https://api.github.com/users/noffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noffle/subscriptions","organizations_url":"https://api.github.com/users/noffle/orgs","repos_url":"https://api.github.com/users/noffle/repos","events_url":"https://api.github.com/users/noffle/events{/privacy}","received_events_url":"https://api.github.com/users/noffle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T23:52:07Z","updated_at":"2015-07-24T00:27:06Z","closed_at":null,"body":"The example references `fsrepo#At`, which doesn't seem to exist. I do however see `fsrepo#Open` consumes a repoPath: https://github.com/ipfs/go-ipfs/blob/master/repo/fsrepo/fsrepo.go#L106\r\n\r\nEven with this change though, running the server yields `I am peer: <peer.ID XoPY8C>` but the client balks at `XoPY8C` as input: `panic: multihash length inconsistent: &{4  180 [242 122 13]}`.\r\n\r\n(+cc @whyrusleeping from earlier irc conversation in #ipfs)"},"comment":{"url":"https://api.github.com/repos/ipfs/examples/issues/comments/124276732","html_url":"https://github.com/ipfs/examples/issues/22#issuecomment-124276732","issue_url":"https://api.github.com/repos/ipfs/examples/issues/22","id":124276732,"user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T00:27:06Z","updated_at":"2015-07-24T00:27:06Z","body":"@noffle `fsrepo.Open` looks to be the right call. And for the peer ID, the printing of that has changed since i wrote this, we will need to print `nd.Identity.Pretty()` to get the full base58 string."}}