| | |
| | | @Test |
| | | public void balance() { |
| | | |
| | | // dappSystemService.selectAndInsertDics(); |
| | | dappSystemService.selectAndInsertDics(); |
| | | // /** |
| | | // * 从contractAddress合约地址中转移对应发行的代币到address中 |
| | | // */ |
| | | // dappSystemService.bnbTransfer(6L); |
| | | |
| | | |
| | | String address = AppContants.ADDRESS_A_POOL_PEOJECT; |
| | | /** |
| | | * 发起USDT转账 |
| | | */ |
| | | String hash = ChainService.getInstance(ChainEnum.BSC_USDT.name()).transfer(address, new BigDecimal("0.01")); |
| | | System.out.println(hash); |
| | | // String address = AppContants.ADDRESS_A_POOL_PEOJECT; |
| | | // /** |
| | | // * 发起USDT转账 |
| | | // */ |
| | | // String hash = ChainService.getInstance(ChainEnum.BSC_USDT.name()).transfer(address, new BigDecimal("0.01")); |
| | | // System.out.println(hash); |
| | | } |
| | | |
| | | @Test |