{"name":"@taquito/signer","version":"9.2.0","keywords":["tezos","blockchain","signer"],"author":{"name":"Simon Boissonneault-Robert","email":"simon@ecadlabs.com"},"license":"MIT","_id":"@taquito/signer@9.2.0","dist":{"shasum":"0b5954918cfa10ca034fbb16ee4cfd9fcc26e865","tarball":"http://registry-npm.ywwl.com/@taquito/signer/download/@taquito/signer-9.2.0.tgz","fileCount":22,"integrity":"sha512-fUCgqv5yvQJdsQqYLTVQwZSMuZ+wgWSUZXxNT5zS3wRM93NuT0SmTlx39NlABTV28KoDgftNcpbhxHMnaZIP6w==","signatures":[{"sig":"MEUCIQCSBfe8hVL6q06IJqGMN3uJ4QymyH59pV/JBigICa96cQIgDJf701Myn0qeexe1WTcs0GMoTbOar1reyYmv26GDJH0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":140673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4GAsCRA9TVsSAnZWagAAz+kP/0dKTukRLTpCmrcpo6ox\n6LZP5WsGyAyPttQjtdBeoKur2KrfT9H2NGwgfr8zSru+wFXIYs7eDAX3oqNx\n6ufimTJjeK6smlkQEysrh1VyaLprAhzXrUKe8tLKpz9M/uwvFSNFyjQp4VbA\negOPouMW52Ky/g5uyuIg8mCggXOA/N1aVvKuOg1nwS6Qa/rdOxCjUPNLrjrK\n4UV1ogIiFQogDoELgKDQfFYQ3JsPi5Fnk08dNdCeBH11BOlLQW9FeD+gZgHo\nhbJHsun0DMhRgQco4fWKqPqIq9xFPKhQJqjfR9jyYwUOU41zaHuowvf2i3lQ\naZdvGMmyorw6SCCs5yHl26nHAQc4RFhBSRFL9nPz737c4zcDW/kOwWo2LhcF\nvJQsU3cz+lZpy8aAPXJs2K5M27bUGym142df1lqI8LHpAtTv8lYB0yQxztIi\nFsG6Mhq3aEMT6dRLGfP6TMaK0sQRe0o+tkgBvqb8gyZk+AtkhcDxyzPXjEtl\nIBIyaV5JSyrVTOEzShJBC9BfcWuJ1WRaxFhcacedTIPQjrIW8z0ga7VhiScV\n9iCW8h87XMAQ8ziJb39EDpvrCfpv4H/8qZpkUnHbEEN4gAF+KCXA61s0A6u1\nE3xkH+W5mQILPJfWySQrnC3GcIG+XKfxCM4Mvu3zEa4gWXZedRlfq5Lc+qH+\nV9lc\r\n=DV8i\r\n-----END PGP SIGNATURE-----\r\n","size":22483,"noattachment":false,"key":"/@taquito/signer/-/@taquito/signer-9.2.0.tgz"},"jest":{"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","moduleNameMapper":{"^@taquito/utils$":"<rootDir>/../taquito-utils/src/taquito-utils.ts"},"collectCoverageFrom":["src/**/*.{js,ts}"],"moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"]},"main":"dist/taquito-signer.umd.js","module":"dist/taquito-signer.es5.js","engines":{"node":">=6.0.0"},"gitHead":"aa3edf66923b047614122a90dacb97cc0bcc4ca6","scripts":{"lint":"eslint --ext .js,.ts .","test":"jest --coverage","build":"npm run version-stamp && tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts","start":"npm run version-stamp && rollup -c rollup.config.ts -w","prebuild":"rimraf dist","precommit":"lint-staged","test:prod":"npm run lint && npm run test -- --no-cache","test:watch":"jest --coverage --watch","version-stamp":"node ../taquito/version-stamping.js"},"typings":"dist/types/taquito-signer.d.ts","_npmUser":{"name":"roxaneletourneau","email":"roxane@ecadlabs.com"},"repository":{"url":"","type":"git"},"_npmVersion":"lerna/4.0.0/node@v10.24.1+x64 (linux)","description":"Provide signing functionality to be with taquito","directories":{},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","tslint --fix","git add"]},"_nodeVersion":"10.24.1","dependencies":{"bip39":"^3.0.4","pbkdf2":"^3.1.2","elliptic":"^6.5.4","bignumber.js":"^9.0.1","@taquito/utils":"^9.2.0","@taquito/taquito":"^9.2.0","libsodium-wrappers":"0.7.8","typedarray-to-buffer":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","colors":"^1.4.0","eslint":"^7.29.0","prompt":"^1.1.0","rimraf":"^3.0.2","rollup":"^2.51.1","shelljs":"^0.8.4","ts-jest":"^26.4.4","ts-node":"^10.0.0","typedoc":"^0.20.36","prettier":"^2.3.1","coveralls":"^3.1.0","cross-env":"^7.0.3","typescript":"^4.1.5","@types/jest":"^26.0.23","@types/node":"^15.12.2","jest-config":"^26.6.3","lint-staged":"^11.0.0","@types/pbkdf2":"^3.1.0","@types/elliptic":"^6.4.12","replace-in-file":"^6.2.0","lodash.camelcase":"^4.3.0","rollup-plugin-json":"^4.0.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^9.0.0","rollup-plugin-sourcemaps":"^0.6.3","@types/libsodium-wrappers":"0.7.8","@typescript-eslint/parser":"^4.28.1","rollup-plugin-typescript2":"^0.30.0","@typescript-eslint/eslint-plugin":"^4.28.1"},"_npmOperationalInternal":{"tmp":"tmp/signer_9.2.0_1625317419584_0.9841339410496328","host":"s3://npm-registry-packages"},"readme":"# Taquito Signer package\n*Documentation can be found [here](https://taquito.io/docs/inmemory_signer)*\n*TypeDoc style documentation is available on-line [here](https://taquito.io/typedoc/modules/_taquito_signer.html)*\n\n`@taquito/signer` is an npm package that provides developers with signing functionality for Taquito.\n\n## General Information\n\nThe Inmemory signer is a local signer implementation that allows you to directly use a private key in your browser or your nodejs app. When the InMemorySigner is configured, all Taquito functionalities that need signing support can be used. The operation will be signed automatically using the signer (no prompt).\n\nThis signer implementation is for development workflows.\n\n**Storing private keys in memory is suitable for development workflows but risky for\nproduction use-cases! Use the InMemorySigner appropriately given your risk profile.**\n\n## Install\n```\nnpm i --save @taquito/taquito\nnpm i --save @taquito/signer\n```\n\n## Usage\n### Loading an unencrypted private key\n\n```js\nimport { InMemorySigner } from '@taquito/signer';\nimport { TezosToolkit } from '@taquito/taquito';\n\nconst Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');\n\nTezos.setProvider({ signer: await InMemorySigner.fromSecretKey('edsk...') });\n```\n\n### Loading an encrypted private key with a passphrase\n\nIf your private key is encrypted, you can specify a passphrase to decrypt it. Doing so will automatically decrypt the key and allow you to use the signer to sign transactions.\n\n```js\nimport { InMemorySigner } from '@taquito/signer';\nimport { TezosToolkit } from '@taquito/taquito';\n\nconst Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');\nTezos.setProvider({\n  signer: await InMemorySigner.fromSecretKey('your_private_key', 'your_passphrase'),\n});\n```\n\nThe following link can be used to fund an address on the different testnets: https://teztnets.com/.\n\n## Additional info\n\nSee the top-level [https://github.com/ecadlabs/taquito](https://github.com/ecadlabs/taquito) file for details on reporting issues, contributing and versioning.\n\n## Disclaimer\n\nTHIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","publish_time":1625317419733,"maintainers":[{"name":"jevonearth","email":"jev@ecadlabs.com"},{"name":"roxaneletourneau","email":"roxane@ecadlabs.com"},{"name":"gimbrailo","email":"ginoimbrailo@gmail.com"},{"name":"hui-an.yang","email":"hui-an.yang@ecadlabs.com"},{"name":"dsawali","email":"davis.sawali@ecadlabs.com"},{"name":"alirezahaghshenas","email":"alirezahaghshenas@gmail.com"}],"_cnpm_publish_time":1625317419733,"dist-tags":{"latest":"25.1.1","next":"25.2.0-beta0"}}