Search content
Sort by

Showing 4 of 4 results by davidjim
Post
Topic
Board Development & Technical Discussion
Re: How to view asset metadata
by
davidjim
on 21/03/2016, 06:32:29 UTC
In colored coin protocol, I know how to create an asset in a platform. I also can view the created asset. But I want to confirm it from other platforms. How to create an asset seems not to be a standard. During creating an asset, I used a lot of metadata. I just want to see these metadata in other platforms.

Thanks,

David
Post
Topic
Board Development & Technical Discussion
Topic OP
How to view asset metadata
by
davidjim
on 20/03/2016, 09:18:24 UTC
I used one platform to create an asset metadata in colored coin protocol. I can use that platform to view an asset metadata. I found out some asset explorer for mainnet. But I need one for testnet. I am looking for open source asset explorer so I can use it in my incoming application. Is there a asset explorer available for testnet? How do I use bitcoinj to view asset metadata?

Thanks,

David
Post
Topic
Board Development & Technical Discussion
Topic OP
implement Bitcoin Core?s signmessage command
by
davidjim
on 16/03/2016, 09:30:36 UTC
How do I implement Bitcoin Core?s signmessage command in Java?

In order to get a signature, I used the following code:

ECKey key = ECKey.fromPrivate("morR2S8NfjiphGnGWwXuSXPoW9pRM9Du9h".getBytes());
String signature = key.signMessage(?create 225015613080074076?);

But I got the following exception. I don't know why?

java.lang.ArrayIndexOutOfBoundsException
   at java.lang.System.arraycopy(Native Method)
   at org.spongycastle.crypto.signers.HMacDSAKCalculator.init(HMacDSAKCalculator.java:58)
   at org.spongycastle.crypto.signers.ECDSASigner.generateSignature(ECDSASigner.java:94)
   at org.bitcoinj.core.ECKey.doSign(ECKey.java:629)
   at org.bitcoinj.core.ECKey.sign(ECKey.java:619)
   at org.bitcoinj.core.ECKey.signMessage(ECKey.java:769)
   at org.bitcoinj.core.ECKey.signMessage(ECKey.java:756)
   at com.am.coinspark.service.MessageCreate.getSignature(MessageCreate.java:115)
   at com.am.coinspark.service.MessageCreate.main(MessageCreate.java:94)
Post
Topic
Board Altcoin Discussion
Topic OP
coloredcoin.org vs coinspark
by
davidjim
on 10/03/2016, 00:46:15 UTC
I like to hear your opinions about comparison of coinspark.org vs coloredcoin.org. Are they really free and open? They both provide features I want. Coinspark has a Java client API and it doesn't have a user group. But coloredcoin doesn't have Java client api and it has a user group. Which is better for Java developer? Thank you so much!

David