下载钱包
https://github.com/dashpay/dash/releases/download/v0.15.0.0/dashcore-0.15.0.0-win64-setup.exe
配置文件
#rpcuser, rpcpassword, rpcport
rpcuser=
rpcpassword=
rpcport=19998
#rpcbind=127.0.0.1
rpcbind=0.0.0.0
rpcallowip=
listen=1
server=1
daemon=1
上代码
public class DashApi extends BitcoinJSONRPCClient implements CoinBaseApi {
static Logger logger = Logger.getLogger(QtumApi.class) ;
private String rpcUrl ;
private String rpcPwd ;
private String rpcName ;
private String rpcPost ;
private static final String coinName = "DASH" ;
public DashApi(URL rpcUrl) throws MalformedURLException {
super(rpcUrl);
}
初始化链接
public static DashApi getInstance(String rpcUrl,String rpcPwd,String rpcName,String rpcPost){