Bitcoin Forum
November 22, 2017, 06:53:47 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: HZ/NXT: assetparser.py >40 columns per asset | shareholders.py inner circle PM  (Read 7212 times)
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
July 14, 2015, 03:48:49 PM
 #61

New much improved version of
assetparser.py

changelog:

* asset holders, accounts:
** before only the workarounds for HZ were implemented, now all also works on NXT again
** funfacts accounts: number of asset positions, asset holding accounts
** HZ: pickle/unpickle all accounts (for faster debugging)

* assets:
** NXT: genesis account block time --> time calculations
** funfacts assets: simple asset shareholder analysis (mean median max, >10, >100, >1000)

* trades:
** Nxt version: sellers & buyers are given by API (faster & easier than HZ workaround of getting all order txs)
** HZ: extracted order ids can now also contain bidOrders, or freely choosable (good for 'shareholders.py')
** progress: show a "*" per downloaded asset
** funfacts: simple number-of-trades analysis (mean median max, >10, >100, >1000)
** analyzeAllTrades can easily handle 100k trades

* architecture:
** all asset-specific analysis is already or will go into shareholders.py
** most api calls now in an own module apiclient.py

* observables - what cannot be calculated for HZ now also include as empty columns, to allow easier platform mixing
* altprices.py - usd as a base, due to missing data
* logging - better and more consistent logging output


Future:

Open for suggestions.


Sample output:
NXT assetparser.py
Code:
[03:51:30.118]  nxt:

[03:51:30.118]  API-downloading all assets ...
[03:51:31.365]  API-downloading all assets: 572 assets. DONE.
[03:51:31.365]  pickling 'getAllAssets' API results to file, for later reuse ...
[03:51:31.500]  pickling 'getAllAssets' API results to file, for later reuse: DONE.

[03:51:31.500]  API-Downloading all accountIds which are holding the 572 assets (async, MAXTHREADS=1000) ...
[03:51:34.831]  API-Downloading all accountIds which are holding the 572 assets (async, MAXTHREADS=1000): 572 threads finished. DONE.
[03:51:34.849]  Funfacts: Mentioned accountIds: 37762. Unique accounts holding assets: 11872
[03:51:34.851]  Among the 412 assets with >1 shareholder (at least 1 more than the issuer) ...
[03:51:34.851]  ... number of shareholders: min=2 mean=91.3 median=11.5 max=4157
[03:51:34.851]  ... >10 shareholders: 213   >100 shareholders: 57   >1000 shareholders: 11
Code:
[03:51:34.869]  API-Downloading trades (async) of 572 assets
[03:51:34.934]  Progress: Each '*' represents one getTrades API-call:
                 * * * * ** *** **  ** ** *** * * ** * * * ** * * *** * * * *
                 * * * * * *** * ** *** ** ** *** ** ** * * ** ** * *** **  ***
                  * ** ***  ** ** ** ******  * *** **  * ****  ***** ** ** ** ******* *
                 ** * ** * * ** * ** ******* * * *  *** *** **** ***** *** * *   * **** ** **  **** ***   *  * ** * **
                ** ***  ** * **   * ****** **** ** * ** ** ** ******
                *** *  ****   * * *** ** *  
                ** ** * * ** ** *** * ** ** * ***
                  ** *  ** * * **** * ***  ** * * * ***  
                * * ** ** *  * * ** * * *** ** ** * *** **  ** ***
                 ** * ******* *** ** ***  **** *** * **  ** *  **
                 ** * ** * * * ** ***** * ** ** * * * * * * ** * ** ***
                 * ** * * * * * * * * * *
[03:51:41.230]  API-Downloading trades (async) of 572 assets: 397 threads finished. DONE.
[03:51:41.232]  From 397 assets with trades, a total of 109325 trades downloaded.
[03:51:41.233]  Funfacts: Among the 397 assets with trades ...
[03:51:41.233]  ... number of trades: min=1 mean=275.4 median=27.0 max=9046
[03:51:41.233]  ... >10 trades: 244   >100 trades: 116   >1000 trades: 30  
Code:
[03:51:41.233]  API downloading accounts of all asset issuers ...
[03:51:43.644]  API downloading accounts of all asset issuers: 572 threads. DONE.

[03:51:43.707]  Loaded price data. Most recent: NXT=0.00005647BTC  BTC=266.93USD (nearest btc/usd from: 07 Jul 2015 18:59:20 +0000)
[03:51:51.434]  Analyzing 572 assets with 109325 trades. DONE.

[03:51:51.434]  printing to file (nxt-assets_20150714-155151.csv) by redirecting stdout. ...
[03:51:51.477]  printing to file (nxt-assets_20150714-155151.csv) by redirecting stdout. Stdout redirected back. DONE.

[03:51:51.477]  analyzing output (nxt-assets_20150714-155151.csv):
[03:51:51.493]  572 rows(assets), 42 columns(observables) with 18249 non-empty cells (table 76% filled)

[03:51:51.588]  ready. DONE.

Sample output
HZ assetparser.py
This is more complicated, because the old API of HZ forced me to invent some clever work-arounds. But then it results in almost the same information:

Code:
[04:41:26.289]  nhz:

[04:41:26.289]  API-downloading all assets ...
[04:41:27.345]  API-downloading all assets: 147 assets. DONE.
[04:41:27.345]  pickling 'getAllAssets' API results to file, for later reuse ...
[04:41:27.384]  pickling 'getAllAssets' API results to file, for later reuse: DONE.

[04:41:27.385]  B.E.-API-downloading all account ids (from NHZ block explorer) ...
[04:41:29.595]  B.E.-API-downloading all account ids (from NHZ block explorer): 4902 accounts. DONE.
[04:41:29.595]  API-Downloading 4902 accounts (async, MAXTHREADS=1000) ...
[04:41:44.983]  API-Downloading 4902 accounts (async, MAXTHREADS=1000): 4902 threads finished. DONE.
[04:41:44.993]  pickling 'allAccounts' API results to file, for later reuse ...
[04:41:46.174]  pickling 'allAccounts' API results to file, for later reuse: DONE.
[04:41:46.190]  Funcfacts HZ: 2395 accounts are holding (median 230.0 mean 417535.7) HZ, and 752 are holding assets.
Code:
[04:41:46.190]  API-Downloading trades (async) of 147 assets
[04:41:46.265]  Progress: Each '*' represents one getTrades API-call:
                 * * * ** **** ** ** * * * * ** *** *** * * * ** ** ***   ***** **** * *
                *   *** ** ** * * * * *** **  *** * ***** *  **  *** ** * * ** * * * * * *
[04:41:47.607]  API-Downloading trades (async) of 147 assets: 90 threads finished. DONE.
[04:41:47.607]  From 90 assets with trades, a total of 2923 trades downloaded.
[04:41:47.607]  Funfacts Trades: Among the 90 assets with trades ...
[04:41:47.607]  ... number of trades: min=1 mean=32.5 median=5.0 max=611
[04:41:47.607]  ...   >10 trades: 29   >100 trades: 7

[04:41:47.607]  extracting all txIds from trades ...
[04:41:47.607]  extracting all txIds from trades: 461 trades with 2923 orders of type ('askOrder',): 1448 unique orderTxs. DONE.
[04:41:47.607]  API-Downloading 1448 Order transactions (async) ...
[04:41:52.288]  API-Downloading 1448 Order transactions (async): 1448 threads finished. DONE.
[04:41:52.289]  extracting sellers of trades from askOrder -transactions ...
[04:41:52.289]  extracting sellers of trades from askOrder -transactions: 2923 trades. DONE.
Code:
[04:41:52.289]  API downloading accounts of all asset issuers ...
[04:41:53.654]  API downloading accounts of all asset issuers: 147 threads. DONE.

[04:41:53.654]  Workaround for OLDAPI - go through all accounts, to collect asset holders ...
[04:41:53.763]  Analyzed 752 shareholders, with 1409 asset balances.
[04:41:53.763]  Workaround for OLDAPI - go through all accounts, to collect asset holders: DONE.
[04:41:53.763]  Funfacts Assets: Among the 87 assets with >1 shareholder (at least 1 more than the issuer) ...
[04:41:53.763]  ... number of shareholders: min=2 mean=15.5 median=4.0 max=310
[04:41:53.763]  ... >10 shareholders: 18   >100 shareholders: 3   >1000 shareholders: 0

[04:41:53.852]  Loaded price data. Most recent: HZ=0.00000092BTC  BTC=266.93USD (nearest btc/usd from: 07 Jul 2015 18:59:20 +0000)
[04:41:54.029]  Analyzing 147 assets with 2923 trades. DONE.

[04:41:54.029]  printing to file (nhz-assets_20150714-164154.csv) by redirecting stdout. ...
[04:41:54.046]  printing to file (nhz-assets_20150714-164154.csv) by redirecting stdout. Stdout redirected back. DONE.
[04:41:54.046]  analyzing output (nhz-assets_20150714-164154.csv):
[04:41:54.063]  147 rows(assets), 42 columns(observables) with 4146 non-empty cells (table 67% filled)

[04:41:54.165]  ready. DONE.

Open for suggestions.


Availability
For now:
... an earlybird approach - you could have this TODAY!
* How much would you pay for (private) access to the current static results table? With an option for 3 data updates later.
* How much would you pay for providing all static results (publicly) on your website?

For your own (private!) detailed analysis ...

Buy snapshot spreadsheet tables of the 2 whole asset markets analysis, of these sizes:
* HZ: 147 rows(assets), 42 columns(observables) with 4146 non-empty cells (table 67% filled)
* NXT: 572 rows(assets), 42 columns(observables) with 18249 non-empty cells (table 76% filled)

Buy snapshot rows of selected (e.g. of your own) assets:
* 1 row(asset) with 42 columns(observables)

Tell me what you are interested in, and make an offer how much this is worth to you.


Money talks

Inviting all ideas how to monetize this in the future.

If you already found this interesting, informative, inspiring ... consider to GIVEBACK.

Thanks!


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
1511376827
Hero Member
*
Offline Offline

Posts: 1511376827

View Profile Personal Message (Offline)

Ignore
1511376827
Reply with quote  #2

1511376827
Report to moderator
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
July 14, 2015, 04:33:29 PM
 #62

Short overview for TweetPic:


New much improved version of
assetparser.py v31    --> 2020.fm/assetparser
changelog: ...

Sample output:  NXT assetparser.py
Code:
[03:51:30.118]  nxt:
[03:51:30.118]  API-downloading all assets ...
...
[03:51:51.493]  572 rows(assets), 42 columns(observables) with 18249 non-empty cells (table 76% filled)
[03:51:51.588]  ready. DONE.

Sample output  HZ assetparser.py
Code:
[04:41:26.289]  nhz:
[04:41:26.289]  API-downloading all assets ...
...
[04:41:54.063]  147 rows(assets), 42 columns(observables) with 4146 non-empty cells (table 67% filled)
[04:41:54.165]  ready. DONE.
...

Availability
Buy snapshot spreadsheet tables of the 2 whole asset markets analysis  ...
Buy snapshot rows of selected (e.g. of your own) assets: ...
Tell me what you are interested in, and make an offer how much this is worth to you.
...
Money talks
Inviting all ideas how to monetize this.
... read more interesting details now at     2020.fm/assetparser


.


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
August 05, 2015, 12:31:09 AM
 #63

nxthacks 2015: assetgraphs.py is born!


An unforgettable weekend: I survived my 1st hackathon :-)

Out of the 48hours, I slept 2 times only 4, and was coding > 24 hours:

  • 1052 lines of Python:
    api.py = 1 completely new module for abstracted access to the nxt API in python.
    api_testing.py = accessing & testing the above; generating the Top44 of issuers, etc.
    network.py = 1 completely new module for getting, selecting, formatting API results and transforming them into a network structure.
    I used none of my existing modules, but built everything anew. (import urllib2, urllib, json, pprint, logging, time, threading, random, threading, pickle)

  • ... which created the 9 network.json files as an input for ...

  • a JavaScript that I needed to understand & adapt (thx to d3 = a cool viz tool); plus
    9 webpages to hold (stepwise adapted & extended) copies of that script, that went into ...

  • 11 webpages, 1 css & 1 navigation (adapted template from dreamweaver), and 1 screenshot,
    to then present the whole thing.

I finished and submitted ... 17 seconds before the countdown reached zero  Wink

When Jones then said the form stays open for latecomers, I executed my
spontaneous idea to hash all the Python code to later prove 'no changes'.

And shut down my computer. The following hours were pure enthusiasm.
I walked through the night moon forest at 5 a.m., actually singing out loud *lol*

And then I collapsed, I was so tired - I have only slept and recovered ever since.

I have had a quick look at the other 5 submitted projects. All cool, and useful!
Congrats to every participant! Wasn't that a one-of-a-kind experience?


And I have just discovered the voting. Great! -->

Code:

Your voice in the nxthacks 2015 - before height 495,997 cast your vote at poll 8316013305858322997:
NxtWallet --> Voting System --> [url=https://nxtportal.org/polls/8316013305858322997]Nxthacks Hackathon Voting[/url] --> Vote

I suggest to add that to your signature for 4 days? Thx!

You want to know what I have built? -->
Study my epic at altsheets.ddns.net/assetgraphs
.

Please vote for me: " AltSheets " - thanks.

Retweet if you like me :-)



Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
August 08, 2015, 10:52:16 PM
 #64

AssetGraphs.py is born!

Two new threads related to my nxthacks participation

"AssetGraphs.py is born!" explains backgrounds, and paints possible futures for my project.

"AssetGraphs to Open Source - help me design a new asset" does what it says  ;-)

Thanks!


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
August 15, 2015, 06:51:53 PM
 #65


#NxtHacks 2015 winner:

1st: @AltSheets - with #AssetGraphs.py

The poll entries were scored on four categories,
Completeness, Style, Use of API, and Usefulness.

Final Scores for the hackathon:

ALTSHEETS - 27.11
5.85 Completeness
7.38 Style
7.50 Use of API
6.38 Usefulness

all results at: NxtHacks thread.

Retweet ;-)

_____________________________________________________________
.



Read more in the brand new subforum "AssetGraphs.py":
"Concept draft for the future" + "Help me design an asset to OpenSource this"

Hooray

Smiley


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
December 05, 2015, 02:18:57 AM
 #66

... preparing to send the next AAssetHZ/NXT newsletter, exclusively available only to my shareholders.

First, I have done a test run of my fabulous
shareholders.py  version v32
which is sending individual unique messages to all shareholders of the test-asset 'beautiful' (id: 5903523947573024709).

Code:
--------------------------------------------------
Sending messages to all shareholders of
'beautiful' (assetId = 5903523947573024709)
--------------------------------------------------
from sending account  NHZ-VJ23-6K9N-33Z2-4DHQV
also known as: [u'BeautifulIssuer', u'altsheetstestaccount03', '']

Step 1: Parsing the blockchain for all shareholders
[02:46:23.654]  nhz:
[02:46:23.684]  API-downloading assets for 1 given ids ...
[02:46:24.703]  API-downloading assets for 1 given ids: 1 assets. DONE.
[02:46:24.704]  B.E.-API-downloading all account ids (from NHZ block explorer) ...
[02:47:53.509]  B.E.-API-downloading all account ids (from NHZ block explorer): 5173 accounts. DONE.
[02:47:53.509]  API-Downloading 5173 accounts (async, MAXTHREADS=1000) ...
[02:48:09.796]  API-Downloading 5173 accounts (async, MAXTHREADS=1000): 5173 threads finished. DONE.
[02:48:09.815]  pickling 'allAccounts' API results to file, for later reuse ...
[02:48:10.869]  pickling 'allAccounts' API results to file, for later reuse: DONE.

Code:
[02:48:10.926]  Funcfacts HZ: 2551 accounts are holding (median 152.0 mean 392002.4) HZ, and 783 are holding assets.
[02:48:10.926]  Found: HZ asset 'beautiful' (5903523947573024709).
[02:48:10.926]  Workaround for OLDAPI - go through all accounts, to collect asset holders ...
[02:48:10.951]  Analyzed 783 shareholders, with 1531 asset balances.
[02:48:10.951]  Workaround for OLDAPI - go through all accounts, to collect asset holders: DONE.
[02:48:10.951]  Getting all info about the accounts that are holding this asset 5903523947573024709 ...
[02:48:10.951]  Identifying trades buyers and sellers the complicated way, for old API ...
[02:48:11.963]  From 1 assets with trades, a total of 5 trades downloaded.
[02:48:11.963]  Funfacts Trades: Among the 1 assets with trades ...
[02:48:11.964]  ... number of trades: min=5 mean=5.0 median=5.0 max=5
[02:48:11.964]  ...
[02:48:11.964]  extracting all txIds from trades ...
[02:48:11.964]  extracting all txIds from trades: 5 trades with 10 orders of type ('askOrder', 'bidOrder'): 8 unique orderTxs. DONE.
[02:48:11.966]  API-Downloading 8 Order transactions (async) ...
[02:48:13.289]  API-Downloading 8 Order transactions (async): 8 threads finished. DONE.
[02:48:13.290]  extracting sellers of trades from askOrder (and buyers from bidOrder)-transactions ...
[02:48:13.290]  extracting sellers of trades from askOrder (and buyers from bidOrder)-transactions: 5 trades. DONE.
[02:48:13.290]  Identifying trades buyers and sellers the complicated way, for old API: DONE.


Code:
[02:48:13.290]  API-Downloading 4 accounts (async, MAXTHREADS=1000) ...
[02:48:14.321]  API-Downloading 4 accounts (async, MAXTHREADS=1000): 4 threads finished. DONE.
[02:48:14.321]  API-Downloading all account aliases for 4 accounts (async, MAXTHREADS=1000) ...
[02:48:15.368]  API-Downloading all account aliases for 4 accounts (async, MAXTHREADS=1000): 4 threads finished. DONE.
[02:48:15.368]  Getting all info about the accounts that are holding this asset 5903523947573024709: finished. DONE.
[02:48:15.368]  Analyzing the 4 accounts that are holding this asset 5903523947573024709 ...
[02:48:15.368]  Analyzing the 4 accounts that are holding this asset 5903523947573024709: DONE.

all addresses with public keys:
{u'NHZ-4BHN-8FBZ-TVJS-DMGF6': u'cfa2d418cb99f9740c37843262fae2ca27c3490c6f6d57dafd494ba748e1e71c', u'NHZ-N7PX-MTZZ-VQGE-HHYZ4': u'c7ae7deeb8458952c3be621bd407c7ff73b8d4af9d3ec377bcff05388419b376', u'NHZ-VJ23-6K9N-33Z2-4DHQV': u'2f57ed957453207b926c8466944856d9e32f89142f327d9e25fb9dbf9788f512', u'NHZ-QEQG-G5N8-8ASD-FYHFR': u'63f26ee1f2389f5fe08da039644dde51fc02ac23419d51aa445f7900f00d0355'}

Asset 'beautiful' (5903523947573024709) has 4 shareholders:

accountRSassetId_assetBalance_countOfDifferentAssets_HZ-balance_firstTrade_numBuysOfThisAsset_numSellsOfThisAsset_numTradesAllAssets_name_firstAlias_title
NHZ-VJ23-...5903...33.13901    117.027 Apr 201504BeautifulIssuertestaccount03None
NHZ-4BHN-...5903... 3.71921     11.609 Jul 201520testaccount02None
NHZ-QEQG-...5903... 4.14171      5.0testaccount01None
NHZ-N7PX-...5903... 1.000161532441.5altsheetsNone


Code:
Step 2:
Making passwords, compiling the messages from template, checking lengths.
4 new passwords generated
passwords backed up: 4
commands written to .sh file

Have a quick look at these passwords, so they are not obscene :-)
['1ncc1ic5', 'ccqp6989', '5xhkzxi5', '39fiqf17']

Sample message:
--------------------------------------------------
Code:
Hello shareholder
of HZ-asset 'beautiful' (id 5903523947573024709).

Not from a human :-) but a generated message:

Info: There is exclusive news for you!
Goto: Secret area --> innercircle at

http://altsheets.ddns.net/shareholders

Your personal credentials are:
  username: NHZ-4BHN-8FBZ-TVJS-DMGF6
  password: 1ncc1ic5

Please give feedback that you received this.

Thanks
       your AltSheetsDev
Code:
--------------------------------------------------

Step 3: Checking balance
The sending account NHZ-VJ23-6K9N-33Z2-4DHQV has a balance of 117.01 HZ.


Step 4: Sending 4 encrypted messages
only continue here if you are totally sure:
Please type  yes  :yes
------------------
start sending. Please be patient:
NHZ-4BHN-8FBZ-TVJS-DMGF6  success=True txID=15659411252527656269
NHZ-N7PX-MTZZ-VQGE-HHYZ4  success=True txID=9777091488403897496
NHZ-VJ23-6K9N-33Z2-4DHQV  success=True txID=7245079009501896933
NHZ-QEQG-G5N8-8ASD-FYHFR  success=True txID=11991134932698531881
ready.

Code:
Step 5: Linux commands to set the password for each shareholder. Do this now:
# apt-get install apache2-utils  ## install 'htpasswd'
# sudo htpasswd -cb /usr/share/nginx/.htpasswd dummyuser dummypassword  ## -c = create file with dummyuser
# sudo htpasswd -D  /usr/share/nginx/.htpasswd dummyuser  ## -D = delete dummyuser
sudo htpasswd -b /usr/share/nginx/.htpasswd NHZ-VJ23-6K9N-33Z2-4DHQV 5xhkzxi5
sudo htpasswd -b /usr/share/nginx/.htpasswd NHZ-4BHN-8FBZ-TVJS-DMGF6 1ncc1ic5
sudo htpasswd -b /usr/share/nginx/.htpasswd NHZ-QEQG-G5N8-8ASD-FYHFR 39fiqf17
sudo htpasswd -b /usr/share/nginx/.htpasswd NHZ-N7PX-MTZZ-VQGE-HHYZ4 ccqp6989


Step 6: Who enabled you to do this?
Please give a reward to AltSheetsDev now.

How much HZ you want to send? (0 to skip):  100  [ better send 100,000 :-) ]
Thanks. Sending now (please be patient):
donation success=True txID=13622927214914069668 to=NHZ-N7PX-MTZZ-VQGE-HHYZ4

Code:
Step 7:
Test the webaccess, that it really works. Monitor the webserver logfiles if you can.
Use all ways to inform your shareholders, otherwise they might not open their wallet inbox.
Use all channels (twitter, bitcointalk, facebook, email, etc).    Examples:
image: http://altsheets.ddns.net/img/HZ-PM.png     in a tweet like this:
   All #AAssetHZ shareholders got a personal, encrypted message.
   Check your wallet --> transactions --> 7/10/2015 21:xx
   https://twitter.com/AAssetHZ/status/619592923101941760
Check your own wallet NHZ-VJ23-6K9N-33Z2-4DHQV ('[u'BeautifulIssuer', u'altsheetstestaccount03', '']')
for incoming answers in the next days !

Please give me feedback how this works out for you. Thanks!
Also: Consider to buy my 'AAssetHZ' or 'AAssetNXT' to support me, and to earn dividends.

Enjoy your day!

[02:50:47.776]  end.

This is the whole program output. The transactions are real. They are already on the HZ block chain.

Contact me to book this service!

Next: Preparing the real newsletter.
Exclusive to my AAssetHZ/NXT shareholders.

 Smiley



EDIT: Same test on NXT chain with NXT testasset - successful too.


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Hero Member
*****
Offline Offline

Activity: 798

Free trial of #AltFolio = save time, react faster


View Profile WWW
April 27, 2016, 10:58:02 AM
 #67

Small hint for anyone working with APIs (which often return JSON results) - get a

REST client

Often they come as browser extensions/add-ons. Examples are:

Chrome - Advanced REST client - https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo
Opera - RestMan - https://addons.opera.com/en/extensions/details/restman
Firefox - no success, this one promises but doesn't deliver https://addons.mozilla.org/en-us/firefox/addon/jsonview/ (FF users: Please tell me what you are using)

Then put in the URL, e.g.

http://62.194.6.113:7876/nxt?requestType=getAsset&asset=13634799205909171438

and instead of a wall like this

Quote
{"initialQuantityQNT":"5000000","quantityQNT":"5000000","accountRS":"NXT-LJBY-6JQ6-WQV6-HA2AY","decimals":0,"name":"AAssetNXT","description":"AAssetNXT is the 'AltSheets Asset on Nxt'. 5,000,000 AAssetNXT shares are issued, representing 5% of all future profits of AltSheets software (like AltFolio, and assetparser.py - see their bitcointalk threads). Objectives of AAssetNXT are: To develop, improve, and popularize AltSheets software - and to reward investors by sharing 1% of all AltSheets profits per each 1,000,000 AAssetNXT; paid as regular dividends to AAssetNXT holders. Check asset ID and issuer ID (NXT-LJBY-6JQ6-WQV6-HA2AY alias 'AAssetNXTissuer') before trading, there may be copycat assets! More infos at http:\/\/altsheets.ddns.net\/aassetnxt or twitter @AAssetNXT","requestProcessingTime":0,"asset":"13634799205909171438","account":"18383702630381207870"}


you can press "JSON", and it will look like this:

Quote
{
    "initialQuantityQNT": "5000000",
    "quantityQNT": "5000000",
    "accountRS": "NXT-LJBY-6JQ6-WQV6-HA2AY",
    "decimals": 0,
    "name": "AAssetNXT",
    "description": "AAssetNXT is the 'AltSheets Asset on Nxt'. 5,000,000 AAssetNXT shares are issued, representing 5% of all future profits of AltSheets software (like AltFolio, and assetparser.py - see their bitcointalk threads). Objectives of AAssetNXT are: To develop, improve, and popularize AltSheets software - and to reward investors by sharing 1% of all AltSheets profits per each 1,000,000 AAssetNXT; paid as regular dividends to AAssetNXT holders. Check asset ID and issuer ID (NXT-LJBY-6JQ6-WQV6-HA2AY alias 'AAssetNXTissuer') before trading, there may be copycat assets! More infos at http://altsheets.ddns.net/aassetnxt or twitter @AAssetNXT",
    "requestProcessingTime": 0,
    "asset": "13634799205909171438",
    "account": "18383702630381207870"
}

Much more readable, no?

Hope that helps
 Smiley


Newbium great new platform || AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets (on NXT & HZ) - big 2nd dividends were paid, xmas 2016 || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
Pages: « 1 2 3 [4]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!