1.0.3 • Published 11 months ago

@castframework/blockchain-driver-tz v1.0.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
11 months ago

Tezos Blockchain Driver

Usage

import { TezoslockchainDriver } from '@castframework/blockchain-driver-tz';

const driver = new TezoslockchainDriver({
  config: {
    // Config here
  },
  signer: new PrivateKeySigner('your private key'),
  nodeURL: 'your node url',
});

Configuration

Default

PropertyTypeDescriptionDefault value
nodeURLstringTODO description5
signernumberTODO description5
configTezosConfigTezos driver configuration objectSee below
config.confirmationPollingIntervalSecondnumberTODO description5
config.confirmationPollingTimeoutSecondnumberTODO description180
config.defaultConfirmationCountnumberTODO description5
config.shouldObservableSubscriptionRetrybooleanTODO descriptiontrue
config.observableSubscriptionRetryFunctionMonoTypeOperatorFunctionTODO descriptionSee below
config.transactionInfoProviderFactoryTransactionInfoProviderFactory\<TezosBlockchainDriver>TODO descriptiontrue

Example

import { TezosConfig } from '@castframework/blockchain-driver-tz';

const config: TezosConfig = {
  confirmationPollingTimeoutSecond: 3600,
  defaultConfirmationCount: 2,
}

View mappers

TODO: describe event sink

Events

TODO: describe event sink