How to use the bitski-node.getProvider function in bitski-node

To help you get started, we’ve selected a few bitski-node 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 wighawag / rocketh / bitski_subprovider.js View on Github external
//     network = 'ropsten';
    // }

    this.lastId = 0;
    const options = {
        credentials: {
          id: credentialID,
          secret,
        },
        network,
        debug: config.debug,
        disableBlockTracking: true,
    };
      
    // Pass options with the provider
    this.bitskiProvider = Bitski.getProvider(clientID, options);
    // this.bitskiProvider._blockTracker.stop();
    this.accounts = accounts;
}
github 0xcert / framework / packages / 0xcert-ethereum-bitski-backend-provider / src / core / provider.ts View on Github external
public constructor(options: BitskiProviderOptions) {
    super(options);

    this._options = options;
    this._client = this;
    this._provider = Bitski.getProvider(options.clientId, {
      network: typeof options.network === 'undefined' ? 'mainnet' : options.network,
      credentials: {
        id: options.credentialsId,
        secret: options.credentialsSecret,
      },
    });
  }

bitski-node

Bitski SDK for Node environments

ISC
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular bitski-node functions

Similar packages