{"action":"opened","issue":{"url":"https://api.github.com/repos/oleganza/CoreBitcoin/issues/25","labels_url":"https://api.github.com/repos/oleganza/CoreBitcoin/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/oleganza/CoreBitcoin/issues/25/comments","events_url":"https://api.github.com/repos/oleganza/CoreBitcoin/issues/25/events","html_url":"https://github.com/oleganza/CoreBitcoin/issues/25","id":56789269,"number":25,"title":"BTCNetwork object","user":{"login":"oleganza","id":698,"avatar_url":"https://avatars.githubusercontent.com/u/698?v=3","gravatar_id":"","url":"https://api.github.com/users/oleganza","html_url":"https://github.com/oleganza","followers_url":"https://api.github.com/users/oleganza/followers","following_url":"https://api.github.com/users/oleganza/following{/other_user}","gists_url":"https://api.github.com/users/oleganza/gists{/gist_id}","starred_url":"https://api.github.com/users/oleganza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleganza/subscriptions","organizations_url":"https://api.github.com/users/oleganza/orgs","repos_url":"https://api.github.com/users/oleganza/repos","events_url":"https://api.github.com/users/oleganza/events{/privacy}","received_events_url":"https://api.github.com/users/oleganza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-06T09:25:47Z","updated_at":"2015-02-06T09:25:47Z","closed_at":null,"body":"We need to update API so that instead of ad-hoc mainnet/testnet flags or method variants we pass in BTCNetwork instance. That would allow for more streamlined API and flexibility in adjusting network settings for testing (one could clone testnet or mainnet and tune a few parameters).\r\n\r\nThese classes need to be updated:\r\n\r\n* BTCAddress\r\n* BTCKey\r\n* BTCKeychain\r\n* BTCNetwork\r\n\r\n"}}