org.web3j.tx.FastRawTransactionManager Java Examples

The following examples show how to use org.web3j.tx.FastRawTransactionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DepositTransactionSender.java    From teku with Apache License 2.0 5 votes vote down vote up
public DepositTransactionSender(
    final Web3j web3j,
    final Eth1Address depositContractAddress,
    final Credentials eth1Credentials) {
  this.depositContract =
      DepositContract.load(
          depositContractAddress.toHexString(),
          web3j,
          new FastRawTransactionManager(
              web3j,
              eth1Credentials,
              new PollingTransactionReceiptProcessor(
                  web3j, POLL_INTERVAL_MILLIS, MAX_POLL_ATTEMPTS)),
          new DefaultGasProvider());
}