{"_id":"symbol-uri-scheme","_rev":"34-b08048aa2bdc02cb265699ee9a456894","name":"symbol-uri-scheme","dist-tags":{"alpha":"0.5.2-alpha-202012161036","latest":"0.6.1","next":"0.5.0"},"versions":{"0.4.2-alpha-202003232348":{"name":"symbol-uri-scheme","version":"0.4.2-alpha-202003232348","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"4fbe805adcd1ac22cbca5dab7925919967b911f4","_id":"symbol-uri-scheme@0.4.2-alpha-202003232348","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dVL0ihY9Zhs85Q/HLLglpHqxFrYc+aoVia6VDppYul1FAt7C2L2stQ71wFNvkrB+mWx36AOmGAb39AgvM+eKqg==","shasum":"c666be2a7f413ff8cf36e9187a1940d68d03b066","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.2-alpha-202003232348.tgz","fileCount":25,"unpackedSize":35038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeUrNCRA9TVsSAnZWagAAahIQAJbcMJ1ixLoNRbJKFxgy\nKTI5ZvC0PXiwssldLfUNlb+Xe59hTm7J3rbKnfLyqQt54T9Gadfl1BPcqZt9\n4MHEBx7wmzuK1QNKlXqm7Ixnjkn1Wy+jkq1PbB1maJrmUxh+/s2+i8dqoKKE\nOBCTpTBjQ+HEtdswgfMjXFqc5SLJQDINH5iYahd4NRpfjY9+vfExgrD/7MsB\n1qTzdVGsy1zvJAqV0m7K8bNV5+j+BP7lJVcEU/45jtPwT6lu20IcNohrUm5g\n3L0ExOXtn625Zlau98EQTAWusLhLpsWLO9jwLutUokFhlynzoYTRjC4k0klJ\nZT0I9Kh6+xaMf63HRFEzEhQf3919J+eD2z8yH83rpYoNG+zZRdwiNoUU/n4x\n4sMBAvPX6OsAINM9nbKAeowrvGrAof8XCXiIJU7wLk4m537dq7CdO1kB1V0p\nGTvjyjpvZJn/yB5rlRmkJ92z7IrqBXR4XezY017bY+3yxi6uIcg6BjWkDNWA\n8SHFFQNogp1NLEEWzc6SR4cCCGW1ZscZQQoTQRdfPfMrnHT9wSV+KuOrC/9q\nkmq6cyrLJzPALlFG6CDsG2MGfeb0/TCn3aT2/8nuScexGTyV2QlJw9ts5Mki\nJpWH/oqLcmU+05yz0va+FAIyPcsCo43ek+rI7mX3VOfQ2khkXN6rd0HTARUN\n1Fxm\r\n=tAQH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrKOXp9xWRw1rJ45y0MXwsxutaTnElZJyR6E45AP6iHgIgCyi1uc82s7vYELISJuLu+vLbmYEhxPc4kG/BRJZHd6U="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.2-alpha-202003232348_1585007308897_0.5924340784332112"},"_hasShrinkwrap":false},"0.4.2":{"name":"symbol-uri-scheme","version":"0.4.2","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"fcd2ff9c7125a77ac24dc48331b7007477233946","_id":"symbol-uri-scheme@0.4.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-TkkzAcu92fFnlhNrQ5qo5YWuLr0oefIFSqwT4o+HJAWPchUPbtZWGa3isGNoTIV+k26tarIW3c/g98F+ZiZ4UA==","shasum":"f6ea30927f5583a4db42ebdd4d3dade4982e7116","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.2.tgz","fileCount":25,"unpackedSize":35019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeUwVCRA9TVsSAnZWagAAcvAP/2ry/QdrYekMrJrxOqOQ\ncfcDJRkPs647huwdLcWFV03f0Nko0f5Tc4tNHN8yz1ADmLmIqdmRXPH6EhWL\n9AMX5EpnOkWd/zo9vfFd1MLjKxbjkdXHZgujpPqidXu+Fj6m98+/8sJ3YALe\nEzrq4/wqqD37eyWLjxyJv/KCRjHNMQrKFYJxMu5vw3WIQx/8iw6Bvx00bvk1\nMg0pHFIMSo6Ta6tSV4bhmavhq2HjhQO2ePvG4YKvQiOoxBYhMOzM0aIvvVgM\ntsSb8IqPrO+NeYALJhC0lwSkvHRmP/pd3lpk9MWP1fMHFhTA4e/gmwnP2SgH\n3Epl4oR8Wosm1vxsMj6rOKfDnc2QjJTkIDL5YTWu2E8yxOfs3/kcnifTxSF7\nwrBTBs6e0FY5Xi0pxqJ/F+RuLKb9raG4DXVz4jsWTDlXz155USzvMtHJoooe\nmX6Npbw/zlSAAxvlcpGZV5QUGM9bQPJaVWkyghHBuLjHNstfBqrSUDdrWh7v\ni5JASRrZiSitWClLiN2jsghGGbmHzWwux5IDppKd3t9OxYCWEzsNV90jCD2r\n1N+ZOolWzVa6J75+xBvans8tt8fyLE1Hk3Y8Itcg2no0rfid1ISEZ1zFXqtV\nBh8FXP0y+Nwghd0gjrS2BOjLWhl3GuJL0TQ2KQe+8dzOzZIcih/qchOkIMM+\n8N5D\r\n=CUR6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNOOEMvnChFM3DU7TvXszFM1b2j7rlWjikbwL6dwZrbgIhAOjDTipAkvPnAp3hHAAE+ed58FgnjOWnVdT4nPfHDKEN"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.2_1585007636737_0.17947526208161935"},"_hasShrinkwrap":false},"0.4.3-alpha-202003240000":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202003240000","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"36d099ab1c44952b850912a9bf96e1e0556e37f0","readme":"# symbol-uri-scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.org/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.org/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nSymbol URI Scheme generator to serve transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6).\n\n:warning: This library is experimental, use at your own risk.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Transaction to URI\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### URI to Transaction\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+nem://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## License\n\nLicensed under the [Apache License](LICENSE.md), Version 2.\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202003240000","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-6GF3hqJrqTmWXdfjAkf7xyyX85xFyrliQwwpagFAMoXlaPDqSY2qi2KFRItit6Gtu6qPsleh/ubBB8dfFO03lA==","shasum":"a23f47115c16eeca3e38ec681eaaa5b2d7891ee6","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202003240000.tgz","fileCount":25,"unpackedSize":35038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeU2oCRA9TVsSAnZWagAAKDEP/1MSNS0M/hDU/r47L+A3\nuKqdNs/SYj4vvy0qCa7a2mTPXnO23Yg4lDLFNrL6tkX0cRVI5xu1qu4Il9Yh\nGOyzxUkPEC7uUSl3hujmKxhxgy2asdRyFABn00jKT/faKjWxoxuEVzOuo9i/\njGzzm8PSNURLbz/9bwNrZx5fPgtsNvxAagkwTm0eQrVUAbcOsS3TlsjzZ8P5\n3mUYoQHeto4Zac53U6JIz5MmtgiDH3tswzHs6XvMTQldJiSf8/0+rF/4lMTD\nPRrlhIOkcgJWAt7dflVHcZyhXKo4mkdLgFy84BPFA9rtKuRjpzgqVN2kPgry\n+t7SlrNmF4BFBdLzzm7idD2skMrrP4q1v863PKloK0e/5fGEyknL31tvvHCA\nKcLrmQSihwNpHRvVSXgAw7a52Gbb2/214Pewxrn9esZ63nmQiaWxO7tyJPHJ\nIh1U0xjeNPlba+ncUsHZEP/7mPBrp2cm0Yj/C7IDXKSWw92LMrIaIGaqK2yl\nWc5WEwV33EhysQNGfe8suzoz5HHPn/imNSg1kXxBKlM1n2PhBHqCWhyk9Rcu\nBBVhcJc7uhm5M8RYQ9z5U5IsUk9UU3cBj2dxb+yuY5B4bAYrABV0Pvapd0eW\nUPuPC6q6Bd0pFZZ1byGZJkTwlV+Lca03FxEQI9iCif03i7PuKIWD619+LRE2\nJ3nr\r\n=WbZ0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkL1LS/IDz2FE98/Eo4K4vispfndRRIHFZcBZ/J8yFgwIgVgxPu0YkqJXXUZtgR1F+E4U92P/rgiI9CeIl8ZoYNgI="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202003240000_1585008039801_0.9966523052630638"},"_hasShrinkwrap":false},"0.4.3-alpha-202003241331":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202003241331","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"63dd07889efa1fe9943cd3a4ed36b3173c9caf4c","readme":"# symbol-uri-scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.org/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.org/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nSymbol URI Scheme generator to serve transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6).\n\n:warning: This library is experimental, use at your own risk.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Transaction to URI\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### URI to Transaction\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## License\n\nLicensed under the [Apache License](LICENSE.md), Version 2.\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202003241331","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-EqIavn9GTM8toKfZblh0D96HZkO0Dr60yYWAjwjSW7/6jRM7nG6FBTQD1aqYriHwAgrfcAEs1BtLwvFa6UvCcA==","shasum":"907533bf262be62ce7c97164bd90dd51171cb0f5","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202003241331.tgz","fileCount":25,"unpackedSize":35218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeguoCRA9TVsSAnZWagAATKwP/AyxupBQ7eOeMLQr/Sys\nhAMwjsgopzEps0xlTKCE/DCMKCVqkoZlTR4503Q1E6fvu6blbv4WwNWL0jj0\n+iLCJbqn6p2rxI/51QbGJYQs0BsXg8Cz0qUlHx/WoFzsKV3OiukaUXSqrOv8\ne+USyq8KncB2abpOnVQqDsGpJuzv/P8HP6ixWjz5wJUZUqmVUKFwu6itVePW\nl7Y9S4D4+nLEXrysYy9cBJY5Ped/RcWAotGNZvxFuQAkXVmzxjREwDJ6cMkC\nkHOIpY4Lb4vt04BgwNu6rSAn4AapW31GN2jeBIYL5IrtYEW26nh2zU1o4m9B\n/QlRJeiegdIi78cHgqbkODltFN6HNZ24R1Jhh0wmUg27mVJIUeNZ7UzVuJGX\ndy2J6k+CGFKRZZ74CWmF4U3lGBqdPmCqOjJaWCXY8y6M+xs/A4ZD3n0GedUs\nt8mljNAWLmN6k3GZJL6e3x5POjR/VugQmigcPVrh0HOoyRGAFJFBSJexIcQk\n2nHjIp0H6GBiJ8dabvqUKlkr9Lkm2idprZzAEEdV8LfaE6yYn07VXHSSmrWJ\nw+hRAu3kEvQPhU+7SVE0qrKnKml9I/FFGweCXEVovlgAR58HUR2rL4/2F/5y\n7X5hln7kSwlC7OlZ8sY1HyXBxspavPwTXP9rHsrT84OuM+y80j2FCFbNRdpz\nC4RP\r\n=v0pd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6Na7H/DKIApn1Lwta1pTLYuO5E26zwcn/IbJDC4FoTwIhAMljB7x/DKP2cPHxSTn2ufJvOyFBBM2VqU2buRN9c5ae"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202003241331_1585056679675_0.8866611058778124"},"_hasShrinkwrap":false},"0.4.3":{"name":"symbol-uri-scheme","version":"0.4.3","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"e76e446c122716593da4386f9638a4b7a62927db","_id":"symbol-uri-scheme@0.4.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ZBgGBK9qEHGvaExRXia4KoYMS5mkCMBefAHWgH1JaKHr+uDixKH2EDHOIPVTsbd7w1c0dY3vwbMSdWLv7IcSZg==","shasum":"34434ffe07a164d3d5d2de834531ada236d5c048","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3.tgz","fileCount":25,"unpackedSize":35199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeegx4CRA9TVsSAnZWagAA3h4P/ik264SD5J3K9aN/wQ4z\n5AOn2HMc3rKVYEZS3yPYxXcMBUtik1lH9QrsWJGF7LkU6QxU5UwGecglhMkL\nxRwS9qPqMrs0HA/4Womv2yYzORZK/b2lfg8MOUZLHYLFQcQZy6L9rr9ut43m\ncGsMCrLD4fF8hbDHfEWAZCZX3rk99/vB1t6pS78xhA3/0VFXTe1YSfHuliUy\nU76r4DQn33XX1pMrDcQTv8IwL+SmJjXAiwox18KbxlbiJ2rXhN32Pn3ht2fn\nU3+Oeu8wOrBTC6ehuPF2l4sRZQagKkrbbZuIlsVQ57BMlIv7YCggA5ZKKARn\nGKqMNRWueBYVBDH19djDnN9FZQ0Eeks0YJh0p9ovhLAKa0DrkYBcaWAxjH5b\ne4TUBDicPZRmhsFd/Dyw6ZdloSlg/3Kszdl7raL7x60Ftct05JJlPc3GAFGt\nFmeZq3K+aqtGAHPcz62pLSWtjCn7Q8qDSY4C6Vb3xdpECJ7WQYDmurr6iOeC\n4U1n2GWmCMQIporCouXFzjtb9M8o7zOoipQJiIfNLm+j56m/KJ+jJTJCTuWv\ncRUF+SbuSJ5FWGMXIkZ45l3IYLeBE9u3RZBTh3ln2ssZvUwrWR/iyPKOUWrq\nYK6oDU41mTrwPVJJPE3HEDChUXxg9pkR7gMVJVzEl7y3kuxe0p/zUIoQ85mt\nYGkx\r\n=BWyW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDQrCLve4P3e/4DxJK4wCqcZAAps2uzROH+pBU86oUowIhAPWLNCkCIcU63wfkbJSoFOQvUvA06bLtLLloBy3f5V1K"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3_1585056887948_0.44154746453855664"},"_hasShrinkwrap":false},"0.4.3-alpha-202003311927":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202003311927","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"2c5d763d03ce5b797f6a4937c429a24aed22caa2","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202003311927","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QbCHyP04vKAIPnCZ1UvGcrIEvOZTlyQZ/VBlF3Zv1aoOuSD7FBV/itYw+YTZaNhn5QfiiDwsrW2Kf8vkFEVzUg==","shasum":"ea4d222c16ef6afd5dac73a55be58cb4df562690","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202003311927.tgz","fileCount":25,"unpackedSize":36020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg5mKCRA9TVsSAnZWagAAzfsQAKLRRABml5EnpGOX9Y/8\nUKqr3sSCDFMivxZipdwhy7IHwSPJ+f35EhP1B+74fJgqQ34c7mJY3m4bsbhn\ne53wZDClSgLHcYBQMl5WOrpvFI0ycOH32GaG0UrPFtVeMURqDWu075cYm0Hi\nxCiZBvzcXUz2/nrM8aFNwAi53RvU+JSy+LdfDuYz/qKkaDpNzOnCnQaYiPKW\nidWyQQnuRiX9KNX4DOgxFHmhEAkA2jbg7+lOWE9vxpVzDMNFp0Felab6ZVZ0\n1X7eVdblUGRt0XoYwb+I1SWZuohFHoyRolEbwMdliLU9qevM56NPC4QEwMk+\nuhhCVQ+finOEKqI4eJha6Vd+jR2hOFBFHg4V2K/rMGoJ18SEBaQocze0gxKD\nfmkdz+OnLG65JNqZ2O0GNaQN3oKEQMjL6BAQs73iHkrkKHvbaihVBsVCtWpd\nWjEGncTCXcSbjC5v+i3V/woIpyr8Bf9fHnxwpdu0AISFRX4l6BX1QXqvZxVk\nL2qP6VYSMj71zytTTHkWrtrvjfopsDZ5rpQ2qcLliGOQcHeTyeH5oxaHv3dn\na7qMce9DlxUV4CqxJQyEkk7Xjg4LxkBaSMoQrD6DOGGG+TMJwQSuQUkb2mLT\ngibO6G2ZeHYhDFsfNukfcLPTTNtC7520NkFyfCsUyTr3cxOaT8z1KXMHaIrm\n+uBI\r\n=IA7K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI/2utMZxpCpidaIyRZ5dsIn3U4Qk6vy9nRXRPM2+iQQIhAKy+c60jL+sO5PmPE/BLxksaUvIkkBgK3H7K/eBd3rV9"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202003311927_1585682826197_0.38478819008427445"},"_hasShrinkwrap":false},"0.4.3-alpha-202004010955":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202004010955","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"d343f62750518ae2dbce1deda397562c340c8b1a","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202004010955","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QW9sebuG/Zft5v3sQaLX9zaBG5R0JraMbnTJ8E7S+SqxiEPUaNT5F/6gbPXY8bw0dNAQ9a1qfwWOzr7DvNNTSA==","shasum":"56f2962bc98a85352546e1b30ef18c108b0569d6","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202004010955.tgz","fileCount":25,"unpackedSize":36020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehGUACRA9TVsSAnZWagAAPtgP/AiGEOqr1PFgw4hwUh7m\nW6eboW9D+ru2D3+YKJrb4Ada5oRQhRAZuWjEsyNXBBZn8NMs3qgxU94E/dGO\n6DBMKVqe+58eqELs7H+gLzZsiSfNbvgTwgMpSvYPBo16rUzZnl+AxbaVGuCI\nLrmjvfNPeFUGSaIpWmL+zYZ00K75aNVvHvAC1anB1Tv020xcxVycEHzc6ou9\n7PoRSWX09kmyPDJXKDUllrRZqIZ2cg5NnfcXdRyVa1k2pREWByu4/9PGtVpr\nwhPSitK0qLBwEqvtAj/Zfc0kYlItARxnAToE+kElDl9rJT63QFi8ekTEyXkx\n/cw8j0ofxBzLlVzaBv4XH6KcIqCkz9d+lCg3zL+gc89WBh8IZ38X67aK90Y7\nvVabcgpwnvCEFSelHLe3+8o3xriC//FA2QIpDO59bYP0q28CFXC6TK7+oZPW\n368gRMeZ2Ch1axaDM2xNm8dAg9BbgPt83ezprDDBZ0vJjg1W/vmDhhVatjYM\n6KXwXIWqEPMYFGIu+nnYTiB31EtgqahKWhAUYngMehAsany4bD1gYqPFiP2M\nSqGFWykBcIts/pRUH0lJuiiweaDOqLBp8YUCZbKiVF6Qt/kHy45HLh4z6piZ\nH+EMWybJupfOucjZBLShqBodRgpO31/K7VaSFLHiCWty2o2M3G3pkR46Bfqq\nEEku\r\n=n99u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDus9cyRMR1H2/UBM6govHqyQcLeBuqWRG82nn+EYsRPAiArvN6Rc4C+8MOSJoBanHbi2RzViN3ZYTTRnoAQFZHFww=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202004010955_1585734911929_0.17337991174773393"},"_hasShrinkwrap":false},"0.4.3-alpha-202004011003":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202004011003","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"bb7a0f10b22ad75ee653b938bb45ffe8573e3242","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202004011003","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-H8QoIm6daEIPj7fKXLNupARPz0T/2lrr5NjkPlNb0h7OThMTrYYIeNl1pex6vjDBHZlTyDVrl4yJVTtHB44Y7g==","shasum":"d7ebb7198045b405b6a7e2e6811f45caed547ca2","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202004011003.tgz","fileCount":25,"unpackedSize":36020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehGcDCRA9TVsSAnZWagAA50MP/2buoWmhzwfbWjGcY6Cq\nmKF7axMtjxXAiWaX1cnuuzeDBvOMGK9Xh4juwJKV9TVLt/N587tbsBgnAt5R\nBNTAeUax2pkU9wY6zHlw43/SvmFJO15XgHDcznsMQImLOyryBrSY9tBPUuK+\nvXBaUO/M2rsdFP2sl4vQGUMKNJVi9YtrlcK5bJhizV62Pr1hedJw0CU1tq6H\nPH5boSOYffxPErafuHZz8eskOStFPfZpNtGMQG+byO5epddjkCe2Wod2CJOl\nIehfyvvRz06K31izN/hgJ+XfJPr/uUou8sE79C1eUwQSYkt3MFCDlbVLuq6s\nNlokVVmT2r2Xl+8X0fJAYLdPgqepI1tXM+A8zW3YudheG53Rm14QN+H2/xg6\n3wQzI6ZNYvDCXVBFvJKOvjjGesQPXkEWG0wRKlVfZnTyehEcZN0PZKUyrOuY\nKRfMqbkalRjaow/3j/+FIyd7bheGfaOkeVE/MMHFb7mlTi1G/Y3J0bLZ3GdN\n+svS+JtL6nto8wlkRtmFevfzPHpltFe/HihWIQvRS266jx+7VmGEyldlzVRL\nnLHGHgbNudfSOQO/Is3zAhhMmvyH2JD4iWzktnUkqbJVWZC6ZDUsIv4ZmMvH\nVB/qXFgVCEAjRy3TCfw+3jiuljn8SnfZHmBXHNvlmhQpK+Ug5I87NGntUkOF\nwULg\r\n=TGme\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpv8xoUx4qboK6DSLEdjai8lkXe9IKTRgNHQBPzt1OAgIgKq07CllFw/D5Rbo86xx556iq9hbTPX//xEIXBG+EI7Q="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202004011003_1585735426787_0.14314750366269102"},"_hasShrinkwrap":false},"0.4.3-alpha-202004171200":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202004171200","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.17.3","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"569b2fdaa62bd53dc47e2253962449b95d127dc9","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202004171200","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-JvYEkEdalH0gFyPAkh77WCjTV7CtxPOvFAUytPCIGVbvF9rgn965aer7YCXLM+B9shgF7oWBAlc0VNSSsQ7wOA==","shasum":"a178e0916727ec7ce82dd75cdc68e3b55f096a7c","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202004171200.tgz","fileCount":25,"unpackedSize":36020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemZp7CRA9TVsSAnZWagAAofYP/184jJPrAB+biVTIjCF6\nrhuUGNEu96f0ZfWNw/ZRemA8Ir+BPKFndh8ulo9qznzEfVmwMUvnfSWCx8y+\noYI/39FhsLRxjsy06arRgApcOclknkupX2kqLnam+wBd1WK0d3+mfQxZz1Ab\nRmKM4R59S6mKJnk0YG1FYm9GNLV+hWzR2Rm/E62mLfUtlrTz+KOvtEa+ilmU\noQ+jS8A0lvR/mjOTKSOha0a0I/sqlD2Syx4HqI5FgyXxMe0oCMLtTUypptHH\nRXWmGi8fKKCtyGAwUxA0Gi2yVhNOQxlRXjcY33G+aWbUQp/o0r4dHVGSXCzU\nBJ8qjNtCJjd8xoNILbVInBE2UXTBXIWF6CRKy1BjGhpEukZsxctfWuPkD2xJ\nifgDqZIr8xG2IT5xOWKo2fh5vQULI0JHJ0tb+LzTaFmShPIHil8rO4tZ1v+K\nFOOcWvWLsRE8HMhRv/DpWeOuqKiVRtyniUnnywAyCBTO0ZwFx53XnVEoiMgC\n8nlNNH3rPA8M9Bt4eal8aNtvntuIe7/ZXz5tTxU7WJPmZ+8o9/xa+oUfmfQv\nSOivQJJOwJFK3QpPu3gOiEV93ybktdQ+DbhmnS/RukOaOnq10okEycsH5WHI\nxMM/C3pd2qCFGR38r6dLZWt8Y9yDGPdp1YH93+gmlZZIC5uOUpXE5cU72Eg2\nAA3M\r\n=+BkX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl+UaDLuh0RR9B2AqMQY097VTdQ0jyTa8w6t6EiQKUqAIgF6tHjsV00cVaeBVcqPQKa23c1X7HAWWdFOVokW9uoQM="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202004171200_1587124858987_0.8447798169387115"},"_hasShrinkwrap":false},"0.4.3-alpha-202004210919":{"name":"symbol-uri-scheme","version":"0.4.3-alpha-202004210919","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.18.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"f6d895658bb2b31dad00cb5d7e8da6f8ac918154","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.3-alpha-202004210919","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-OqUtCh5KfifUR47OHy+Fd3rWzCOZsJAb78pW3hIVSB/ZPbOtjGRHnvwhbteKZx/JHcQ8p1Cubz/uO5+5q8WyzQ==","shasum":"deedb06d80e2ba8bb0d06cfc25b287c9e64ca58f","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.3-alpha-202004210919.tgz","fileCount":25,"unpackedSize":36020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenrqfCRA9TVsSAnZWagAAwRUP/3sqgUjKpXKqsb+9SEFH\nWex8mcVFZxLGDNwWDMvW5OiWnqITz5JPHGGUdVer6n1wlRfKeWRQjqVBxrzQ\nQt3Vx4AzJlDIPmgscd2rBs+Dg6zO94g36Wzv5Gw8FDhL+t6oIUbPgQtfxpcd\nZuAssq0MVjEJ5hWlVh+WqlE93z/7xKdg2fTMF9rvxRjwft5yYnmkyTlpqBrm\n0Ir30iDuUB/HDnNu2588U69mF50Aip09M+E6WOG+x9wRhGdv9DT0z2be/3RV\n9+Gl+VptyatEhkZARljFbWRtFMwR+4eu9FrEZgY+RmOtqGzINtWBs6ShLGfC\nTSu+iTUxshT+omVj9IH7JCrsUAUeUWECaHpNa1mJtIhfnDqcSmlPbGLbnjLh\ntINMRjZ2Z/T/ARdvZCpLvrAaXmskBKfeOfYL6lSNc3MV0iofM+Hg4s0LxdiU\n6N5olm+6O3BcPE1nk5ULP1Xr31n0G8jf47e/5Jeuf47OJDZ9OKI57JpfinEp\ntr7APpzLB/2h6XKr0/Dnjp5jSbzqacroMP0RN1ZCVdbp4JX+kZakJH9NkKkG\nkrrMUUAfv2dgyo83csIHAhUSACWjpFqePnuwK1rSQ2E7aXWAwSS016aeVyEh\nP42bvTI3UYIt9gXD1ZEbRVzvhHav88a/xFynnqo7Z0GUihKdfuT8zsLco2GT\nCTBv\r\n=mAh+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHM1kWL4MsNNG+5ovaddPch+x/QF0ATxmHBk31RYXUScAiA0qpULGBgedpHN4vEJznPRdcqk6W0yylFQNjcLPzSWCg=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.3-alpha-202004210919_1587460766775_0.5368817906902572"},"_hasShrinkwrap":false},"0.4.4":{"name":"symbol-uri-scheme","version":"0.4.4","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.18.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"b23b603b4c072a389a54ab24a187fecf8e11f62b","_id":"symbol-uri-scheme@0.4.4","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-dgm1Jz1Xz4vM+P1VazZTab8uLm1sGmpAlliQXjUeQNlh3TxyFnkYSh3O5/GeYi81rbA/12sa+9yl54SSwMXTig==","shasum":"49bb558313a185a830c73c4419af9ad7a58d0186","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.4.tgz","fileCount":25,"unpackedSize":36127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenr/sCRA9TVsSAnZWagAAazMP/iCc5t1udrDZf9Eq4Kgh\nAPd+0ZPklmyIw0/md2NXPvmp7ZQ4KBha8cf/HKr3EjFknGODf/6refoWpKTg\n9ryDaetmVuNEC6qkGuGqot/ZODI0Nye9FrcT2MBRreSJXlmYEJpf8FN7lmtS\nf4OjRWuc7uRF4dswVE7xayWx0xWFO2kZEthi5z1bL3Udh8mPyLzDsfi4cpM3\nuLj3NfmuDfLSWYP+Jumzd746yIBkvYA99XYcSDxIMtSqtIihJMbH+0n5iDpb\nCwLwErfmMXIyEsURZRuXfKlN35T1G6JyAuc6QNyT0iI3Q+hVowNezA88cImq\nrKumfIQ2AUtVPFyvQ5xd1ijEHd/f3eLml6hfN0SunLUXG7vNed1h6PHmtSdA\nG2qtBDksOhEf9LmdQsWCYx/3Uen5daB7f1jBZpgkwiUlhaChhjxAQrheDfGb\n4tV4LmudI6ajj37T2FYJjYdJ4MUK5Gf9YDcDiuyQDZ4nhuTjTrGJ599F8V7q\nOMKh0GTlKN4DUN0d0CXBulu3DrGH53gYJeVNmbCu8wi6zE57mnceEGXRYirO\n9ITmQU7eaFVFxF75SFwZ6R0LGwe/khbwccedgEAONCRNm+fKo0+fONA+qv+K\nuoUb00rYlDGCHZPVWr9AGrtdsnpIxyOlfsVEfBolp7JhJ1jC5kE8nx2R5ozf\n17bN\r\n=MUFg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVpC4VaEaWZniHZ9I1NvbBW2h+A65K9pBG2E4zOsbsvwIgBnPVkciKxGOC5RN1hR7QEYCxc7d1LwBIL0jCWrKGrfk="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.4_1587462123895_0.25620767711379"},"_hasShrinkwrap":false},"0.4.4-alpha-202005251422":{"name":"symbol-uri-scheme","version":"0.4.4-alpha-202005251422","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.19.1","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"87146ff473d1e87c14852009f82d6b6ed1cb6faf","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.4-alpha-202005251422","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xAp4pQCQbac6uldkf95BfgUfrjOCRBZ0r7YZq36S9KzTL6/Yi8qD+COxeqrTjfAuAnvMnI+EMCGm0H5SxBr/qQ==","shasum":"d67372e53a92c95a6470f8d1d52d4ede522f825b","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.4-alpha-202005251422.tgz","fileCount":25,"unpackedSize":37426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey9S/CRA9TVsSAnZWagAAlr0P/0pwXJkco3586PI/tQ0+\nueltzjs/4oEIszqAuIiJkgtgNjYnC3mr7v7et5wBxADB8rUlJ7rux7nBmZYc\nNxFuGUYyFnKCD+CjnDIYUDEw0xZ0dh6YsweZQN14RNqZ/JRXWOk/qEGppo8Q\nOPoFjva9dbtARmQfAASYbHqJPAztOL6bLuv5oTQcuAzSRsYBHKWKEijJQBnp\nke0glsRaVzwBtCFGUo4WXEizpTAEe61GBUh7yRG1XItKc92xzqgU3KqaoWyF\nULgIOvKysVp1YS4Kmz9YH03oqZkB8dXQUg3KAQ1qItYg5H+qM5c0N4a2UpGj\naVKPYVOe5MTxHblunfriH7pPRST9KB0rjEZ6nvrxsjr5l0Hxgt8LySAyOs/2\n9sMSgKHd6RvQURSM7XmyToXtnxeD8qZ/gqTwSQ1QTiPOttbsi0SBbvwwud/N\nEAYwHyv+oHsF5Dr6rGAJdaAjCO6+449vu0pULpZ/MPAH6uJd6lKKBHfM9gwh\nHqMQ55QyW/PQnRFp0Et1HgAAO0ozWZxMd3JbC6dbYea+Z59UDD4/aX/iklT7\nsiqajSUGQavgo6B5i9YQmkHgqBGNW1Y1FEBbRuwb/U6xqqK+ZHAyKj4DSMiJ\naHktAEL7Wjrtco6wEtVbSAtbcUkdY9ggOKc7lqFVm2C9VL0/uj7PYPpn8fHK\nynbC\r\n=WMFG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNtfiRhvKRc4mM2UgFVhpr1HA6LM5Z2HBvPgvhnZEgGAiA1M/vWSvTAVaG3PFkui38j0kCv/DXMLL0nuoauG9WIIQ=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.4-alpha-202005251422_1590416575243_0.21367045421925424"},"_hasShrinkwrap":false},"0.4.4-alpha-202005251427":{"name":"symbol-uri-scheme","version":"0.4.4-alpha-202005251427","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.19.1","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"a9913ae1ce388c955e15b28a3eb3969765ce51c6","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.4-alpha-202005251427","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-717eavS4yMIN8KbpBsEqb3TFtf6Ggag2KokQGMy484HxnlSihbsT3O6NdtqAq8h9ay1PTK3k0y1PIEdp8uDv9g==","shasum":"f2d7ee0f3859a7fd0035a175d635baea51149229","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.4-alpha-202005251427.tgz","fileCount":25,"unpackedSize":37412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey9XoCRA9TVsSAnZWagAA8bgP/A6fj1AesEkpyG4puqLS\nw7UIqcEJPHbD2mQvBoG0LU6sfH+OD7s25GyCpo+LDUtlLfqgJREVygawCvRu\noy+Lzzpk/3hROAeqq/StFYiFR9hrlO5eXSnc2sCk595EUWGnxx3UUp29vM3Y\nTKNEQ1dfX8EvGRk0nrb+IR6av6w1dYipbVrZcdAYXE1NQuPqpaqbClW2/CQk\n4AIRyBcClLF8kI4e/hw0nR4kxNxxvF2CVWsRympUTeJhO8C67b5kynQhMnlg\nrSXWZvsjYbfWEdYUqLGUGQe7a/wk2TsEp+Py0fB9r7GPMPZncAENotKFuoDV\nqqYdXcYsmDgKgMKtqMo9kEDeWNTxi1Op+9IOhD2i8nzfBHdi6dymM0uP7Ccm\nRGcG6nJcqO0tiuFrCr6CAAOMKUtQ8jmVezjQlxZubHbd4kzkoVhzmttY8dXl\nOpEv0moVFotEOXHrd0CsB5gxV4du4EXm/eS4TmhpWlqrMv0BvZ6Qix2jRHSa\n+1S/ywBVupFmz/TSV7R7XTnCrYThM7ZBnSMUkvz+zpeTHUcaXQJfRIKql2Dw\nAPXS/AemsxAFTDvnsCdW2ch6cPaJyuuNkmDFIqZeD+E5b/1FLYbUQTPPNe/x\nUCBL1YPB6sMhb5EImUNAqbUNItC69bGtF/rcPd4wkM2zoOWNGrVPv6vE1UVj\n1qIX\r\n=iHB4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9YwNBUpKRSNl3e8KglhEOfzGpHWxj0OKYcP86E2LxTQIhAPn2vzfQTYKIbrkd2ys9UDPFDquI6oWDuZFwkNsAm8Cp"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.4-alpha-202005251427_1590416871956_0.7653822101903005"},"_hasShrinkwrap":false},"0.4.5-alpha-202005251438":{"name":"symbol-uri-scheme","version":"0.4.5-alpha-202005251438","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.19.1","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"14b1c6840582103f81866fd340b57d4ada260050","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction} from 'symbol-sdk';\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport {TransactionURI} from \"../src/uris/TransactionURI\";\n\nconst serializedTransaction = 'B500000000000000406D262D78CE449BC743A2F27FFE05A677A922C6FBA0B6FD' +\n    'F7EE115E01F76A60D2B027C4F8F2826F727ADEC0E6406C2ECC7C67C49FED2DAD' +\n    '973F539046EE8A02CC499067D981CB2EA28D43537D8B3D91E1E0A1F7DA12DB13' +\n    '5C1B9867DB80553B000000000198544140420F000000000015D6FE9001000000' +\n    '99659BB8A2019FE9C60000000000000000000000000000000001050000000000' +\n    '90D69CD255E556C640420F00000000000074657374';\n\nconst URI = 'web+symbol://transaction?data='+ serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.5-alpha-202005251438","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ohmdbLDIZMMyV438NOgcGRhvjj+GvU4fPycsFW/iYe4DN4/mfw8eKbf4ugHP7vTUxgVPFFSi0GBM2cB+lvlOkw==","shasum":"df54638b960cbee6ce4549c758ae55754003e6c7","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.5-alpha-202005251438.tgz","fileCount":25,"unpackedSize":37412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey9hWCRA9TVsSAnZWagAAPM8P/RnwHf3GrAoPVQjlAwvB\nip0wMBB7/wvywFrFbbB6gYCH7yUBLDB5nU30g7A7rhmn3P0+E1lOxGmJgKQM\nvUMYb9L+KSJLI1Utilqm2lxQT8jaM3/YiejFPqSd+1L2eMRM4MMpT1uv0uW7\nfkHknQ0fZQYD6AD2fORkQaBYPell1XVa8mXfqPOP1quccg/Pq7hnOlX5JVOU\nlChnfozrvpuRHol2EJSwM2w8cuvXz/faYnb3cmuap7mHkQwdn3+wKv5wg3EJ\n4wtpodvDGnpc403U8iBrcEn22s6w52TuYC5DS3h4OvxJvq98eTwY4ZKCfB+C\nfE22KT59HO6WF4xzYpVEVbCERJzVEKraxDiKbtbDjKPZAajmSCW9xLnd9o00\nx3RSm72VGENxamNleM9lo9G+hdvbAuy5y5s/AMqjFmo/Uv3rO+alAR/MOYl2\nCCtRJ5TU3CATCxeRYYfw6OKcsrOgwMuTC0XUQwq1xAXvb0x77di4gqvMqbbL\nxWFo8W4IvDOwrWSP6THjJegt3l8fvOCywTOp3CJNFXt7YhUswuNPETahx/34\nRFJfyma4q7RBr5iMVcCtvXfBFehyGQwhXYAVRjn/lpMy7Odee1PaGtH/8Wkz\nSCJdOSDpdZgxFtdYlj6IO2wOO+kFSK7ZEFsQezUaPk5gFQjVp55i9zlfLeLc\nkG6P\r\n=6MVT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFBgbsFsQL79t7t8U6HtevVV/BxOL+Y1BXlpRCHPCbKgIge1ocg8tUJmoOiFgBZ6sGPUZstRlsMfnIyThcQYIRwG0="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.5-alpha-202005251438_1590417493804_0.13288988359012954"},"_hasShrinkwrap":false},"0.4.5":{"name":"symbol-uri-scheme","version":"0.4.5","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.19.1","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"1f98726dfaff6c49fbd22e4e7aacd2f75eec5cd7","_id":"symbol-uri-scheme@0.4.5","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-B0hzUAfyt7B+9vu8llZqJfptfoOSIW3yNL8v3iNiJ7EHs1asLGgj+bHYMZ0K/DHjlZp1yEM2weXI/8Et5xyxgg==","shasum":"c7b0ab63cea9ae6fe82d6c1946ceb7e0e56d4a5d","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.5.tgz","fileCount":25,"unpackedSize":37393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey9h9CRA9TVsSAnZWagAA3vkQAJc4pQgV6ts5eqY+TRNR\nvdRL1NB0C5RQyibDrJDq8MrWosKHrAmrXHyyTq2ueKWNT4dlQkZIu0J3WOH7\nYE1hVCLrPASrNbpNYg+w4mK91aTPClzQ6O8UXiZFhrR0cOI778rLGhyHSuz2\nzPYeEBdPC+0SJojl9IhgUKDgRFVSjbBRNxQEj039NYDTleJ9zubITaV9gvAw\n6l1+NbEWBwLqctz3ZngSXu0cUWK1iGIkBfdrtTrly8b8u1xj61LrDtwyHf5Q\nKHa02o6iLbcdoVGrD0WduwYrpXg7cGk1eQUkv140fFCAewpQtlsQFU3TaMiF\nGMRdUxj66haEWEWblqobyPYYpm9fK35lTPvGKCptYQWUDMeCygMTHoj7w3sO\nsnoKRXwwIEt6gMigqz4L9TBpYvtvyVeFMO1gQDIOzn/LgTU/L8lojkvWFT27\nbGxq1dbg1CR+y6e98DrULfbPQ3Ls/rO+cqcm3GV3f+K5k9gcKs9BuTEVnA+W\ngv3xJejb0evwaZRkstFnmO+LwoNMuGhu4N1frtdSxgBgB9UTICFSSxe5exgY\nqPmXpQhIk89ijGAniwyJISehfxZEI3G0o8KZ9xUf0xPepAUmJgvfJYIoF3U/\nJdASDld+MJkH71eRMLrBewzweY5JrZjGH0LN43cucx+y7QTd/mMOLf7ttXLn\nL+VT\r\n=N+1Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMSND/MvDk+G58mHi+suFYfP5+SNZyBZZsYXWaA8N5nAiBOzRlKEXasaF9Wqgfzjc3obBCKYnqocXcaNu5xn94AVg=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.5_1590417532723_0.23261011109926732"},"_hasShrinkwrap":false},"0.4.6-alpha-202006221658":{"name":"symbol-uri-scheme","version":"0.4.6-alpha-202006221658","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.2","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"df4727ee26b6eb4dfc97950421a13d9b8452ae62","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.6-alpha-202006221658","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-TtanCKPY5MCsjeEQniLuB8BLOvVZGiik9rds/vI3+30kT7CXMkuWkOmw9o+FW0jurSCQmr8yIots127/x4o/1g==","shasum":"c5b763a059b30cda3c621dbc447cc6825f599729","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.6-alpha-202006221658.tgz","fileCount":25,"unpackedSize":38141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8OMhCRA9TVsSAnZWagAAmu8P/R8dRvXbiMuRqVfnOJ7s\n3nCN+8rGNNugTav1zzZzN0fUy/bKi8hGXf8ada4afAqRFD4mYsZ2WaqAgRa9\nV3PTlFj2wfv6h8obqWxjkXMu7XYZCKwryI1Cx7YNT2Gk1UI34Htixv/6EzqS\nr58L0ZmDZY8cXRcBkdS1G+dz45jTa2awp8jXPk3ncj5dJG7oQYHb+JejUleG\nVu2c3O1GMl2tMHNHp1HgMZyV4UzrlrPXcyk7GDAZwa1UNSmgaQ307q8ucgnd\nIOY1AZDpgv5sCR9kDPrcWlLXBNhejXTOY6HxiGsJGoC7WaTTheFXwraHv2Pu\nKo/PNhj7kVbNolL5yxqzHH+A8Jp0rw6U+MCybb6zGhcTJCEOmVopDXtp7sUn\ns1fIE67Xs657pvDFIwbgeu8+hQA1tSzFUqjpfGkAr9m2HpogqxKo/Qe24gVK\n5LexsOhemLf6V1tQ3TlBK/g0NagHFW2MKrbyVxvGXRMwEhG7y/7N0RsFGsCq\nQmLVvFJ6IiNDvxsEM/YXPQL9KKVyYluWw01G1fwg9Jo6W3EWQRh1+8WPVSue\nyzMD3HfGgBKTMQLAl5aQYGHGyS7teqPtkDSxYrjHej18v7FyMMZT33yi6zl2\nDN7063czwp56hRF4RDTyhuz0+dhI/Edn3Uef4GFD56rEJ0BghZn+axr7Vz9m\nfTYV\r\n=GAYo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPc+nBOrFXN3yI7Vw0coc8/bifUk2jiBbJr68IbIS+7gIgBXl6zwpvsDHcTGd4N9hxN4IeOlNllGRebJHOONSo5ms="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.6-alpha-202006221658_1592845088398_0.8888182279636607"},"_hasShrinkwrap":false},"0.4.6":{"name":"symbol-uri-scheme","version":"0.4.6","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.2","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"7487d6c7c7e8f7989e09108ae0a7ed732191625d","_id":"symbol-uri-scheme@0.4.6","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-wlAWWwAL0ynz5Ep+81JyPpqZTGBvIq8xyYlOSPM1tqGli0ezXTNIxRkaj5EOgyAAuLqFPOqZ/PVHwABoRkUivw==","shasum":"1bed2af76b5612154b9a0709665d89830d3a9548","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.6.tgz","fileCount":25,"unpackedSize":38122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8OQLCRA9TVsSAnZWagAA3SwQAIhd00gfpoFF1XMEgTZn\nekeYJrZAZLtKz85u2glsnFs2oJOEkK6/ElozLxnROGeR2dY6BFbz3ozMsbVA\nOJg/cgEbW+EXVyKfM1hLbUgSidhTBkiI7xj7XZU7FwX+z/kpX/ZvUBt/hHdn\nzvp8cSXVhIA8RElbjFtjsAUmEdrQRRUUkya6Krr0lU0R3hgaRY3oeEzYix6C\not8jDK757P6vHUvTkxniv51BGee7yzTzbhx5u2jldQrHFKvZr3qX60YKsREC\nCIwK1uH1qCK+4JNOe4Sn2mar+VptzcdZVWfOo7rnyv+RzhM8qKB+SgZXGoaD\nZ0cPeV2aVT5WqIAneMeseKxbCXOJeygUYarnaTxSHycqJ5SMT+SIUEjOwW7T\nL8kVJIqgZdk3kEZ2Qh9pRxBi3zMuMLvwGryhns4Kgdegufi0OTUIrBEUt26a\nYTEgSmZiKDQUq1QtcIgOLUnMPFtYM6eR92jM+QJXamHMf21EYS2LGw971Hlm\ncpX7/88gPdB5nfs6wZIF7pmqYicuBEY+C99WN5HNd0F+IvfPeBqPmk3gqLup\nj3AXy/lhMtzDZTs4VjdAYEDsjU3CxlkGxEaau5vRdSNHTY9IfnJBcRdS+LaH\nFjNCW153+9aAex3cL21UciXqYeMctk2Dl3M8hQbp8e/3sXZp/ZisJZnH6vHC\nAB7J\r\n=c0T6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhqhGWC4LKs0v/sMX6tu2Z2CfVlLsR2owUG1Q43de9xwIhAJY+2ZqpOOlhmFF9A2828bc5xX/vsd2OX/tZ4Hu4cwHt"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.6_1592845322595_0.3428910484355987"},"_hasShrinkwrap":false},"0.4.7-alpha-202006221703":{"name":"symbol-uri-scheme","version":"0.4.7-alpha-202006221703","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.2","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"f4c866ae4a75d2eb30d73e5515791e10fc28939e","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.7-alpha-202006221703","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-yw2anVhpNlQPpQL6/f2gJZmj/geq9NLjpLl5mQHptcDPQj2dGK6GDcUI9cHgp7aEblRD9dmpMr0V3IjNQ1Z0NQ==","shasum":"b1b6f37dbc0d810639ac99c611981c97f53ef97a","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.7-alpha-202006221703.tgz","fileCount":25,"unpackedSize":38141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8OR9CRA9TVsSAnZWagAA5TIP/1B8tYoXa/ZbWhyZOUSg\nGAVz7Esgb8x3Tc4T5v4UrLEWM5WdvKY2sNCmtDiDDU5+O6+cjdRncVYrTM1w\nquVxrZ5zNcLCWY0zg5KOfOGwX6tIvDb+SExK+YJg7vT7JjkbeR/G+QO5fzt7\ncpx36lLuTSFfPgbZV4VovvpBEKPplJY5R2hb6BO/Myf0saIPA3VmD8IIgJb+\nekq2ncDpqUuK6sj1lo1UIKC0mk059ruHLUcOkxkVFLdXBmAFFh25Ks0v2D7R\nQPjpoUHiZ/NxBDXZQSQkSGD//ANJZ98SZWdSMUamMdRXcvKqDFiRLjD8lUYe\nBtbGk0iGY9YjuXPIFtaRgy1JdCLwHTj14fStadvmdr+B8wB/RnMX4V6wcJRh\nUT+1bTSYXUAO3EjXtOCv0Wp6nxocUnNSWxuwobIfDgfdHujN8tIcTTGBzcxr\nNm9JfLaxmpV3baUXs5ER7pAva+BJUVR8f9JXNITAV6Hu/v3QGNOKywFSnMRj\nEJXfUmxNs7z91lQZG66PbcUGr70wWOs01zai29MQkBiMQTFXSOjLJHZjxsQ5\niAxvECFCGwdeBS2Bgq0iO5uDsdqBuyxnI8znK3QJ8KyeQOAq18Sl8DOe0owq\nvy180KELBa2E+Y0bEj3H4PgyjJ37LGbr1jCKf2+2SvPBXevoi0CYf8XwTm/F\nlnSv\r\n=J3oL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC15FpD9QAg9LertDWpBv/bTa8GbqHgT26bXWyQlCTw8QIhAK/BrD41LiLHnbURBc14BKzCGTsIT/PflmhW1ZwYwmhO"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.7-alpha-202006221703_1592845436547_0.12903003735662932"},"_hasShrinkwrap":false},"0.4.7-alpha-202007131535":{"name":"symbol-uri-scheme","version":"0.4.7-alpha-202007131535","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"d57e74a25a093e696876e2f8f27a1f4418e0efcb","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.7-alpha-202007131535","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-E9ACzRsGrrSyf/GklGsj8n2+mUgnbKoNmmeZY+9NL2ZzSMwmkOtVYPFdrLSipTwtTqTiboqsYMzyb3bk783L8g==","shasum":"e9329d227d48a45bd5c7c7781b8a69dec959c1a9","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.7-alpha-202007131535.tgz","fileCount":25,"unpackedSize":38240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDH8sCRA9TVsSAnZWagAAxy0QAJjPYtiWgKj998yBd6fx\nlqDJo1gnxa5Xexd/eI3aB2UCCQLMqEVpdk+NHL6yDnB4tc7cRXjE4RSF3wc+\n+P3jCxclY9MChq2ba0DRyp5MgYscMZLUxdZg/wg5rgAggOsE/WVG1Ml/dbvu\nNsqq+HQnEXsg7T8ro7p1737nv4I4xr1vQVffkiqmhN4djYlsX6VyDIUcSWGC\nRwANxPDtq0JtIezaUg1fh4a/kbBv7RudKv4bFvo6znIb9mKzE1AvWUuQl3Zu\nZ3JQFpnYqVMg+gmjmtZyf6RL8uWCjyH3kxaKpvMP0cqmAzUPdIC+E+oJzmcV\nxLqY9tEQbm/3+NbQtT8T0z/L5Z8SwM6dpYK824l0pgy3HVIG3jOaHs4Ibig0\nhHpUnOtYneNKkMWS+p5opW/nDFT6gz2BYNhLXn0yVROup8NpowQKeTohDiOG\nUxdpchOEoorI/985ssBEFN0oobByohEnm8UcCucjbzOw255//EA+p7/xfgPa\njcz2x5MBttca6zsi4/VIrRT6NsACXjjAys0/WrASFIjrEbUGxPwsCl7ocgjR\ncDxLe20FTe3RcDh/EElOEJaJu/i9sF3vVujuMtmJxLzmbpo/LqLtziTS0cdE\n5uMQv+eAz0ylVpQWOS0IzRfBnzE27N4mEqkaF3BDxOKb2gIJ3RQFR23RZez4\n7Lcf\r\n=+jvG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8DIyuDaplJLp56cb6JeRrbJyD9tVPSeRrdt7yVI1BXAiEAlOnOwZCUC3+ewBCgDIaHv+HFhJxMILsSHVxN1t30EMQ="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.7-alpha-202007131535_1594654507681_0.20005893716497458"},"_hasShrinkwrap":false},"0.4.7-alpha-202007131536":{"name":"symbol-uri-scheme","version":"0.4.7-alpha-202007131536","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"856da89e257b6eb0a76aa7c5c8bb8f3812de611f","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.7-alpha-202007131536","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-TQEO/IsXuwJ3fYKlCWJyIGve4cnC69aNya2yKESOjMMCiM8cYkElxsJGH56akbaLBhbs5z0gVBT/cotGh6nxBg==","shasum":"2bea608f29ecc7d9d330f7fa9496068002b7d9d7","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.7-alpha-202007131536.tgz","fileCount":25,"unpackedSize":38240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDH+XCRA9TVsSAnZWagAANdwP/3kHrJR5UrGo0LFnfZ03\n8Otiq0LitMsClzc2RTezUploDng7GqFmeMPkOdhWgOdBB2Y9+fR1z3P5mCJc\nAEspsvQYz6S9EMTlodDMNuvWa3cmaH/WfbAeOSsrXWgOsNp6a1RgiKk4sZpA\nOUpy40v25rxCWWyC8NDQ+mLoK0Y4IvNHrIACtBWOv84FsW/0LRL6QkHHxF9g\n4wg+iSjUzExgpr+gaO4Y74HbGpjRUEbwPu+4pf0uMLy9Q0uItdyjvSyOQ+05\n0I1OBG18Gu2QO73Mso4bqHasmjbzXp+DPgoIR3wS30ZjXt10IIbs38rLuTJ7\nfX6ix8TjR0oPgrrgrkkFVf04J5Xwg3HAKlCtuq7q/996gjivnSzP4XnApeWA\nGgxCGt1OB4Ix7Ufh7X9atrolPr0TwB5k+l2Rh7RqqXQ7fAGW7hDErd6jN3lw\nI5+CGquFLQRYO+e91ji2+E4KU+R3DZvE7/YHCNZxM6/jb/+j2etIdx1oSAeL\n5QGK5uL9at91rsCNYg9hFu04An09VnDuvj63UW/Y0h8PkejzNUGquQ47uVpt\nyMx5XVLHPgFbmc0G4HBZPjyty2YqcE2Bmgcdw73LdtecBlpVfBn1wZ6/Oliy\nU6ZjxxFQxqMN+yFqEl627Xy1lpY1rw96VclUJd1vhFsX0zIL6QInLdk1RplP\nTAqa\r\n=qFCp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7GKV2RMVIOa3gJbhqO6vNVriedDgPLZK6ENO1PKQXoAiB67UyOvgxh6LKT6HnIkzEmozDhypcCRZVS2zOOuT5G8g=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.7-alpha-202007131536_1594654615358_0.2545300380060258"},"_hasShrinkwrap":false},"0.4.7-alpha-202007131537":{"name":"symbol-uri-scheme","version":"0.4.7-alpha-202007131537","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"4f2fc1447f7ecb901d142c2df2efefa452728a55","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.7-alpha-202007131537","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-EU9CZeF/i9WBqT5pR/dZ0QbAatq0ZRJAb6bxH7GwFr9pqzEfEhWELl/gkCtN9Vuv5c/PO5ITon4Ir6Cfh0ZNqA==","shasum":"f4da4991fd221e62d082d137781df1e23dc3b8e3","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.7-alpha-202007131537.tgz","fileCount":25,"unpackedSize":38333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDH+3CRA9TVsSAnZWagAAXwAP/3CCd+eGp012U4yXCpfz\nkYxc6SFvzT5rO7bsZj32eu2KIcGkgPtYUUEDgglmRYrerIxMikIaaB577oTN\nuTvzLiHwMKzSlcCxYsCqgrTLdM5s3WKmtH5j4krrAjuo9z81NS8BjNIcDrH3\n6bdCBxTJT020LVVVNN+6HYnU3TODITyA6XSuBxEokQXH9avzvENQR7clbobC\nveVl2pNDLn0sYCKBiCsnbTsS/asAFnUu5kyH6MORKODM8z7J42sam1CeBfKJ\ncyRu0FeCvDIK9hCu73yTpO6kW+X9503UTPMl7Js4Vy2/c/wAjGGp54RcmGaj\nf6LrsoLVE50P5gc2gyvPeYcYIfce7+cnv1kxe8+zYWM3a7161D7O8qPIYzjI\ny/kJNpu3lZADJLFHZfm8CgQSzr0qEk6BaHF1FzBzK4q1doiO4CNz734kIuU1\n8YWkMVQO5mAWqCiXTFTgCsowzPOC6mgYXZbO56S6ikN0XUiGoFWSExqfjBKr\nz5hPtEQFbBflZwHVpJOXz/UEIz2N2NokFVxcbJ47IycNAOsoDDqtId64JnS0\n+7Lkt4XoNT6wCgsFOCzwjy+YapTtzC4T4NUl9nskW/HlxHxB/zDoZWfGxnyo\nPC6awUO10bve4ZVuhkUFeWnmqSwLfgr+HBuX9NNMTtQCMjDDHLVKPXBbLtB1\nDtPD\r\n=8OGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClgUNL5nrxs8Qhb64VZhWNDA4ysmpYFsi3WmxrZmnVpAiBIVadYlQ86UpKf3Poct3pi1V/zD++Vz0y3MICUuKLSQw=="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.7-alpha-202007131537_1594654646934_0.10625514086753496"},"_hasShrinkwrap":false},"0.4.7":{"name":"symbol-uri-scheme","version":"0.4.7","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"c3f8b73b79efe30e8db793cf5a96be019c6a121d","_id":"symbol-uri-scheme@0.4.7","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-I27717eExOSG6D4yBn7mPbVt7kDpRF8zz70OCfNHd9de2IXn3aWxf+YeunQPrTJrdBhLsJXo1u8DqPR73QAeQA==","shasum":"b7aeb11865c81cf91574b8aef71cf4117a5bde57","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.7.tgz","fileCount":25,"unpackedSize":38314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDIAuCRA9TVsSAnZWagAAWksQAIkYLxjdKxqOueoXK0DR\ncyqBQ3q32DOmLMWUg7RN72QydeZ/vvjjHmGt1RsTGwtTKJAOpQeO3FkHAUqG\nwPG6BHYgC8QKJiInKu1j9Hb/rt0l1GJXOUZtZIFEISVMEQD0MQmUkXAK1sYn\ni+X2yHlucOQCvwWdQmq1okPDcOQhd1x9z3RwqtgnEuF4//fgWc5m1T6Ncm4h\nzYEgpJi9rbVcjkAsslh7yq+KAwHZoDE8MstDd8jGaVanq50nWUdR3af0y/u4\nGzhCDSTuVH/sRgI1ExGSfTPVlqmjghA8Ag6/5K0avxXqR2fALiCmtk5f26Ah\nsLm/V6XBBcDFQZZdG6+jo1KrnS4y4nRSpNLiYS0doc0sg5AE05TOzhzeUURq\nAxR2n4yoUbvu/sK44HbQ/UMKBevSWy06d45bkpr81as/UGSQqIF0NX4I7Arf\nd0edVEm6K3pNri6JKftz8yVGPfiqD4egcBtMdpfylS0kB2hJ6L21LPwGZBV1\neSlznpBMSaMheoUTQNhbGH6PTJF5XQgRQpf2CFq3vI2wHtacxxNnBlIuZolU\nCeG9vLdxJR5yPqogt85VUxznKi/qF2lcEBgDErSRl937DiMUp0rDaj5ZVGW6\nQSIH7WovlUOSG7tsu5iPxeLsGiCmCUiEXaIIBR9GYRAO2EQLJ7EuZWo8+XnT\nfGoT\r\n=o9N/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQGY1rEopywn4NSFW6CHhanFjAnaJmJilPL0PtEs3zgQIhAJFRvVKcOy8K7VIrb/HpWFiC80Bbr03KPP3/bVLsh38k"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.7_1594654766210_0.15240768425961404"},"_hasShrinkwrap":false},"0.4.8-alpha-202007131541":{"name":"symbol-uri-scheme","version":"0.4.8-alpha-202007131541","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"6e324adf095bd40ca0a28683c7f3008676f03268","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemfoundation/symbol-uri-scheme.svg?branch=master)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemfoundation/symbol-uri-scheme/badge.svg?branch=master)](https://coveralls.io/github/nemfoundation/symbol-uri-scheme?branch=master)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nThis project is developed and maintained by NEM Foundation.\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemfoundation/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemfoundation/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.8-alpha-202007131541","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-9diWaYBmRQguVoliC3U7ZQXIMwECNuB4J1GSkCdvN6uKhG4d3yrB0BO9Phc9xFIYMI0ZMXxFPiGyoGKNYy5i8Q==","shasum":"8bcffe217cca4a89db048aa60757508011f15978","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.8-alpha-202007131541.tgz","fileCount":25,"unpackedSize":38333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDIChCRA9TVsSAnZWagAAIeQP/0QCb50DTgNgmDiJz5h+\nOKOhLFTAaqAl36vlVa5DIr3iRqtBRN5eyuYoaOA9Y7kKIG4gKlC0HgSmcAo7\nOVZdkscVUq9E+AL6zlm4CfEqmKjKQc3rvE38UrAq595Jc2JaZ4Uk7aFPQCYQ\neV7W5HipySTAT6M0H6TOkA0zWar1yJfQWl2FfT8jvDPx8CKVhr19Y/r/2yuB\nmgf/6ncjoyft/DV/KLcrPivS00uSMcMtPqkrFaloxnM4ndzNZQiHlu0rAfXb\nmjYaJcpMIlvMN4NJcR4y20cXU5cvB6ksz9lpdD2UTbn+esqWjqDu2qPigFz+\n60G+RbG5LLJaVGKT9RQlJe7/qQIDVSuRwY41E52UnkNcBNN7VUzVVY6dRYcN\nu9y2YWHM5S/UL99igYunSD0/iBAA1VvhPQoJcW5qpotZ21VVLt6N/Aibs6YT\nFJ4FBzt19p+7ICTS8BkTwfuvMQcZgzzwYs65IqyuucH7O9wqeWP5HlQZPCeE\n885GgLd5dX1DNxlwaRSBK7lijlNL3yuMrI0YCguxwgD0ElckRWTJiEYsVe81\nhyX2jyIG+Mjuw0TX3EB/RxQMyh+2AiumVrAwC9ypMtRNg79jOxHG7FbjjzL8\nByK1vTZcjlP7Xdzi1uaTsSbXRn9Ygk0vt1mIn9UOIcStuFdMhMVnGLq+6Qk/\nyXLd\r\n=spBE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYYFPoydUYPuarlnSZJpMPCMgyzAQfBz7xMG9+BJXfRwIhAJcaIb2lT0rVuriS3YtXwwfn0x00Bv6SoDDk8JKMKCyi"}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.8-alpha-202007131541_1594654880926_0.1012615129608716"},"_hasShrinkwrap":false},"0.4.8-alpha-202007231104":{"name":"symbol-uri-scheme","version":"0.4.8-alpha-202007231104","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemfoundation/symbol-uri-schema.git"},"license":"Apache 2.0","contributors":[{"name":"dgarcia360","email":"david@nem.foundation"}],"bugs":{"url":"https://github.com/nemfoundation/symbol-uri-schema/issues"},"homepage":"https://github.com/nemfoundation/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"e756c2aee3950cdc12bbbd10f9eeda5522cb0485","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.8-alpha-202007231104","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-u9KH+M+/lbXPP63ik8YzxOoRDrBSBrsNgEi+npRYGk7dXaUHhrUywPo4Dm1ueMnH+teFLKB2eaKfgrSU3oBn2Q==","shasum":"0375581ea5e005b612aea43608eaf3ceb07c2213","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.8-alpha-202007231104.tgz","fileCount":25,"unpackedSize":38236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGW7JCRA9TVsSAnZWagAA2TIQAJjz8WguM/KM/RDlyOmw\n9lk9i7dw//ZPF6nCEi8t0T+8KXAlqNE6pdiozXvzhbEOLNNEdztduBEswIgS\nqnlRIHZ6mDkseAaVchkZ3boG8TCb0lTdDxxsSWG1JbiOVgiv0OWU8P1nIjA3\n+fLX3xf2uqpYRkEA0PhvKsgIawcbXJz/F1k93K4IxAdIoSc0LeCUKbLYC/wW\nKIJOOafJX9Plcj/eJMv6rmPeOjDAxtnQLtoUwemqHPSPnYvKxekAulhFGkUf\nUXOR0llXIs0PlJrngeP+tlb9Wehsy9ZcD7fUWe7nUIwpsZsgsDFRBOz5MZu2\nqwISAu1lJAczmkOhe8vSOU9QqHrpZy7OkpN7WrNyGqOU17guQFN5PJJOW/eI\n3BPCWgjIuAcMH7ekyahqaQhB4QBaIupXs3mCOoM4uVAUzC2uGJ8NKzC1olcs\nNoJbzKfgptkSn4///ulEUq540vxr5NZE5/rccLG2QnzK4kdzlBU5ZF+zSBY2\nQpptRHzciTGVhqw955Uh8e05saAJ7/C6ewbwbe2vK99m38UNLUcN2l9WCwks\ndms4uDI837yVm2hDOqF7TEh6N8Tj9peZXTcjblkYWRwjkCuZclkkwi/kaeuU\nfrN/3cBo5ABc7Z35UNh6U7REEpKQS991jWWa5GLbtxu10TYgIEg/0gxKPmC6\ngIIA\r\n=uxU3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqUV4IFIR5unBT/iE0+C3ep41zfdPfWkWentZv2+uwCAiEAvTlmhMhLGMNR54oTnak5whgo4nE9tF3MlTkqH1LE9vo="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.8-alpha-202007231104_1595502280545_0.3918991799645193"},"_hasShrinkwrap":false},"0.4.8-alpha-202007231105":{"name":"symbol-uri-scheme","version":"0.4.8-alpha-202007231105","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.6","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"7a4a024415d9ccff329415ee3af777edd2e044c3","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.4.8-alpha-202007231105","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-HnP5eWzYwbk6SU3sWB4XxwVncjAANdeHEs7yjA1JzBLs8PxA3zE8JLXnFgj2uUZSZteiEEwrxQCqOKABfvqPcw==","shasum":"d38c2267b76fdb7978916642b2547ff42b4b41c6","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.4.8-alpha-202007231105.tgz","fileCount":25,"unpackedSize":38115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGW7pCRA9TVsSAnZWagAAAWgP/0RiEw9r9E0kwXrZkTJM\ng6O/aCS3H4uaK11c40mkK8XnYizxeCzukoMFHMX26LW9ZRqI8r/GFNB6wWPO\nGhs6Ez2MPHHDx5BJz9c0t3AauxtLVrdWxK1xLM1fjakXY7lDuWWjDanO4kFh\nf7GvWhswxabTYcPtZadGsZlAQ1QScWWnC925v5OvT9SEgGL+VdNZm0KDVeKw\nf+sP424lQivza0FSdBFewMNbAJJj2lKyBCTD3xRLbncBErufEaI70OHwkJ1Q\nheVcVcEF+Nm6vN7J9doXnl+eRDPE7HhXZNliYKoYAApW/cc5R9XP5zOOBhhe\nubcrukHJ4DdQ2eQtmzHDZF3mbXlxgdFz7FNSMLvYY2DyHbEllX0h30gcuHmR\n0uMp/sPHSlvxXq0zhlPHyflX6/Q1+xckywUkDln7jtszwRer+kouCgY81GmO\nDkPeBhtCj0vjTw6hGx9Nsg5RLsIsHV3JU+tSs4w262WiH6anmOWGq2KEn1Km\ngIODCMS9pcyrKrLnQDUr5OWDq1ma7oy1qZxfu+gEhyfIiD3FyAmoZsDXPVGk\nIxYMGQ8wwNu+sYaXuFd2q9pXXTf/bEcMN1OPkLoijc9PjXwjzHDOe6T+nMUP\noJeMn5SFDDgxFeCtlRVNk3TFn4GpidntHqUmAwA2stQ+6xfM+BWS62hUi/+M\nOQD2\r\n=52E+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX3pdtOeVCgTGScC5xgD8yOO6XMlEzgxSy5yjhDJqhNAIgURk0SKM/ONhdD0Rr9X8Aqc/CmSBuEgGIt+fD5atEvK0="}]},"maintainers":[{"name":"nemfoundation","email":"devs@nem.foundation"}],"_npmUser":{"name":"nemfoundation","email":"devs@nem.foundation"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.4.8-alpha-202007231105_1595502312948_0.5496919129740443"},"_hasShrinkwrap":false},"0.5.0":{"name":"symbol-uri-scheme","version":"0.5.0","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.20.8-alpha-202009180859","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","gitHead":"c51416916184032c590779f2126cd817399cd02b","_id":"symbol-uri-scheme@0.5.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Fyk71nYUOlGxvK7SlSc9QPWrDErtUxEoYx6Fy5IlskOOB7qaPN/iwax6bU1YmeLf6ZJNE0jQBhtU+i9sVvDg8w==","shasum":"4ba73569559962525b4848f8254d0ade13c149b9","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.0.tgz","fileCount":25,"unpackedSize":38115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfce5uCRA9TVsSAnZWagAA2UkP/0iUyoGH+L6UVzhAyfV9\nBkwHEH0s56rOu/iHk286k80Huh1Z2zGxTO19rnerDG6OWgL7U/QSRglG0f57\n2Q1G5NHvck+kpVdJa7ofxoyqXP00oyxgrIkumEfIXZV6L+hN19NXz+16Q+sD\nIT1y40/PboCMyvXPgL0MGjW9DM0Rr7BGuScD6Pu8+xDm8N3yf8TXzsdJe8hQ\n3vnE8ydq/xg9ISyOPz2wjeipR2Jn1TYi18cQmb5V+viklJ9mSusaX5z97VE2\nZlV39BeVNGQh3J2IxzBgbsBAI/lUBUTRsew73/yjqyCmz6gKJ9XAePLNSosV\nbFMeEVJOkW9iOf29XyS0Sjg2L7QYn1WBcVT7WrX3fs2VJ7Xlm+kTcozHUm94\ndvx5TkR/eWVzZ9iOB6WJAPC6oHzYCgKr9a16FEEf8zRViJXVscuxuC4iLe+5\nXZH6Gx4aeZyFw39ke1RqSSG+1QDCEcMLZSh5rkiuBkcuYjPvDNvB7wOEPyhh\nGz1rDzHAFrNkik/XG015InldSAqJwzdVbsuoitwkIq/BVT4HkF4Wfch6+KhX\nMRFklK3lS3ePXrwoT8+hjliM00FQTaovYr3DTt6LC+WJpzvoseiGo7MGT70N\nwTxveJFTPmFtMxF7MuXdu8+HJ3Ajl35f/tToapU9S+IgHbQ+1n2yMKK5HrIS\nsS8M\r\n=dXgr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/1l5lAggyi/ay/KwfD8Tc6otXBEP4eSbBH+JwXxtKAgIgc1R0geVRyVYKFsELH4JPkFLd+z6ZsIkKezAYavdr/II="}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.0_1601302126506_0.7769787730047977"},"_hasShrinkwrap":false},"0.5.1-alpha-202009300921":{"name":"symbol-uri-scheme","version":"0.5.1-alpha-202009300921","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.21.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"b6667381ad6f8291a991ad393756806704323961","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.5.1-alpha-202009300921","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-FW9yW4HiVaX+NFeZg2/a4iipVRbK3DPogb/plz3S5WpS+F+vnv6z9g0WMAZZPSJLVCUIs6DTZxRTEsjAumbpkw==","shasum":"bce3e1a1ea387a423da4a9b03587369410566d85","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.1-alpha-202009300921.tgz","fileCount":25,"unpackedSize":38308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdE4hCRA9TVsSAnZWagAACwEP/1HUWRgY8G+OsaiK83WD\nCx+wPau0B2fryCk5/H/e7hUlPEUITP1Qp6gIcejK1ZAsOfLXHl/HUhrBGEgO\nmZS1YLA9HpUGrMEkeNCRLR91ac0YPBrY6RoafXDs5lipySbHkqJcNJ2Xprde\nGew1ICQ3IQVrQoSjRYekJUUdja7NN7o3mZvEwSn6XWbw/l0bqhU358J67c6W\nRX0SCbs8gwTmquL5NAKLXC4YqueKuCkoWKohcEvP9q/nh2QJ5xr+Fa63cX17\nuomWtKJmFREp0VrGLbqB/C8wepcvuTbrj19hrz2FF6uaxMGPTfKSvulBdhoj\nlgtKuIiCwqTFSkwXcyaPKsoM8/HV/c2BMe0WiO1sEhSkeNSUeM04e3hRZgyD\ntFqjetgk/xXHXO/za/WWkNf0cdzjTzYK//Ma2c0Gm9Kcgik2fRTO1QszxuiS\nTVZTMYv0Y6lLE1ryb6zwx8EY7GL4P1ZcR52WXuGqUj/R1FI12rFCsbPzJqZ9\ncdGt8W8y2nc0sgOHM3PEK0sgkgBWADrWgoZAv+dvtTcAciMkmPECbUCcRwA8\nDU7j2q8s9XOmtTRli6ta6Kf2pHPMsf90o28FbdCdQ34vTzvHnyoYg3Cji9Co\nJ8a0GG2UT+RfK8WRmIfmWycOBJqxee5fA9ZVCcQdRPtElDQnxUF4rxYEu4Bz\nwpre\r\n=lL6K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY9LHUgFWd5+msu6ihjEnYZqsd8HoxbMqEKjStKo1ZqgIgc/I671Oafm6VAQT0GfEa2QBo7X709ztHHtHtSwiXjqQ="}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.1-alpha-202009300921_1601457697460_0.4293770007598987"},"_hasShrinkwrap":false},"0.5.1":{"name":"symbol-uri-scheme","version":"0.5.1","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.21.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"c4f904ddb4301ce62cef683963ecc746b19111d8","_id":"symbol-uri-scheme@0.5.1","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-o8cnnLHPG27mUFFoQ/XekdLDvgHmwPP+/BxIs4Ti9PgqFWkQ+6GFNnerB99K+Vo1S53ishL5G7alRcqZ632pxw==","shasum":"f416574b5f2a48395f0a2a06a7298e276d506338","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.1.tgz","fileCount":25,"unpackedSize":38289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdHedCRA9TVsSAnZWagAA8OYQAJYh/+6QaSYQk2rg1zp2\nXieObDCbe4g8XiPkxyiRjLG3EgLs55Uv9x4H5DPMeJV7+ECKCvO7BUSOBkYs\nlir+qT0TLEbotdAKpHIAUpLEeLXHX83vO6V0yb5V4sayXkD2osnsMOeAy4PX\n1MUn3sUsk4SbUnFbv10YBl6mzkWdVFfm6Cqwma0KtE9ftdS3bhG9Pb3aglhO\nDJ7G791reP+hbY8bXR9CsPTA3R6KWxpCP9ODR9K+0ISvSVhVb6J1qJjXOBsQ\nEfc9kiTIJBGG2sJ2CSVfxiuqNI+ScUHaMXMdYhw+oFOs89lra6NoLjhkUH5m\nOgM+GMPt2ip4javcVtrBzhmSopxPWF9ywTYYz15N3eeRYXrC1rIwFneaZyG5\n/S9PuqUbhY50tR9fup7obUAHqlRLYUi2CimaKck1kC0dKJVhu8gFQFvLyAi9\nOTrMFAS6Mu0FrO9k/Vdf0TyrQdd0ANmaORHyAJRu9ui8oQPyDQZcSCWhW5Cw\nkaA2fN9FLrjpa9h3Ut2iIGnHHXyq17bmJLmOmpcIb53RaYAJGDSeUom/6N/n\nioZ9/pgDObIzfTkLiVcrC1KOOB2wAy8YLT8mbyw+uzBqFhfA2AiaJ6EJMZUR\nDlUr3vo8axuRIws/UzHndQtXKafpeK7Iy7Uyu1O+mjS+XZaZtSkipDHMJTgy\n08wV\r\n=g6+4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICW8x5TlGTCUF9Lxbed4hvYBrQRDIjpwHyHmyJQ+h8QuAiAOqy0Tz1572VkMo2rOOIR58CB7iCbiTdetZkt2JuasFQ=="}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.1_1601468316487_0.342947314316405"},"_hasShrinkwrap":false},"0.5.2-alpha-202009301220":{"name":"symbol-uri-scheme","version":"0.5.2-alpha-202009301220","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.21.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"68c75b1d246d7d9c0235eb38076935551a425cbe","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.5.2-alpha-202009301220","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-eG7547PyQPp1horHtzzznSTrc2Ox/pJRqvxQdFhUGj570aOxGbGyMFBGzLkaR+1M8IA6ujuVMYOCsz876Nvdcg==","shasum":"4913b41bb872a3f7a91b2acfa3af2379f524beba","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.2-alpha-202009301220.tgz","fileCount":25,"unpackedSize":38308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdHgHCRA9TVsSAnZWagAACWQP+QGEDQFX0rZJmv8IzuYf\nuWwBo8+23e3iG7CukNoBFDamtp7cL7wvYzNW61vzrJtKJjzkVgfO31vKPsaP\nUOSBGkX+CisV2ZfJfL8QvDcoZiIZku3HV1pyP/tImBAWiSRc5jvfyr6az7x9\nqpMCcw2LKAGhQMmtfVohehvN0qwAI0Aq+GYXLxih0JU5nd6dBH82ia7a3LVd\nS85XrIUOrNlrUQJS3bgej2X7969rR3qOOPBHbtGkd0NLFCstt+aj7sqz97sB\nQG9XK0fF7g30M4qH7f1kbbWKHNiwBuk4PhCRrTIhu+SQ6LZxey/9UJF7vCHy\nwfA87e+xFmbImUBI/qCpy3VudIbqlzvNuRs9Drr8CQLmiH6SpLlHqO10dUv7\nQfqCGHsSAmjsSXklpYRnLwR8fM2c3KzYvZUcR7HjTxVNCzBYsQ4/oQbwT6Oq\n0KvWH8ce8rwiJALyVtnoOSHndNr9WDYzjmhd1jSzFu0NWWlBxr/0pLwc4YbR\nZn6BlhyLr9ikg4K9h2es/65q3uCp70gMm1u43PPUOEdYkgfzH9WYEqYcR6li\n4EgchoWG5nY3Y90AioKCy5I9hN0Yrbx1COwNzA0bqygZBvdRIQdDgVikJU5u\nTykUtPeE1UhswJoMAbHArS+Vq4dyV6bAEqVoGkSN/4B7Ejd6v9a5eswRxj37\nJcgY\r\n=rQQa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPbA4rsGzqHhayDvY00JbdksgEVSNX8jrkzuDFsY2VIAiBjX0f43w95Rh7hS70g2pK2A/JxWh+O+1Dks3VwOXiiOw=="}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.2-alpha-202009301220_1601468422760_0.217686496417542"},"_hasShrinkwrap":false},"0.5.2-alpha-202010272053":{"name":"symbol-uri-scheme","version":"0.5.2-alpha-202010272053","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","symbol-sdk":"^0.21.0","url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"cc62cecfa1e9544ee2f5525737ad890965c284f9","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.5.2-alpha-202010272053","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-tfZD+Q2xcWIdHPUCxpSgIzm6AjjVH3K31IBUOHUIjveszxIsCROk87mhPBuqA2KaCnpiPv8bqcMhji5RuJRc1A==","shasum":"68c522bfb240ff976428f3b0f254bde900ed0f66","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.2-alpha-202010272053.tgz","fileCount":25,"unpackedSize":38308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmIjNCRA9TVsSAnZWagAA+iIP/0GA0ZCCZobs0iEnlcqO\nGfWpUdCRbdckmcWGX+mXj4iITuSeqBr4cRvW/Lb4CihzcATWv+n51M7T/L9B\nGIrtX4G2PNN2t5s1FNOQIMel3AbljeXFGuSfTtOWmcCGex8A+bm54FeDj2xq\nN0oWIfK0pfeKThsQGUTL39g6zNb4YvgIREChD3OdGuOUZxq7nILFDWXqnKm+\nwg9M5Iax1MVVaYQ1/jThImW9sSzsfUnV/o66xHT9gejmX4ucuxA57sYJOnnx\nAPs9xkd/RtSzhWPZjL99lD/bFMK2EIrOzvaq/GQmei26yEeCOvWENoWvI27H\niobSe0WZNm3oGwBLNwvD33MckRnMk0hh0MBRUISs/38RXwEBMGtw8Py4v/4G\njKMoVfdoOMCpvKUyHtNJpeCcdE3gG9DkN79wBFelI0qiRmYhKccAdfL1yN6g\nX4z2srQtiYbN4jdY9Yhik8xZiihZR54qYC0pTMOV7oYRIN+2VyseJkWBpNV7\n+l87dwbBhy69iEsmG7bAq6jYT/DWn9mcWAyaza/vjQ3W8IAin0KZW7ntqB29\n9kKbWai3iXzVx4x87RmZwfCnycpHrTI0Pi6d21RqPMecq536o5gmLKWAGYdd\njTlp7xOIrZqGYNCT9y+4Jbg6iz6RNBMlOSMPBCwLqLzZYdcJASLgIltaJ6sf\nrWH1\r\n=kOhh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFllQbiS3M0f2mLLExgCSFz5G3ZmYqfji6C00Zeb4bGUAiAfzXQ+ozg2DXFxx0xCWaSYPtqMSHe0wMzCcmqWxw+GCg=="}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.2-alpha-202010272053_1603832012560_0.8944825911582264"},"_hasShrinkwrap":false},"0.5.2-alpha-202010291746":{"name":"symbol-uri-scheme","version":"0.5.2-alpha-202010291746","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","url-parse":"1.4.7"},"devDependencies":{"symbol-sdk":"^0.21.0","@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"0931ac368933b1df110ee38d66e2a6836f53e835","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction, TransactionMapping } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, TransactionMapping.createFromPayload, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionMapping } from 'symbol-sdk';\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI, TransactionMapping.createFromPayload);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.5.2-alpha-202010291746","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-uvZCCheZwBfTF+6I0DWnY+7SEPXb12aAoDU7tcpEUxwDZ8VpxdnSXFdZSrz5mVkpNq77qlGQVM2qBJYfjujktg==","shasum":"16636fec6b66e3893e342eb9116cf67ea86a1b9e","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.2-alpha-202010291746.tgz","fileCount":28,"unpackedSize":39771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmwAHCRA9TVsSAnZWagAAXrwP/RQTy/0MbhAAwAeV4moA\nG//uSFt6sd2CHXEW2jWZFLT7vpsPicSHgOfu8OpTyweutitbp0nfhk9MRjyX\n9tSbAtV7x+zz9kAnztx2H2kY2yBwf7hCXIm9yTTwrkIHuV7fRyFvoMqmBl07\noHiiPW+UPezjv8G8LLiFx2OQcnFnVFPs0Dr6i7b5aDL3gLav1YTTqy5MbQ5y\ngRT/dB/drP0qDpZyv2I6k8tbmioMBJ3bXxBXkHkfpYTgTomcMqzTjdRyQoac\nhY2TscmwdGjaYZNN8YAyJyOtFiHC7AtpZ18O/9Y3gtO2w/GYlfKnFmse9td7\nK10BJYR2cYc878elmiZX2HQ25edQ+ZrX9Nyj2z4GyYEwxrb2VodC8fQBP2Zl\nK01Xgz2/rNIogdAUeGeCmg+mDu0b5SCJJH/3+IcBLwsG8D7mkPYDruXmjYq+\nlaK6VNIJ3vlqCjSujcN5dKZKbGQEHajisQKYqAf5roEXJ9WwYQLbKe7h6wuZ\nKRT9wjE7vJILC83KDjSFuMMKmiZsngVHFfd5Ccw+a3XsTU85lcAXs96N87/x\nvXLd9lxAgFppvFrDbx4vawPA/eYtwkhN7k0fxTRb3prdvvgCWjmC7EUzqNph\nbTR+ymEiD/+BVJ2Z279DetHdq91eu8l+3l2wMc54EtCeEb/kaaE4+oItYe7z\n0u7R\r\n=pzaS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxcVlWyMu9htKh42DAcX40rflHKFeImz9qciTX8m7lvwIhAMz4s9NXGg5s5Y4vAXOQwCxZKnX8GbPE2pr6NUcz4+WQ"}]},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.2-alpha-202010291746_1603993607131_0.1991243256627897"},"_hasShrinkwrap":false},"0.5.2-alpha-202012161036":{"name":"symbol-uri-scheme","version":"0.5.2-alpha-202012161036","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"rxjs":"^6.5.3","url-parse":"1.4.7"},"devDependencies":{"symbol-sdk":"^0.21.0","@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^5.2.0","nyc":"^12.0.2","tslint":"^6.0.0","ts-node":"^7.0.0","typedoc":"^0.15.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"1576a8f4f9f777f9379ff13ca5885b6349bad068","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, NetworkCurrencyPublic, NetworkType, TransferTransaction, TransactionMapping } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [NetworkCurrencyPublic.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, TransactionMapping.createFromPayload, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionMapping } from 'symbol-sdk';\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI, TransactionMapping.createFromPayload);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md","_id":"symbol-uri-scheme@0.5.2-alpha-202012161036","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-6htYyJQ8olUb6z1WTYVt8W7qEB6PETYUK+o5m8CkSsdGBzENEC1xeOe0HDlXqLOyIpv3UBa0h5Daem9gKnXpAQ==","shasum":"f6eca30b1dd40a474b13dd6d576c38adf859f9e3","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.5.2-alpha-202012161036.tgz","fileCount":28,"unpackedSize":39771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2eMTCRA9TVsSAnZWagAAj7UP/RuBF9mRzRg/XfttojzD\nc0yIHu8KfgocD+OSDnJaPDAKofcwzd/NB1d5AJRW0a42/BNaOjkS+3wrcVG9\n8h14GShsZaoax4Gs5PdAOEJxr3+UK+bTCH0TiVNN1zJ6ym+hv5q8hSTka446\nMe2ZddmMmVJoYNspzuf2jfapV6uJPkwz4PlT9ddYWtcZ92di2W8Wwocekgyo\no2QqPg9TilCfIVe9FetXRv3DEuFkmg1uZ4/25xoVNU3W+z1z3m1xUyX7ZIUv\ncZ153lMP+ppifF5ISo6Dnadt8Pu+vLvbcahcqsh+nSZLkV+DykRka3pfGWrQ\nd3jc1qR6AQVvGdZzo+o0I6vOclFUr9Fn+tLWIKULGNikF1aihSbkKK3PLmGe\nyAxPFjFXrmzOixLuSWbv9APhX0JNNgTJ1EymqiqHbrqXJRMjG5YeKaDIdA2G\nw7uzA4702ZdAXHHSFsGNeXFleOYf8iQpr3+0bMw31e7i/Vl1UuZwZp7VyCbU\nn/qpdQDAMFFdNnTc2Ra36gHtD4Ty9HfCaW9htpE1zKvohCyYqgeuqpXeuPAu\nTSgPrKp4fWGd4iCTJsigjAVFB9OFyjx9zXHdVHH5O4+6IhLkgIuU96nwEsVu\nWXId8cajAW3uiYhtvzUL5K81VjNU+znBAGC0XvPWisrP/EiEhT3xrjoIoyR8\nxxgX\r\n=0x/h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYEoSHF+1T1JgCwl7F6Akq/ZGbtBCzDJac4PE1rEwLbwIgaBfw2yD7cK7e9tK3O5AMK1LAO196uFj3hzKxuIA93/k="}]},"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.5.2-alpha-202012161036_1608114963192_0.7257447954950673"},"_hasShrinkwrap":false},"0.6.0":{"name":"symbol-uri-scheme","version":"0.6.0","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"url-parse":"1.4.7"},"devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^11.13.4","chai":"^4.1.2","chai-exclude":"^2.0.1","coveralls":"^3.0.2","mocha":"^8.2.1","nyc":"^15.1.0","symbol-sdk":"^0.21.0","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.19.2","typescript":"^4.1.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"4abba6fc9f18bfb35431262c2d1d40ff5d6579e1","_id":"symbol-uri-scheme@0.6.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-fg3cvpS3REgoQy/Q63CuG1eIF8APKTSXUW921WazJECsUEHNN6VpuXi1vecOa52SG+W26kY5wJPSOMdF11F25g==","shasum":"23e4296e0ac2eedc605338924e1501ccb1870e17","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.6.0.tgz","fileCount":28,"unpackedSize":40327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4cEZCRA9TVsSAnZWagAAobkQAJOFuPbyg2S8JY2fXmcj\naDvkjmHLPSazB+N5Y7AlNsSRin6Z5xWq7A3AptRHcVq9PS8o40D3Ar8u+3EH\nEbpWhymWoFg2APeatScEwONE1THXrz1Tp3J+vjB3naVKmbIW+MxiPMNevcHf\n9rBNwYn85c5jYx0QOxRWDKTYUYm00npzQadiwpfwjLaNrgcSVDx9fAGv5F+T\nRkYz63K87bgZfq5H8iu2HbwWfo70mqOMUxqegqFxTYkfGTyuFTHOE8Jl3Lnz\nBNp0dZo4qZPosZuibtbTxUzFg1oLEwKwlhRTtOhBtjjsAM8hE6cFzYwdhsGw\nDL0gZoexGRZKIOqVZiQf0hVP61nkObWJSs0moMluEcamkupPoRNhheYKmjRz\nY4z2PtyFvMmYKCMRaYOUfpEVy8+WYggV6X/iCdQZqddMNzh3j8ZCumauYXK7\nvCnOlK5TXVieHC5U8NW11lKWEs4Txpy9qFRoR5x9BGpNMOTCEFbEPg/VnpZo\nzvD56pPmFkyYKkm9IlKSPJ2oFzp4u8wH/2hhP6OlKPR5w76HPrVr6YBWuYQy\n7NdYFoWHfe+2PKqpyy3vFR/uw90mF6762UoHpnmvRXmUF7kxYBIrJZa0epxu\nwP2S7eqxT4Y4W4QWO17EA7WKvTg1tLEYARvyQzcvgtvf93WfQffwGD4xfCzC\nWL0j\r\n=daUw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDenb8mUb+cq2iwUHCOo/lXXGsVF7wbKMXaAbBsD07+RAIgXUGxZqaA/w0iI0Vn62+EXG2bXl0rBYcwbUaGfTDRI70="}]},"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.6.0_1608630552643_0.8893132865224891"},"_hasShrinkwrap":false},"0.6.1":{"name":"symbol-uri-scheme","version":"0.6.1","description":"Symbol library to handle uri scheme","main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"url-parse":"1.5.4"},"devDependencies":{"@types/chai":"^4.3.0","@types/mocha":"^9.0.0","@types/node":"^17.0.5","chai":"^4.3.4","chai-exclude":"^2.1.0","coveralls":"^3.1.1","mocha":"^9.1.3","nyc":"^15.1.0","symbol-sdk":"^1.0.3","ts-node":"^10.4.0","tslint":"^6.1.3","typedoc":"^0.22.10","typescript":"^4.5.4"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --entryPointStrategy expand --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"license":"Apache 2.0","bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"homepage":"https://github.com/nemtech/symbol-uri-schema#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"734464df5b5b4d74f67cf0c2e53b44f15bf5fad9","_id":"symbol-uri-scheme@0.6.1","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-83bEIiEx2EGZ7l5edly9IHZUSYJkeH9HQlEpJIsfQk2NFtCmFsIeSZFdBtJLOWk+C6wGTvpJGt6rsQq+Y75whA==","shasum":"b0fbfa1e20551e7a2464d72e91c06f57190bb23c","tarball":"https://registry.npmjs.org/symbol-uri-scheme/-/symbol-uri-scheme-0.6.1.tgz","fileCount":28,"unpackedSize":40564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1E4pCRA9TVsSAnZWagAA66kP+gJWo3ReexQ36MyJad/p\nHwsjsN3ib5gXlQg7Gpc70RwadzSkEbpjTg0u9uHLayGLPvPr/TeHEnJyU4k2\n50+5FMYQI37QblTfSb39ezcO1sZn+1LZ6C7gOKcohZAM5nRIDtSU3bEF3AFK\nonGOpISyuGm9IVFUlQkAFHkZXOjF1uXYQUT/U6Oarl3Cp22mysg6MfbTgwwm\ny5MrCZ9wGH7JhGaB4LVFeyqDXsR6caT6NOxhP3KuzhYoBahc+q+aZoM4q6GW\nbGhN5hzaxyynqfwpzW/8NI2doKmWHw2Rve9RbZ3glr2mUmF39f5RpLyjVMXe\nWyzJJG+KRae7h1buDUMh3kBS6xpIKVUYxawR5bZrF+N44ggdAtfCAx2xwgiC\nATeGuWOGLA02X41LD/rG4j/F9sNHo9uWpwQefWAnmlZb0vCpEEBua2t9IXFs\nnO2l8sgG1E9EfYm1ucqg5EKeSgnsSCQrRw/SYR7QERacQU0r1sB96xTQQ6jP\nrf4xcgSWvx8o2Po19rzGUjveMz46qZpegolzVqoL6PSwGwo+KFBOn+QQdtDf\nZj2K6IE3xCGWDM25ERLvR4S2Kyk9JyvS2FaZBoJGG4ryQaS9+fEFH4dksKuO\nzbnOK4hL7gP6aqh1I5zmsMVdiZ4z/8umvKfj9TxrqzRa/t8fe8trC5K6QziB\n9ATN\r\n=suTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA59mVca1xgMotqKXPn6UoWfMMophbAT7bSNDQYbHAdFAiEAn79yOsJtot6BGjUqWHfsBLfy9UiAGUVw6iY8MA8LF8c="}]},"_npmUser":{"name":"nemfoundation","email":"system@nem.software"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/symbol-uri-scheme_0.6.1_1641303593112_0.787178784675187"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-23T23:48:28.896Z","0.4.2-alpha-202003232348":"2020-03-23T23:48:29.048Z","modified":"2022-05-19T05:57:35.269Z","0.4.2":"2020-03-23T23:53:56.870Z","0.4.3-alpha-202003240000":"2020-03-24T00:00:39.930Z","0.4.3-alpha-202003241331":"2020-03-24T13:31:19.873Z","0.4.3":"2020-03-24T13:34:48.087Z","0.4.3-alpha-202003311927":"2020-03-31T19:27:06.376Z","0.4.3-alpha-202004010955":"2020-04-01T09:55:12.086Z","0.4.3-alpha-202004011003":"2020-04-01T10:03:47.045Z","0.4.3-alpha-202004171200":"2020-04-17T12:00:59.136Z","0.4.3-alpha-202004210919":"2020-04-21T09:19:26.884Z","0.4.4":"2020-04-21T09:42:04.027Z","0.4.4-alpha-202005251422":"2020-05-25T14:22:55.370Z","0.4.4-alpha-202005251427":"2020-05-25T14:27:52.049Z","0.4.5-alpha-202005251438":"2020-05-25T14:38:13.977Z","0.4.5":"2020-05-25T14:38:52.903Z","0.4.6-alpha-202006221658":"2020-06-22T16:58:08.530Z","0.4.6":"2020-06-22T17:02:02.772Z","0.4.7-alpha-202006221703":"2020-06-22T17:03:56.765Z","0.4.7-alpha-202007131535":"2020-07-13T15:35:07.781Z","0.4.7-alpha-202007131536":"2020-07-13T15:36:55.502Z","0.4.7-alpha-202007131537":"2020-07-13T15:37:27.100Z","0.4.7":"2020-07-13T15:39:26.393Z","0.4.8-alpha-202007131541":"2020-07-13T15:41:21.016Z","0.4.8-alpha-202007231104":"2020-07-23T11:04:40.732Z","0.4.8-alpha-202007231105":"2020-07-23T11:05:13.215Z","0.5.0":"2020-09-28T14:08:46.670Z","0.5.1-alpha-202009300921":"2020-09-30T09:21:37.576Z","0.5.1":"2020-09-30T12:18:36.690Z","0.5.2-alpha-202009301220":"2020-09-30T12:20:22.901Z","0.5.2-alpha-202010272053":"2020-10-27T20:53:32.712Z","0.5.2-alpha-202010291746":"2020-10-29T17:46:47.277Z","0.5.2-alpha-202012161036":"2020-12-16T10:36:03.338Z","0.6.0":"2020-12-22T09:49:12.802Z","0.6.1":"2022-01-04T13:39:53.287Z"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"},{"name":"nemfoundation","email":"system@nem.software"}],"description":"Symbol library to handle uri scheme","homepage":"https://github.com/nemtech/symbol-uri-schema#readme","repository":{"type":"git","url":"git+https://github.com/nemtech/symbol-uri-schema.git"},"bugs":{"url":"https://github.com/nemtech/symbol-uri-schema/issues"},"license":"Apache 2.0","readme":"# Symbol URI Scheme\n\n[![npm version](https://badge.fury.io/js/symbol-uri-scheme.svg)](https://badge.fury.io/js/symbol-uri-scheme)\n[![Build Status](https://travis-ci.com/nemtech/symbol-uri-scheme.svg?branch=main)](https://travis-ci.com/nemfoundation/symbol-uri-scheme)\n[![Coverage Status](https://coveralls.io/repos/github/nemtech/symbol-uri-scheme/badge.svg?branch=main)](https://coveralls.io/github/nemtech/symbol-uri-scheme?branch=main)\n[![Slack](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://symbol.slack.com/messages/CB0UU89GS//)\n\nURI Scheme library to serve Symbol transactions ready to be signed.\n\nThis is a PoC to validate the proposed [NIP2 Transaction URI Scheme](https://github.com/nemtech/NIP/issues/6). When stable, the repository will be moved to the [nemtech](https://github.com/nemtech) organization.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n``npm install symbol-uri-scheme``\n\n## Usage\n\n### Generate URI from Transaction\n\n```ts\n// examples/TransactionToURI.ts\n\nimport { Account, Deadline, EmptyMessage, Currency, NetworkType, TransferTransaction, TransactionMapping } from 'symbol-sdk';\n\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst epochAdjustment = 1637848847;\nconst serializedTransaction = TransferTransaction.create(\n    Deadline.create(epochAdjustment),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [Currency.PUBLIC.createRelative(10)],\n    EmptyMessage,\n    NetworkType.TEST_NET\n).serialize();\n\nconst generationHash = 'ABC'; // replace with network generation hash\nconst nodeUrl = 'http://localhost:3000';\nconst webhookUrl = 'http://myapp.local/id';\n\nconst transactionURI = new TransactionURI(serializedTransaction, TransactionMapping.createFromPayload, generationHash, nodeUrl, webhookUrl);\nconsole.log(transactionURI.build());\n\n```\n\n### Create Transaction from URI\n\n```ts\n// examples/URIToTransaction.ts\n\nimport { TransactionMapping } from 'symbol-sdk';\nimport { TransactionURI } from '../src/uris/TransactionURI';\n\nconst serializedTransaction = 'B600000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000000000000000000000000000000000000000000000000' +\n'0000000000000000000000000000190544100000000000000005816E98404000000900FFE' +\n'A45AEA2EE9B880D5E4F9B91B75857F444F1766CDCB0600010000000000CC403C7A113BDF7' +\n'C80969800000000000068656C6C6F';\n\nconst URI = 'web+symbol://transaction?data=' + serializedTransaction + '&generationHash=test' +\n    '&nodeUrl=http://localhost:3000&webhookUrl=http://myapp.local/id';\nconst transactionURI = TransactionURI.fromURI(URI, TransactionMapping.createFromPayload);\n\nconst transaction = transactionURI.toTransaction();\nconsole.log(transaction);\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [Symbol Documentation][docs]\n- Join the community [slack group (#sig-client)][slack] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright 2019-present NEM\n\nLicensed under the [Apache License 2.0](LICENSE)\n\n[self]: https://github.com/nemtech/symbol-uri-scheme\n[docs]: https://nemtech.github.io\n[issues]: https://github.com/nemtech/symbol-uri-scheme/issues\n[slack]: https://join.slack.com/t/nem2/shared_invite/enQtMzY4MDc2NTg0ODgyLWZmZWRiMjViYTVhZjEzOTA0MzUyMTA1NTA5OWQ0MWUzNTA4NjM5OTJhOGViOTBhNjkxYWVhMWRiZDRkOTE0YmU\n","readmeFilename":"README.md"}