{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/comments","events_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402/events","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/402","id":71468918,"number":402,"title":"Remove defaulted network information","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/breaking%20change","name":"breaking change","color":"fd4410"},{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/labels/todo","name":"todo","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/1","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/milestones/2.0.0","labels_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/milestones/1/labels","id":778601,"number":1,"title":"2.0.0","description":null,"creator":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":22,"state":"open","created_at":"2014-09-04T15:37:23Z","updated_at":"2015-05-07T13:24:53Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-04-28T03:39:51Z","updated_at":"2015-05-11T23:47:57Z","closed_at":null,"body":"Remaining aspects of https://github.com/bitcoinjs/bitcoinjs-lib/issues/325\r\n\r\nWe should add `network` to all parts of the API that need it, with no defaulting.\r\n\r\nThat means `ECPair.fromWIF` would require a target network, with an `Error` thrown if the wrong network is given.\r\nSame with `HDNode.fromBase58`."},"comment":{"url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/comments/101076133","html_url":"https://github.com/bitcoinjs/bitcoinjs-lib/issues/402#issuecomment-101076133","issue_url":"https://api.github.com/repos/bitcoinjs/bitcoinjs-lib/issues/402","id":101076133,"user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T23:47:57Z","updated_at":"2015-05-11T23:47:57Z","body":"> In case of detection of a network, require a list of possible networks passed in.\r\n\r\nThat is an interesting approach.\r\nI guess that would absolve the use of the global networks object entirely making extending the library to alt coins quite simple to explain."}}