{"action":"created","issue":{"url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/15","repository_url":"https://api.github.com/repos/lyhistory/Peter-s-Tool","labels_url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/15/comments","events_url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/15/events","html_url":"https://github.com/lyhistory/Peter-s-Tool/issues/15","id":383815747,"node_id":"MDU6SXNzdWUzODM4MTU3NDc=","number":15,"title":"Magic link spec","user":{"login":"James-Sangalli","id":16630514,"node_id":"MDQ6VXNlcjE2NjMwNTE0","avatar_url":"https://avatars0.githubusercontent.com/u/16630514?v=4","gravatar_id":"","url":"https://api.github.com/users/James-Sangalli","html_url":"https://github.com/James-Sangalli","followers_url":"https://api.github.com/users/James-Sangalli/followers","following_url":"https://api.github.com/users/James-Sangalli/following{/other_user}","gists_url":"https://api.github.com/users/James-Sangalli/gists{/gist_id}","starred_url":"https://api.github.com/users/James-Sangalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/James-Sangalli/subscriptions","organizations_url":"https://api.github.com/users/James-Sangalli/orgs","repos_url":"https://api.github.com/users/James-Sangalli/repos","events_url":"https://api.github.com/users/James-Sangalli/events{/privacy}","received_events_url":"https://api.github.com/users/James-Sangalli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-23T12:57:23Z","updated_at":"2018-11-24T04:59:41Z","closed_at":null,"author_association":"NONE","body":"/**\r\n * Universal link format\r\n *\r\n * Android requires the link to be in the form:\r\n *\r\n * https://www.awallet.io/[base64]\r\n *\r\n * The format forbids using a prefix other than 'www'.\r\n * There needs to be text in the specific link too, in this case 'import'.\r\n$ echo -n https://www.awallet.io/; \\\r\n  echo -n 000f42405AB5B400007bee82bdd9e866b2bd114780a47f2261c684e30102030405060708092F982B84C635967A9B6306ED5789A7C1919164171E37DCCDF4B59BE54754410530818B896B7D240F56C59EBDF209062EE54DA7A3590905739674DCFDCECF3E9B1b | xxd -r -p | base64;\\\r\nhttps://app.awallet.io/AA9CQFq1tAAAe+6CvdnoZrK9EUeApH8iYcaE4wECAwQFBgcICS+YK4TGNZZ6m2MG7VeJp8GRkWQXHjfczfS1m+VHVEEFMIGLiWt9JA9WxZ698gkGLuVNp6NZCQVzlnTc/c7PPpsb\r\n * uint32:    price in Szabo                                           000f4240\r\n * uint32:    expiry in Unix Time                                      5AB5B400\r\n * bytes20:   contract address         007bee82bdd9e866b2bd114780a47f2261c684e3\r\n * uint256:  tokenid  example:                            \r\n FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF \r\n * bytes32:    2F982B84C635967A9B6306ED5789A7C1919164171E37DCCDF4B59BE547544105\r\n * bytes32:    30818B896B7D240F56C59EBDF209062EE54DA7A3590905739674DCFDCECF3E9B\r\n * byte:                                                                     1b\r\n * 1521857536, [0,1,2,3,4,5,6,7,8,9], 27, \"0x2F982B84C635967A9B6306ED5789A7C1919164171E37DCCDF4B59BE547544105\", \"0x30818B896B7D240F56C59EBDF209062EE54DA7A3590905739674DCFDCECF3E9B\" -> 0xd2bef24c7e90192426b54bf437a5eac4e220dde7\r\n */\r\n\r\n@lyhistory maybe the padding is for the price? Since that is at the beginning of the link, maybe you encoded using the full 256 bits when actually you can compress it into szabo and only take 32 bits."},"comment":{"url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/comments/441343920","html_url":"https://github.com/lyhistory/Peter-s-Tool/issues/15#issuecomment-441343920","issue_url":"https://api.github.com/repos/lyhistory/Peter-s-Tool/issues/15","id":441343920,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM0MzkyMA==","user":{"login":"lyhistory","id":1522513,"node_id":"MDQ6VXNlcjE1MjI1MTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1522513?v=4","gravatar_id":"","url":"https://api.github.com/users/lyhistory","html_url":"https://github.com/lyhistory","followers_url":"https://api.github.com/users/lyhistory/followers","following_url":"https://api.github.com/users/lyhistory/following{/other_user}","gists_url":"https://api.github.com/users/lyhistory/gists{/gist_id}","starred_url":"https://api.github.com/users/lyhistory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyhistory/subscriptions","organizations_url":"https://api.github.com/users/lyhistory/orgs","repos_url":"https://api.github.com/users/lyhistory/repos","events_url":"https://api.github.com/users/lyhistory/events{/privacy}","received_events_url":"https://api.github.com/users/lyhistory/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T04:59:41Z","updated_at":"2018-11-24T04:59:41Z","author_association":"OWNER","body":"please use latest code from master, and please merge my PR https://github.com/AlphaWallet/contracts/pull/97\r\nbecause in the old contract for price and expiry it's using 32 bytes not 4 bytes "}}
{"actor":{"display_login":"lyhistory"}}