How to use the @taquito/rpc.RpcClient function in @taquito/rpc

To help you get started, we’ve selected a few @taquito/rpc 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 / packages / taquito / src / context.ts View on Github external
constructor(
    private _rpcClient: RpcClient = new RpcClient(),
    private _signer: Signer = new NoopSigner(),
    private _proto?: Protocols,
    private _config?: Partial,
    forger?: Forger,
    injector?: Injector
  ) {
    this.config = _config as any;
    this._forger = forger ? forger : new RpcForger(this);
    this._injector = injector ? injector : new RpcInjector(this);
  }

@taquito/rpc

Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node

Apache-2.0
Latest version published 5 days ago

Package Health Score

66 / 100
Full package analysis

Popular @taquito/rpc functions