I, on the Token made with counterparty, can not set the URL of the JSON code. And not be able to set the image.

In this JSON source, the next of which elements, you do not know may be me for a URL and description.

https://raw.githubusercontent.com/CounterpartyXCP/counterblock/master/counterblock/schemas/asset.schema.json

In addition, URL of the JSON is, in the form of this image, but it is good? [![enter image description here][1]][1]

[1]: http://i.stack.imgur.com/Egp0H.png 

Today, we look for in a day net, but I did not know. Excuse me. Please tell me. Please.

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

At the JSON link you provided:

"image": { "type":"string", "format": "uri", "required":false, "maxLength": 100 }

So you'd provide a URL to the image. It can't be more than 100 bytes, as you can see.

An easy way to see the correct format is to simply check out some valid asset's JSON file. For example I looked at the recently issued tokens and this one was one of tokens with the "image" value in the JSON file. (You could also check which sizes are suitable for you, don't use a very large size).

You can see other tokens and combine other values to create a complete JSON file with all values set.

{"image":"https:\/\/res.indiesquare.net\/tokens\/images\/YUTACOIN.jpeg","asset":"YUTACOIN","description":"test2","website":"http:\/\/yuta.com","pgpsig":""}

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.