Post
Topic
Board Service Announcements (Altcoins)
Re: AltSheets software: AltFolio - price-updated ALTcoin PortFOLIO Overview, new v51
by
altsheets
on 30/06/2015, 01:32:20 UTC
AltSheets B.E.E.f.A

copy of my 4 postings in the HZ thread




Block explorer extension for asset

feature request 2:
block explorer page for assets

https://explorer.horizonplatform.io/?page=asset&id=8101260088962758269
--> "could not find template views/templates/asset.phtml"
If you send me an example, I am offering to build that page for you/us/everyone.

e.g. the views/templates/transaction.phtml (?) the file that generates
https://explorer.horizonplatform.io/?page=transaction&id=8101260088962758269

The advantage would be that every asset has a page with the most basic information about it.
At the moment there is only the "complete list" https://explorer.horizonplatform.io/?page=assets but with no extra information.

Anyone wants to pledge some crowd bounty for it?

Altsheets, after your previous posting about the asset transaction deficit prompted me to examine the leading NXT explorers (my fav has been https://nxtblocks.info/ which much to my dismay I just learned is shutting-down - announcement on their homepage) it occurred to me that this indeed appears to be a needed extension of the Horizon explorer. Therefore if the community sees fit to crowdfund that I would support it. Thx.

I'd love to see that work out. Will publish the source these days!

Thanks, mavigro, for supporting of my idea. Such feedback is honey for my soul :-)

And thanks, pharesim, for the code, and helping me to install it on my server, great!


As usual, and like many times before, I am disappointed that almost no one reacted to this:

Anyone wants to pledge some crowd bounty for it?

... but that seems to reflect the state of the crypto subculture. Egoistic.

Money has a very bad influence on the otherwise beautiful human soul.
We should consider as a species ... if we can afford to stick to capitalism as such.


However, the lack of donations ... has not kept me from doing it ! And ...

YIEHAH, I SUCCEEDED!

  • I installed the existing source code (creating a mini manual for it),
    and ran the backend (took ~36 hours on my small droplet!)

  • Then today, "learnt PHP" for it.
    And deciphered the existing code structure, whew.

  • and then implemented my new page asset.phtml,
    and extended it with many useful little ideas, and improvements.


keep tuned ...




Block Explorer Extension for Assets ...
B.E.E.f.A - quick start:

So that you can see live what I have coded, I put it on a
(weak!) server of mine (only until it will be  pulled upstream).


Isn't that great?

-->

Now you can get the issuance information (including the text description)
for all HZ assets, just by changing that long 19-digits id number in the above URL.

Try it out - e.g. post links to your favorite asset here ...




B.E.E.f.A - quick start: ...
Block explorer extension for assets
Suggestion: Warnings about certain assets

In the past there have already been discussions about blacklisting assets - which I do not want to repeat here. Me personally, I am strongly opposed to any kind of censorship. "Caveat emptor (Buyer beware)" is a more grown up concept than the childish "Consumer protection by censorship and prohibition". A good option is whitelisting assets (see the HZ "trusted assets" page), but there are yet only 4, and I always thought ...

... "what about all the other 100+ HZ assets out there"?
That is why I built my extension asset.phtml.

I would want it to always display all assets ... scam, test, or proper ... regardless. What is on the blockchain, gets reported!

But still -especially where without any doubts- I consider ADDITIONAL information is appropriate ... if a certain asset should rather not be bought. Good thinking?

So this is what I coded, to implement a first approximation of that idea:

asset warnings

Some assets are known to be test assets, or revoked (by the issuer), or even scams (perhaps, probably or proven scams).

However, the (too) centralized power of the only official block explorer ... needs a balance between user protection and issuer protection (and censorship is bad)!

So with my new 'asset.phtml' extension ... all assets are still shown - but in some cases with a clear warning.

All is hardcoded into an XML file.
I urge the team to always link back to a forum post where detailed explanations are given, and can be discussed - so that e.g. the issuer gets a chance to react to the suspicion.

examples for the different warnings:


To be totally clear:
Almost all assets will show none of those warnings
- because they are intended to be, and run as proper assets.

What do you think about that suggested system?


P.S.:
This whole "warnings" function is already coded now,
but it can be easily ignored completely. My extension works well without filling in that 'assetwarnings.xml'.
If you find it too much to worry about for now ... just go back to the "quick start" posting above now.

.



B.E.E.f.A - quick start: ... Block explorer extension for assets ...

Source code, and ReadMe


source code: https://github.com/altsheets/hz-blockexplorer

readme for my BEEfA extension asset.phtml: https://github.com/altsheets/hz-blockexplorer/blob/master/assetsReadme.md

new discussion in the horizon forum: https://horizonplatform.io/topic/b-e-e-f-a-block-explorer-extension-for-assets-page-in-b-e-one-per-asset/



wow, what an enjoyable coding day

 Cool


This is just a copy-for-eternity, to document it here on my AltSheets timeline.

Please do discuss it over there in the HZ thread, or in the Horizon Forum, not here ! Thx :-)