{"action":"created","issue":{"url":"https://api.github.com/repos/blockstack/blockstack.js/issues/585","repository_url":"https://api.github.com/repos/blockstack/blockstack.js","labels_url":"https://api.github.com/repos/blockstack/blockstack.js/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/blockstack/blockstack.js/issues/585/comments","events_url":"https://api.github.com/repos/blockstack/blockstack.js/issues/585/events","html_url":"https://github.com/blockstack/blockstack.js/issues/585","id":391603695,"node_id":"MDU6SXNzdWUzOTE2MDM2OTU=","number":585,"title":"Replace elliptic with bitcoin-ts","user":{"login":"friedger","id":1449049,"node_id":"MDQ6VXNlcjE0NDkwNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1449049?v=4","gravatar_id":"","url":"https://api.github.com/users/friedger","html_url":"https://github.com/friedger","followers_url":"https://api.github.com/users/friedger/followers","following_url":"https://api.github.com/users/friedger/following{/other_user}","gists_url":"https://api.github.com/users/friedger/gists{/gist_id}","starred_url":"https://api.github.com/users/friedger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedger/subscriptions","organizations_url":"https://api.github.com/users/friedger/orgs","repos_url":"https://api.github.com/users/friedger/repos","events_url":"https://api.github.com/users/friedger/events{/privacy}","received_events_url":"https://api.github.com/users/friedger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zone117x","id":1447546,"node_id":"MDQ6VXNlcjE0NDc1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1447546?v=4","gravatar_id":"","url":"https://api.github.com/users/zone117x","html_url":"https://github.com/zone117x","followers_url":"https://api.github.com/users/zone117x/followers","following_url":"https://api.github.com/users/zone117x/following{/other_user}","gists_url":"https://api.github.com/users/zone117x/gists{/gist_id}","starred_url":"https://api.github.com/users/zone117x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zone117x/subscriptions","organizations_url":"https://api.github.com/users/zone117x/orgs","repos_url":"https://api.github.com/users/zone117x/repos","events_url":"https://api.github.com/users/zone117x/events{/privacy}","received_events_url":"https://api.github.com/users/zone117x/received_events","type":"User","site_admin":false},"assignees":[{"login":"zone117x","id":1447546,"node_id":"MDQ6VXNlcjE0NDc1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1447546?v=4","gravatar_id":"","url":"https://api.github.com/users/zone117x","html_url":"https://github.com/zone117x","followers_url":"https://api.github.com/users/zone117x/followers","following_url":"https://api.github.com/users/zone117x/following{/other_user}","gists_url":"https://api.github.com/users/zone117x/gists{/gist_id}","starred_url":"https://api.github.com/users/zone117x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zone117x/subscriptions","organizations_url":"https://api.github.com/users/zone117x/orgs","repos_url":"https://api.github.com/users/zone117x/repos","events_url":"https://api.github.com/users/zone117x/events{/privacy}","received_events_url":"https://api.github.com/users/zone117x/received_events","type":"User","site_admin":false},{"login":"yknl","id":29081231,"node_id":"MDQ6VXNlcjI5MDgxMjMx","avatar_url":"https://avatars3.githubusercontent.com/u/29081231?v=4","gravatar_id":"","url":"https://api.github.com/users/yknl","html_url":"https://github.com/yknl","followers_url":"https://api.github.com/users/yknl/followers","following_url":"https://api.github.com/users/yknl/following{/other_user}","gists_url":"https://api.github.com/users/yknl/gists{/gist_id}","starred_url":"https://api.github.com/users/yknl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yknl/subscriptions","organizations_url":"https://api.github.com/users/yknl/orgs","repos_url":"https://api.github.com/users/yknl/repos","events_url":"https://api.github.com/users/yknl/events{/privacy}","received_events_url":"https://api.github.com/users/yknl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-12-17T08:27:37Z","updated_at":"2019-01-03T15:36:57Z","closed_at":null,"author_association":"COLLABORATOR","body":"Operations of elliptic can be replace with bitcoin-ts in webassembly with 10x better performance:\r\nhttps://blog.bitjson.com/just-released-webassembly-version-of-secp256k1-10x-faster-than-javascript-eb3cebe4d411"},"comment":{"url":"https://api.github.com/repos/blockstack/blockstack.js/issues/comments/451179834","html_url":"https://github.com/blockstack/blockstack.js/issues/585#issuecomment-451179834","issue_url":"https://api.github.com/repos/blockstack/blockstack.js/issues/585","id":451179834,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTE3OTgzNA==","user":{"login":"zone117x","id":1447546,"node_id":"MDQ6VXNlcjE0NDc1NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1447546?v=4","gravatar_id":"","url":"https://api.github.com/users/zone117x","html_url":"https://github.com/zone117x","followers_url":"https://api.github.com/users/zone117x/followers","following_url":"https://api.github.com/users/zone117x/following{/other_user}","gists_url":"https://api.github.com/users/zone117x/gists{/gist_id}","starred_url":"https://api.github.com/users/zone117x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zone117x/subscriptions","organizations_url":"https://api.github.com/users/zone117x/orgs","repos_url":"https://api.github.com/users/zone117x/repos","events_url":"https://api.github.com/users/zone117x/events{/privacy}","received_events_url":"https://api.github.com/users/zone117x/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T15:36:57Z","updated_at":"2019-01-03T15:36:57Z","author_association":"NONE","body":"This would be nice. Few thoughts:\r\n* Bundling the wasm for the blockstack.js dist file may pose a challenge. \r\n  * AFAIK this requires embedding a b64 string of the wasm binary file. Which for secp256k1.wasm alone is 231KB (120KB compressed). \r\n  * We'd need to add some browserify plugins (or use webpack). And we probably want to wait until the lib is refactored in smaller components as suggested by @yknl. \r\n  * Are we willing to drop support for browsers that don't support webassembly? If not, we'd need to make sure to support a fallback (more bloat). \r\n* This may help with encrypted file upload memory bloat problems https://github.com/blockstack/blockstack.js/issues/564#issuecomment-447128821 since I suspect this rust/webassembly implementation is not creating lots of internal js buffer/array copies. "}}
{"actor":{"display_login":"zone117x"}}