How to use the @taquito/taquito.TezosToolkit function in @taquito/taquito

To help you get started, we’ve selected a few @taquito/taquito examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ecadlabs / taquito / integration-tests / config.ts View on Github external
export const CONFIGS = providers.map((provider) => {
  const Tezos = new TezosToolkit();
  Tezos.setProvider({ rpc: provider })
  return {
    rpc: provider, lib: Tezos, setup: async () => {
      let faucetKey = {
        email: "peqjckge.qkrrajzs@tezos.example.org",
        password: "y4BX7qS1UE", mnemonic: [
          "skate",
          "damp",
          "faculty",
          "morning",
          "bring",
          "ridge",
          "traffic",
          "initial",
          "piece",
          "annual",
github ecadlabs / taquito / packages / taquito-react-components / stories / balance-history.stories.tsx View on Github external
function createTK() {
    const tk = new TezosToolkit();
    tk.setProvider({ rpc: 'https://alphanet-node.tzscan.io' });
    return tk;
}
github ecadlabs / taquito / packages / taquito-react-components / src / tezos-context.ts View on Github external
import { TezosToolkit } from "@taquito/taquito";
import React from "react";

export const TezosContext = React.createContext(new TezosToolkit());
github ecadlabs / taquito / packages / taquito-react-components / stories / index.stories.tsx View on Github external
function createTK() {
  const tk = new TezosToolkit();
  tk.setProvider({ rpc: 'https://alphanet-node.tzscan.io' });
  return tk;
}