| | |
| | | */ |
| | | public class RocService { |
| | | |
| | | private final static String URL = "http://api.rocwallet.cc"; |
| | | private final static String URL = "http://wallet.rfncwallet.vip"; |
| | | |
| | | private final static String CREATE_WALLET= "/init/createaccount"; |
| | | private final static String TRANSFER_METHOD= "/transfer/transferWithPrivateKey"; |
| | | |
| | | private final static String TOTAL_ADDRESS = "ROC0f23b4d74e63473497d342fe98fcd436"; |
| | | private final static String TOTAL_PRIVATE_KEY = "5dd9f1caa18d46dfa3063e349eff32992b3043f510c645"; |
| | | private final static String TOTAL_ADDRESS = "RFNCe0cdafb0b8d945bcbcce39f416e292c0"; |
| | | private final static String TOTAL_PRIVATE_KEY = "fb603d3339534f6cbf92465e0ee2738068358f2861fb41"; |
| | | private final static BigDecimal fee = new BigDecimal("0.006"); |
| | | public static String transfer(BigDecimal balance,String toAddress,String symbol){ |
| | | TransferModel transferModel = new TransferModel(); |