20.1.0 • Published 2 months ago

@taquito/signer v20.1.0

Weekly downloads
5,140
License
Apache-2.0
Repository
-
Last release
2 months ago

Taquito Signer package

Documentation can be found here TypeDoc style documentation is available on-line here

@taquito/signer is an npm package that provides developers with signing functionality for Taquito.

General Information

The 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).

This signer implementation is for development workflows.

Storing private keys in memory is suitable for development workflows but risky for production use-cases! Use the InMemorySigner appropriately given your risk profile.

Install

npm i --save @taquito/taquito
npm i --save @taquito/signer

Usage

Loading an unencrypted private key

import { InMemorySigner } from '@taquito/signer';
import { TezosToolkit } from '@taquito/taquito';

const Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');

Tezos.setProvider({ signer: await InMemorySigner.fromSecretKey('edsk...') });

Loading an encrypted private key with a passphrase

If 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.

import { InMemorySigner } from '@taquito/signer';
import { TezosToolkit } from '@taquito/taquito';

const Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');
Tezos.setProvider({
  signer: await InMemorySigner.fromSecretKey('your_private_key', 'your_passphrase'),
});

The following link can be used to fund an address on the different testnets: https://teztnets.com/.

Additional info

See the top-level https://github.com/ecadlabs/taquito file for details on reporting issues, contributing and versioning.

Disclaimer

THIS 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.

@alebusse/account-lib@steakwallet/chains@everything-registry/sub-chunk-895wallet-forgewallet-wizardshield-bridge-sdksavourlabs-wallet-sdkrevocation-managertezos-arbundlestezos-metamask-snaptezallettezos-postertezos-sdk-moduletezospublicprofiles@bitgo/sdk-coin-xtzgovernance-goquipuswap-v3-sdknode-red-contrib-tezos-utilstzprofiles@aloe2/sdk-coin-xtz@bitgo-beta/sdk-coin-xtz@blockwatch-cc/tezos-plugin-js@blockwatch-cc/tezos-test-env@castframework/blockchain-driver-tz@castframework/keyset-makerxp.networkvc-status-manager@fractible/fractible-sdk@hover-labs/kolibri-js@hover-labs/tezos-utils@hsyndeniz/react-native-hd-wallet@flashbake/flywheel@frausch/account-lib@gibrangul95/account-lib@infinitebrahmanuniverse/nolb-_taq@learnweb3dao/siwtezos@marigold-dev/deku-cli@marigold-dev/deku-tester@nexeraid/tezos-sig-gating-contracts-sdk@nexeraprotocol/nexera-id-tezos-sig-gating-contracts-sdk@facuintive/account-lib@jwalab/tezos-gateway@jwalab/tezos-work-queue@keepix/wallets-tezos@jachaval/account-lib@jellybazil/tztools@jichaoli/account-lib@rarible/tezos-sdk@ryan-bitgo/account-lib@stove-labs/arbitrage-bot-cli@stove-labs/tezos-dex-quipuswap@stove-labs/wxtz-sdk@plenty-labs/v3-sdk@oxheadalpha/fa2-contracts@oxheadalpha/tezos-tools@oxheadalpha/tznft@spruceid/tzprofiles@smartpy/common@taqueria/plugin-taquito@taqueria/plugin-jest@taqueria/protocol@taqueria/plugin-tzcompose@taqueria/plugin-tezbox@taqueria/plugin-contract-types@taqueria/node-sdk@tacoinfra/harbinger-lib@stakekit/signers@stakeordie/emprops-core@silalvado/account-lib@collabland/tezos@completium/completium-cli@tatumio/tezos-wallet-provider@tatumio/tezos@tezospayments/common@tatsujoestar/account-lib@tessellatedgeometry/stablecoin-lib@walless/network@zalastax/nolb-_taqaleph-sdk-tsauthfa2atomex-sdkarbuinosbalance-wallet-generatorbalance-wallet-generator-teamdexterlibcreate-tezos-appcreate-tezos-smart-contract
20.1.0

2 months ago

20.1.0-RC.0

2 months ago

21.0.0-beta.0

3 months ago

20.0.2-beta.1

5 months ago

20.0.2-beta.2

4 months ago

20.0.2-beta.0

5 months ago

20.0.0-RC.1

7 months ago

20.0.1

6 months ago

20.0.0

7 months ago

20.0.0-RC.0

7 months ago

19.2.1

7 months ago

20.0.0-beta.1

7 months ago

19.2.1-beta.2

8 months ago

19.2.1-beta.1

8 months ago

19.2.1-beta.0

8 months ago

20.0.0-beta.0

8 months ago

19.2.0

9 months ago

19.2.0-RC.0

9 months ago

19.1.0

10 months ago

19.1.0-RC.2

10 months ago

19.1.0-RC.1

10 months ago

19.1.0-beta-RC.0

10 months ago

19.0.2

10 months ago

19.0.1

11 months ago

19.0.0

11 months ago

19.0.0-beta-RC.0

11 months ago

17.5.2

12 months ago

17.5.1

12 months ago

17.5.0

1 year ago

17.3.0-beta.1

1 year ago

18.0.0-RC.0

1 year ago

17.3.0

1 year ago

17.3.2

1 year ago

17.3.1

1 year ago

17.4.0

1 year ago

17.1.1

1 year ago

17.1.0

1 year ago

17.2.0

1 year ago

17.0.0

2 years ago

17.0.0-beta-RC.0

2 years ago

16.2.0-beta-RC.0

2 years ago

16.2.0

2 years ago

16.1.2

2 years ago

16.1.1

2 years ago

16.1.0

2 years ago

16.0.0-beta-RC.0

2 years ago

16.1.2-beta-RC.0

2 years ago

16.0.1

2 years ago

16.0.0

2 years ago

15.1.0-beta-RC.0

2 years ago

15.1.0-beta-RC.1

2 years ago

15.0.0

2 years ago

15.0.1

2 years ago

15.1.0

2 years ago

15.0.0-beta-RC.0

2 years ago

14.1.0-beta-RC.0

2 years ago

14.2.0-beta-RC.0

2 years ago

14.1.0

2 years ago

14.2.0

2 years ago

14.0.0-beta-RC.0

2 years ago

14.0.0

2 years ago

13.0.0

3 years ago

13.0.1

2 years ago

13.0.0-beta-RC.0

3 years ago

12.1.1

3 years ago

12.0.3

3 years ago

12.0.1

3 years ago

12.0.2

3 years ago

12.1.0-beta-RC.0

3 years ago

12.1.0

3 years ago

12.0.0

3 years ago

12.0.0-beta-RC.0

3 years ago

11.2.0

3 years ago

11.2.0-beta-RC.0

3 years ago

11.1.0-beta-RC.0

3 years ago

11.0.0-beta-RC.0

3 years ago

11.0.0-beta-RC.1

3 years ago

11.1.0

3 years ago

11.0.2

3 years ago

11.0.0

3 years ago

11.0.1

3 years ago

10.2.1

3 years ago

10.2.0

3 years ago

10.2.0-beta-RC.0

3 years ago

10.1.3

3 years ago

10.1.2

3 years ago

10.1.1

3 years ago

10.1.0-beta-RC.0

3 years ago

10.1.0

3 years ago

10.0.0

3 years ago

10.0.0-beta-RC.0

3 years ago

9.2.0

3 years ago

9.2.0-beta-RC.1

3 years ago

9.2.0-beta-RC.0

3 years ago

9.2.0-beta-RC.2

3 years ago

9.1.1-beacon.2

4 years ago

9.1.1-beacon.3

3 years ago

9.1.1

4 years ago

9.1.1-beta-RC.0

4 years ago

9.1.0-beta-RC.1

4 years ago

9.1.0-beta-RC.0

4 years ago

9.1.0

4 years ago

9.1.1-beacon.1

4 years ago

9.0.1

4 years ago

9.0.0

4 years ago

9.0.0-beta-RC.1

4 years ago

9.0.0-beta-RC.0

4 years ago

8.1.1

4 years ago

8.1.0

4 years ago

8.1.0-beta-RC.0

4 years ago

8.0.6-beta.0

4 years ago

8.0.6-beta-RC.0

4 years ago

8.0.5-preview.0

4 years ago

8.0.5-pack.1

4 years ago

8.0.5-pack.0

4 years ago

8.0.4-beta.0

4 years ago

8.0.4-beta-RC.0

4 years ago

8.0.3-beta.0

4 years ago

8.0.2-beta.0

4 years ago

8.0.1-RC.3

4 years ago

8.0.1-beta.1

4 years ago

8.0.1-edo2net.0

4 years ago

8.0.1-RC.1

4 years ago

8.0.1-RC.2

4 years ago

8.0.0-beta.7

4 years ago

8.0.0-beta.6

4 years ago

8.0.0-beta.5

4 years ago

8.0.0-beta.4

4 years ago

8.0.0-beta.3

4 years ago

8.0.0-beta.2

4 years ago

8.0.0-beta.1

4 years ago

7.2.0-beta.2

4 years ago

8.0.0-alpha.0

4 years ago

7.1.1-preview.0

4 years ago

7.2.0-alpha.1

4 years ago

7.2.0-alpha.2

4 years ago

7.2.0-alpha.0

4 years ago

7.1.0-beta.0

4 years ago

7.1.0-preview.10

4 years ago

7.1.0-preview.9

4 years ago

7.1.0-preview.8

4 years ago

7.1.0-preview.7

4 years ago

7.1.0-preview.5

4 years ago

7.1.0-preview.6

4 years ago

7.1.0-preview.4

4 years ago

7.1.0-preview.3

4 years ago

7.1.0-preview.2

4 years ago

7.1.0-preview.1

4 years ago

7.0.1-beta.0

4 years ago

7.0.0-beta.0

4 years ago

7.0.0-beta-RC.0

4 years ago

7.0.0-beta.pre.0

4 years ago

6.4.0-ledger.0

4 years ago

6.3.5-beta.0

4 years ago

6.3.4-beta.0

4 years ago

6.3.3-beta.0

4 years ago

6.3.2-beta.0

4 years ago

6.3.1-beta.0

5 years ago

6.3.0-beta.5

5 years ago

6.3.0-wallet.4

5 years ago

6.3.0-wallet.3

5 years ago

6.3.0-wallet.2

5 years ago

6.3.0-wallet.1

5 years ago

6.2.0-beta.1

5 years ago

6.3.0-wallet.0

5 years ago

6.2.0-beta.0

5 years ago

6.1.1-beta.0

5 years ago

6.1.0-beta.0

5 years ago

6.0.3-beta.1

5 years ago

6.0.3-beta.0

5 years ago

6.0.2-beta.0

5 years ago

6.0.1-beta.0

5 years ago

6.0.0-beta.0

5 years ago

5.3.1-beta.1

5 years ago

5.3.1-beta.0

5 years ago

5.3.0-beta.0

5 years ago

5.2.0-beta.1

5 years ago

5.2.0-beta.0

5 years ago

5.1.0-beta.1

5 years ago

5.0.1-beta.2

5 years ago

5.0.1-beta.1

5 years ago

5.0.1-beta.0

5 years ago

5.0.0-alpha.1

5 years ago

5.0.0-alpha.0

5 years ago

4.1.0-beta.6

5 years ago

4.1.0-beta.5

5 years ago

4.1.0-beta.4

5 years ago

4.1.0-beta.3

5 years ago