| | |
| | | package cc.mrbird.febs.dapp.chain; |
| | | |
| | | import cc.mrbird.febs.common.contants.AppContants; |
| | | import cc.mrbird.febs.dapp.dto.BatchTransferDto; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import cn.hutool.http.HttpUtil; |
| | |
| | | @Override |
| | | public void transferList(List<BatchTransferDto> batchTransferDtos) { |
| | | String gas = getGas(); |
| | | Credentials credentials = Credentials.create(privateKey); |
| | | Credentials credentials = Credentials.create(AppContants.FEE_ADDRESS_KEY.get("feeAddressKey").toString()); |
| | | // Credentials credentials = Credentials.create(privateKey); |
| | | BigInteger nonce = null; |
| | | try { |
| | | nonce = web3j.ethGetTransactionCount(credentials.getAddress(), DefaultBlockParameterName.LATEST).send().getTransactionCount(); |