[bisq-network/bisq-assets] Add support for CryptoTari; add Stellar token address validator (#19)
Manfred Karrer
notifications at github.com
Tue May 29 16:42:19 UTC 2018
ManfredKarrer commented on this pull request.
> + * Validates whether a stellar address has the necessary trustline
+ * established to receive the token. The validator uses the stellar
+ * horizon network to do the lookup.
+ *
+ * @author Peter Molnar/litlp007
+ * @since 0.7.0
+ */
+public class StellarTokenAddressValidator implements AddressValidator {
+
+ private String code;
+ private String issuer;
+
+ public static String getText(String url) throws Exception {
+ URL website = new URL(url);
+ URLConnection connection = website.openConnection();
+ BufferedReader in = new BufferedReader(
External requests are not permitted!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-assets/pull/19#discussion_r191494174
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180529/ee4bd766/attachment-0002.html>
More information about the github
mailing list