{"_id":"@appchain/signer","_rev":"8-58e9509300413acb7f3722b7acbd760a","name":"@appchain/signer","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.38":{"name":"@appchain/signer","version":"1.0.38","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"description":"[![Travis](https://travis-ci.org/cryptape/nervos.js.svg?branch=develop)](https://travis-ci.org/cryptape/nervos.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://img.","_id":"@appchain/signer@1.0.38","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-LsV8fw+yHJvvWa4r/j82Sj0bp2g8+KZ5pAFVnltJkgfCBmfSBz11/LyDmEP6PceuP+BkmMhhTRkApaIvb4l8iQ==","shasum":"5f6bfdda8b2444fab481304fb27b879009fdabe8","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-1.0.38.tgz","fileCount":29,"unpackedSize":149031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1nmACRA9TVsSAnZWagAAx5sP/1aImp80Sru/znjWiPAR\nT13V/RtneSBCHia4KWyC/J5dCRcsypdVAvRP1PkebubT+Swq55mywLt4VibB\npIjTPInr4W6e9JGJ5x862kdCpjFLqwa308CVt4+x2GF5YR4VSgHcVhY/y6hl\nDqY9+HFslNKuM+hZvqDDK728fW7Rq6fVMvHvBadikZKYla5N7DaaM/G3F4k0\nvZ4PFU1SW7A8g/z2fP+OhBl7/M5dPdMGCbX/2fxTa6Qnh9ctEijmNKMu+7rO\nGj6rLHHX/+iCCpX86iyzWHsJBZz6M+StA9gMvQl10cYY4X3oeQ4sNuWI0DgO\nbavtGVuOO/82UQBsP3t4g1dkld/dUY9n9RVRGK380m5YHppHZocq8UjjKxUp\nnLd5KJOalYaWfs6GaeUewO/dpW+HPuiq0EXnpJtm4xGzs7gWBEjrU5m5dyKN\n2DYaqR8zRUrmK4hBWByHm1IC/rgBBDnRQIwygy3N77Q8CIUf7X71MiOoUiGP\nG7AaOhNfVDnjZJ+XTwdTFyTrWoXnUrzhNokZsHbX62nQDEC3ZUPF0F+H8brt\nlGhTeN8ScvQqsHMe/akFhKmNo6HpeJbSyfNzmoZlYU2N69JuYhUw1pn9Fwfa\nl1ZoDIB8ibazojG1dWnO9aJVcLUzR3nrTYOjLGuwr/zBJYMRC03bR0G9mZvr\ndlCA\r\n=+oqr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSS/9PmqMkFGwq3HpIS4xA8jxXGsK0wLzevP3vXAE5FwIgH6ZLdtSawVHm31KjhNtpF2+8aGPqWTjxZFKYAcS8DiY="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_1.0.38_1540782463855_0.7840519551923997"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"1.0.39":{"name":"@appchain/signer","version":"1.0.39","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc","test":"npm run test:v0","test:v0":"VERSION=0 jest","test:v1":"VERSION=1 jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"1df3fb633e229d2ddce3f66c1dc22714c11b0355","_resolved":"","_integrity":"","_from":"file:appchain-signer-1.0.39.tgz","description":"[![Travis](https://travis-ci.org/cryptape/nervos.js.svg?branch=develop)](https://travis-ci.org/cryptape/nervos.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://img.","_id":"@appchain/signer@1.0.39","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-TKsntuIO1gTiFBQEvAzF0+4IP/q/tptdlmjEICbjuO3tQ8uOkfOM5Hx4y1Ug7ueu76udSmBTfOsBMn4eh9ohLA==","shasum":"9fe84b6150001fda1fcbf5195aea4b843be79db0","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-1.0.39.tgz","fileCount":29,"unpackedSize":159019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3DEsCRA9TVsSAnZWagAAp54P/33Z7Rst4CRbhYeJr/Jz\nDNOdRK4EoGjhfq6oYljGK4onESNVF0oe6BueGjKnhSK1LMFBFbJ2+YudX6II\n/iOxantxRAuElGLoUgaybkykbNDswzpEkfL598RbyP1qiKLfKnLo5uMfB+qb\nssR+61DW7x+IzsYJNWiyJoZPZejPbKiwXjuYLfBqCFIQhbHm4haTXjQsZALJ\nfGwj5zZPtO8qbppBPNKUti1uawXF3g1tXW4EiaY/DFZCEEJIfBHIYAPMehrG\nT/ta4nSDO81l5cv8WVNXmqF05NRhbOVWeNxTwx3q9IIb5mJSsmERZVe5u3Qn\nh5OiHAZAn4s91U1P8a5dMs7r/b2VYXmNsvwOY3imxvwctMalgdYq9UI9Fnsp\nUMByZu8CsFv1dd1qGVtu+W5kFduuUcg0Jk+gwmgOSkmBNp7Fu8LmjZ4i8aSF\n49oMTWV9kyIRB277Cu/45I8kDXlAk/R7tmHe2ddWPkPpkC3tHZ3WLFfLgh5I\nNpZ6yopLnDviyAMBY201v21lwaoLo3U5Cl6FPJbsjmb0ZD8qQKR4oh1RSJk0\nE1F4ETbrVZpS1gWtVSKEM8By6yC7cVeZxA4vwIaYjhym5EwXG61ZlWU0ej0g\n9hbtsf60UiAqff57RfD0JTGzoX7nyJS47TKvptjeMetR8ISJKQOiJ4XF/cAf\nP81+\r\n=dlc8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEH26gfyWIN+dTtuDRt697535lX0LtPVm0DjmXweDYwgAiEAhGkOsKxX55VG2AH34U3bMoN5F9RfMpvfXp7gle4z1IQ="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_1.0.39_1541157163357_0.9742792984516755"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"2.0.0":{"name":"@appchain/signer","version":"2.0.0","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc","test":"npm run test:v0","test:v0":"VERSION=0 jest","test:v1":"VERSION=1 jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"6d2db687a257d0dd30b0d0d8b6df97fae0d7bbf8","_resolved":"","_integrity":"","_from":"file:appchain-signer-2.0.0.tgz","description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","_id":"@appchain/signer@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-FgEmenzFeTzQCxNqHc4sq0CUBMRCKAcllvoKYjiKRECVRADp0u2ig3wR8j2o3Vy4HRkOyEw9VTkwt9CxJ6z/JA==","shasum":"af7b49c7088ef51bd8df51fe9b34fabed9547e45","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-2.0.0.tgz","fileCount":41,"unpackedSize":168042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6R1HCRA9TVsSAnZWagAAmvIQAIPFrtE3qVok4oRpyxnd\nRi9UglluPwakJKrBdtZSSwejlPCIS+vVO8G0AJGvAtF4j9zABFz2Gluj01+w\n8Ay4kXCHVLq6R/5HOJAMFy+VWCf4+NpNSlQ+qg6Tb5nKt6tp/XiLXnHMrqb6\ngLea5tv+Jfz4f/Xfr9rv41VEB72pV48cVIIrP98mQ6LZdVom2UKoeDzob92C\n2X99xTQ8itMnNz6O6YpfvslN2EF+dDxlez93pT6PlklNzj9GAeK181Dw59Ct\nhsoigkdyXoCxfGP/FNY73Yjv1WwrXuqjeqWAb4fMmsDmVORlt2CzXGjdFwz8\nFDdMeEJOYUVldmZ20KSa8+4LJO5Bj7qtfjqx0JldrWcNSTRXxoJXmfRt8iDT\nCgZdaYKT1UogLAOK19RfC5ydmfoy0ah4pt5htMFF75X8mYl4R6/5b1en7MW8\n/mLcm7/jEzPeRk8Qw4tsgcEvUJh05njDC4FgQb/u7tzsVmt/6wjAx/pblyCM\n/U0ZtnhXbkN3yLqY+0SMjyvpWZTra90sgMcPZEHgW9ePHKuh4yOnne8pxTJ5\nC17qecNmdze2OZfegYnMq5ShDc3UWPgzqs0okYxgBFRFzGS1ncgWn/lKC3kz\n7kDtbcTAVEFmYiTeQ2J1ooqg+oGWFEsFVohVbHIx90bWr4/K24SDKALkTlPR\nvkKK\r\n=84da\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBHhqGRXnObySpoSJwBHj2LUj6hj5Kur8rfjwSLehF4AiACPWcwiKsiSQ2dbZ3UVRmHS4u8G3xFp9DHuuFDBOEFHg=="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_2.0.0_1542004039079_0.5899416715077732"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"2.0.1":{"name":"@appchain/signer","version":"2.0.1","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc","test":"npm run test:v0","test:v0":"VERSION=0 jest","test:v1":"VERSION=1 jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"bc0707ff41e5ca6823ff2e867d5a4e7969f0a406","_resolved":"","_integrity":"","_from":"file:appchain-signer-2.0.1.tgz","description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","_id":"@appchain/signer@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-dHA/cVP33j858oMBOK8qiC0N9KWhEanPoXEbFmuJ0kkfOnWAzlFTopHMTDXD8+KhkkHGQVery59sFbZoNwEZxA==","shasum":"d20bfe4ea8fe9172b1f30df0a227effee0b697ec","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-2.0.1.tgz","fileCount":41,"unpackedSize":168256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6bSRCRA9TVsSAnZWagAAQwEP/jgI7Xo3K5A/qcWs6o+w\n7nOO8B5FBYBbAMlwQWx5adlDDGrUc933Rg27y1+m9Or4bou66BdFR/LRgWMM\nTyxvqBkGS+ugDD/APYbbCH/NKmfrPgSD9Plg9wjyRZ0mOfMwja/6fnOM/uWC\nVm+txiWxNRxOHwe/lnvs609imhmgAGg3YrJhs1DpRcBiThnCWFEpqjtOkyfn\nxwyEpzxAxciqLGkWiF8SNzXDzsAcVAsbupcei+vJb1OLlo1uTj6lN7wR3Xpz\nYfz0nrQ/05AlkaLZly6a7C1jiVfUDBnxOEMfg8bfFdWjc65NrfvUBfSJIeYM\nkxTzkrLUniC4wWMUJejs9YtomznrEV33CDNIqNBOXLYYddAZLS/FT7XlA6a9\nVLKbjrrto1kjUQSaiYJAxmbWxfijROrEqhhh7ahrsQWWTMZoqTFtUooYni7e\n0Baf12+Jgt5Y3cCP0nMs514YBXZHbr+SKryyroPbOKCptDKDHQQYKyDCxSiA\niTs/Fhz0EdEBjMDl5ruUl2iKVJtK/A8z2OD/6HLR2RSe52E148P4HxSCEa9G\nc14Gmp9aWPQT5R/gNB1vwnKuO46EdnsuGGXeQu3z2dx3vwEdzgPPYe9JnGpQ\nMpOHSfardpg0X8c+RryElYXfVt1JhDJgAZroUC/H2xpCHnMgtjak4cy/YhAt\nKTLf\r\n=D66C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMa6ksr7cMpI5rAdnf6K3bJXLNjIvwSFnDdgyRDYn8KAiEApL7D7bH/YUANj/56wPXpNO++NtWYinKw+58y4y6vtTQ="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_2.0.1_1542042768770_0.11953472698291523"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"2.0.2":{"name":"@appchain/signer","version":"2.0.2","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc","test":"npm run test:v0","test:v0":"VERSION=0 jest","test:v1":"VERSION=1 jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"055f6568fb16f057aeab838ee4a27446536e60b7","_resolved":"","_integrity":"","_from":"file:appchain-signer-2.0.2.tgz","description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","_id":"@appchain/signer@2.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-KaWzrB1uLw28vMjG6jf+slZFG3+uELWg0jXPxjTIBErZWmkbvdYBI7eyGk0uObW5h/WAHzpeE0qOqAfjuY2h5w==","shasum":"9683a9f60bb2bef24cf7106508fb41817b61c490","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-2.0.2.tgz","fileCount":41,"unpackedSize":168109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7jgRCRA9TVsSAnZWagAAtfkP/id2CQZ//p/4BgVO//BD\nuHmd36oOMaAjmwJDDrJyij1Vd3E6dE19VCOqqyixK/S9Q4MbzWF9iArE40sV\n3bPEf4FAGj7ggbFfdVCYaosGPYs/I1aAKPrYJ6cghdRlkmErgAraM3nRZbC/\nRhnVFvg5I4CB5gnDEl0LQ8peyI7mxtwCpX07wRQaz+UU0z8s9kF/qJj16+o/\nRorYlptRSZcvH/NR8MdIgBInkuh9fQNlE38saC6dXVHOWiZ7Ui4+mbgDqD53\ntmkRkFRTwXm4B4f7Uk+16IxMgTzNti/8UYtUcVkLXu//FIrXsBozdR76yE21\nhGr0FFQmX4P5YE1rvmHTTPUlCajd1Ymeoih+tmRqZLzx4F/VdjHYdwGxIQGb\nJEeQopLHt+cSL0h5S3JP2GDY5dJSMohnfmhvXASsIGeqslEYoTBJtR8CN/Il\n2vvdhQE5tsjHzdaYa86Sbial5UAoIYS9ksLv7aTJA5JBWDz6ncvKL1d8oCQA\ng045ykNXI9VQc20NonGPZvyJssUWfOps9lHCnMFwznbg1oZmocFVXVUPeN76\n57iQmlJ1bR4ldJM5SDxMm4Rsi70d64uEwegPcbMEm4BeiampwfPIPwbNoUAW\n6N4ssNtAnkjZbm4Tuj6yMhh+YNyp5dgtBL5Zy+WNkjZ7jYEstvqiho392Yfy\nnKsy\r\n=fF9C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCii+tyWDZin7JO8Ev1f0Zl9sUl3RDNxbIKQ38i97tWKgIgaL4hWhZ6/X8IcgtP6UkRFGqmv88z3YJwGl05YU8OR+4="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_2.0.2_1542338576428_0.6824636242059265"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"2.0.3":{"name":"@appchain/signer","version":"2.0.3","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"tsc","test":"npm run test:v0","test:v0":"VERSION=0 jest","test:v1":"VERSION=1 jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"jest":"^23.2.0","nodemon":"^1.17.5","protoc":"^1.0.3","ts-node":"^7.0.0","ts-protoc-gen":"^0.7.3","typescript":"^2.9.2"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"999158f7c0bc661deffabfd41d87f15694077abc","_resolved":"","_integrity":"","_from":"file:appchain-signer-2.0.3.tgz","description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","_id":"@appchain/signer@2.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-sAd40d0WGkdv2OMspS4ZWD8gnei1QLO5uOz1pnHw95WqGdRq8Y0H+eSN0y2tJuOSlg1GePELdCFwp078Bxi1ig==","shasum":"146b5966a4e5e5b297abca508e7ab45ce1e7ad44","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-2.0.3.tgz","fileCount":41,"unpackedSize":169944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9qEgCRA9TVsSAnZWagAAmMQP/0M+hO4ffgxSihML07+A\nU8D/5FyomcMLLRoaUPhLc2pm/KrKMP8W/WnUBK57LVnQEhPRj6TKYG9Mo1Tt\nVk1rBKbxfbUXz5+LoaoN2uyGjX8lH1YRM/QxzuMgfZqEVRf1Krw3WnYhj4FE\ngBDO8FIqjQfXMhLFVQq7JKWuRv9LIkBkGiqaWNiFwh0/gBiLHse4G4/nym8a\n3ypEX6MUJjGoZpwcQo74qDLtYocQn5/+oOwQ5Jyc/4yX/a34QiCwHg9zesm+\nzow1jzYHjFoA95RUbx+ZhUTWXg2F9AHlh8LiXuVaMyt9laXkY6PGO7fOApld\nXl5tK7Rh5/aDgAwkD/QbTJVYqhs9YSQyINA5vpf9osaa4UTv56AK+s4S0f/e\nXgrfHz2EeQBQFEG2zubq8mk1OUzf1kKfGdXW2yLJFzfiECMU46OvlwLrVjPJ\n4Wxw97LfUmFJhMJ/wYkNtEr/Q8ITxpjGwiawrCj6nb+wzyIT5XsdiS117+rW\n7LWQrlguuj9kypb2tMWJClHquBzrRmBZvqOt6Cxt7IfT9LlLJ7BmAilkpId0\nOg226cUJo2+ed6jimfOkzvZ/UcxeKihBHRQvgqdS9oRHrfZcLMDgQG0KgjXL\nn59ShinupHbQ80PnW+OFDU1VFZQ8zqxwzi9d89efR3FlG17xL+USkNXKvyna\njRa0\r\n=7D5U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqABYLaftzasz1rMychNuVoVzDtsg2theSYXucDqT2GQIgA+a3h/MJlQEoOQlrRiJtk2tPWZxEN5/KmsOH+v03Fgk="}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_2.0.3_1542889759851_0.23548453478517262"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"},"2.0.4":{"name":"@appchain/signer","version":"2.0.4","main":"lib/index.js","private":false,"repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","scripts":{"start":"nodemon src/index.js","protoc":"protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=./proto-js --proto_path=cita-proto --js_out=import_style=commonjs,binary:./proto-js cita-proto/blockchain.proto","build":"../../node_modules/.bin/tsc","test":"npm run test:v1","test:v0":"VERSION=0 ../../node_modules/.bin/jest","test:v1":"VERSION=1 ../../node_modules/.bin/jest"},"dependencies":{"ec":"^0.0.1","elliptic":"^6.4.0","google-protobuf":"^3.5.0","web3":"^1.0.0-beta.34"},"devDependencies":{"protoc":"^1.0.3","ts-protoc-gen":"^0.7.3"},"jest":{"verbose":true,"testURL":"http://localhost/"},"gitHead":"a4f35e23cc4f47a172768f52c9e85d176d5c36d2","_resolved":"","_integrity":"","_from":"file:appchain-signer-2.0.4.tgz","description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","_id":"@appchain/signer@2.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"keith_chen","email":"keithwhisper@gmail.com"},"dist":{"integrity":"sha512-Hk3FMjB3VTYCXmiRGH9MR2DnNlQi4W2B9mmFCUEELFgiC3bIOPkz2MXbCnPITV81XycFKtEpzyDRz+JD/a4ilA==","shasum":"deae6486b2d04e0525a04f7d4d26b0a9a143e9bb","tarball":"https://registry.npmjs.org/@appchain/signer/-/signer-2.0.4.tgz","fileCount":41,"unpackedSize":169849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/NRsCRA9TVsSAnZWagAANDQQAIKjPprl8hZKkDnHI+50\n635rba7/yC31y6N10FTZnkQ660U35zIDKKfJ+ZpX/7+7CZSGJTQp4IOqR1eH\nyhtJ4VsktIEWVB7TdKgQglzVC0CxZ7jPtvLO0iCXx+8aq49Yv3Nkdr15dUwn\nQ1ATVftJQzkeAB0g9pOSDvETyDPvacYRst6cr3gyhL2LhNFuCOUy9rbPP/Px\nQtQz1/gxgiuFCREhNrtO2AQKcuQCcd7ySwCgAzCOTula+tXbrxE2Y/RlWWWi\n1o6QSBbo9TtKnLZknCNjytqKpG+a/wZUyqsE3HTKmDx5vSWRPhI+uoRAY+QJ\n+I/D0DPbmAmKxMIbt8KmJTA3SJc9RLjkDzAeqoR8jyfcB86mGKGDGDsjaqAS\ne+FYTOFFFPsynVh9rYW4ZYSmPZaWtkG1zRqJt07ByMjtsHk1fGlRjDKKY3t5\nU2ghd6CyrQzqVF44nGGCfUSssB1RRjbKwGSH8MkTsF0iMIrbNOU3Gxgljjha\n4LJco79JMwmiSNspPRKYnw3g0/rk8GuVa+wufHYU5/m+eXTGGKKn9IvLrby/\nDxZrKvjOkxA4Ov4pkA6P3PyvZHCnHje9Kk+rVN45xY4KtTJofkMM0DTn2QN+\n7jAsmwFQ7ypmGDPZchpmQVr+g+SC2u6gHDBaPK8Lm331CkTRoZfnQQQ6iiN5\n1NJO\r\n=rFa9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy6rjSDBrYLdTzbiGCXc6lei12c6pYc85pc7qIoH4nkwIhAJC5m7zTzhApihxq69TBCdb4ZpWKJfTciLaslUdHZj9x"}]},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/signer_2.0.4_1543296108212_0.9511863226667332"},"_hasShrinkwrap":false,"deprecated":"removed to @cryptape/cita-signer"}},"time":{"created":"2018-10-29T03:07:43.687Z","1.0.38":"2018-10-29T03:07:44.021Z","modified":"2022-04-04T14:44:54.460Z","1.0.39":"2018-11-02T11:12:43.472Z","2.0.0":"2018-11-12T06:27:19.202Z","2.0.1":"2018-11-12T17:12:48.925Z","2.0.2":"2018-11-16T03:22:56.522Z","2.0.3":"2018-11-22T12:29:20.033Z","2.0.4":"2018-11-27T05:21:48.325Z"},"maintainers":[{"name":"keith_chen","email":"keithwhisper@gmail.com"}],"description":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js) ![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg) [![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://","repository":{"type":"git","url":"https://github.com/cryptape/appchain.js/tree/master/packages/appchain-signer"},"author":{"name":"Keith","email":"keithwhisper@gmail.com"},"license":"MIT","readme":"[![Travis](https://travis-ci.org/cryptape/appchain.js.svg?branch=develop)](https://travis-ci.org/cryptape/appchain.js)\n![npm (scoped)](https://img.shields.io/npm/v/@appchain/signer.svg)\n[![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://img.shields.io/npm/v/@appchain/signer.svg)\n[![AppChain](https://img.shields.io/badge/made%20for-Nervos%20AppChain-blue.svg)](https://appchain.nervos.org)\n\n# nervos-signer\n\nThis package is the signing module.\n\n### API\n\n```javascript\n/**\n * @method signer\n * @desc sign a transaction\n * @param {object} transaction object\n * @param {string} [externalPrivateKey] - if external private key exsits, the one in transaction object will be overriden\n * @return {string} signedTransaction\n */\nsigner({\n  privateKey: '0x7cc34429d268cdf33e1595d9aa3c56bfcb785c24b7f6dd031fe059d93d8e92d9',\n  data:\n    '6060604052341561000f57600080fd5b60d38061001d6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806360fe47b114604e5780636d4ce63c14606e575b600080fd5b3415605857600080fd5b606c60048080359060200190919050506094565b005b3415607857600080fd5b607e609e565b6040518082815260200191505060405180910390f35b8060008190555050565b600080549050905600a165627a7a723058202d9a0979adf6bf48461f24200e635bc19cd1786efbcfc0608eb1d76114d405860029',\n  nonce: '47',\n  quota: 2.1e13,\n  validUntilBlock: 114930,\n  version: 0,\n  chainId: 1,\n  value: '0',\n})\n\n/**\n * @method unsigner\n * @desc unsign a signed transaction\n * @param {string} signed transaction\n * @return {object} unsigned transaction\n * {\n *    crypot: 0,\n *    sender: {\n *      address: 'f74b3a9c67d4b657dd335e1d5f57e7ef7d160470',\n *      publicKey: '708e8f442b8b94735d09c7f32eb05c0831f1f888dbbde5f979c0fd0613808facb857207c420b1c75a62612995a78455c2c21756e28a0a1c881d62ea3d6f975f0',\n *    },\n *    signature: '9941c2619195b833b3292a6aeb5aa568ee0a8cd5eef67e1ff77612c87121b65866483ba0c79d88445ad368459c600fbf52b6d0c20aaa507ecdaf233ff4cf2c4701',\n *    transaction: {\n *      chainId: 1,\n *      data: [...],\n *      nonce: '2e96d7a387092faa' ,\n *      quota: 1e8,\n *      to: '',\n *      validUntilBlock: 663228,\n *      value: [...],\n *      version: 0,\n *    }\n * }\n */\nunsigner(transactionContent)\n```\n\n### Basic Usage\n\n```javascript\nimport signer, { unsigner } from '@appchain/signer'\n\nconst transaction = {\n  privateKey: '0x7cc34429d268cdf33e1595d9aa3c56bfcb785c24b7f6dd031fe059d93d8e92d9',\n  nonce: 9999999,\n  quota: 1e10,\n  data:\n    '6060604052341561000f57600080fd5b60d38061001d6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806360fe47b114604e5780636d4ce63c14606e575b600080fd5b3415605857600080fd5b606c60048080359060200190919050506094565b005b3415607857600080fd5b607e609e565b6040518082815260200191505060405180910390f35b8060008190555050565b600080549050905600a165627a7a723058202d9a0979adf6bf48461f24200e635bc19cd1786efbcfc0608eb1d76114d405860029',\n  chainId: 1,\n  version: 0,\n  validUntilBlock: 999999999,\n}\n\nconst signed = sign(transaction)\nconst unsignedTransaction = unsigner(signed)\n```\n\n### In the case of no private key\n\nIf the transaction has no private key and `web3.eth.accounts.wallet` is empty, the returned msg will be plain transaction.\n","readmeFilename":"README.md"}