Pages:
Author

Topic: . - page 19. (Read 491757 times)

legendary
Activity: 2700
Merit: 1178
Reflinks und User die solche posten sind Scheisse
March 04, 2016, 08:14:16 AM
No IOTA Asset on Horizon?
hero member
Activity: 575
Merit: 502
March 04, 2016, 02:19:17 AM
...
Does HZ do plugins? This issue (strange that, by default, dividends didn't have any message for the user) was solved in NXT using this plugin: https://nxtforum.org/nxt-plugins/dividend-plugin/ Take a look at the code and drop it in if it works with HZ.

plugins are supported!
sr. member
Activity: 360
Merit: 250
Token
March 03, 2016, 03:56:37 PM
There is a big drawback, however:

   The shareholder probably doesn't notice!

I have now searched my whole wallet,
and I could not find a single trace of the dividends payment.

Apart from the increased balance, of course.
Looks like a miraculously grown precious :-)


So ... perhaps there is additional need for communication?

It could look like this:

Quote
   Dear shareholder of asset "beautiful",

    you might not have noticed, but in HZ block 580370
    your balance jumped up by 42 HZ, to then 68.10408183 HZ.

    That happened because in block 580366 you were holding
    21.0000 shares (50%) of asset 5903523947573024709, and
    the issuer decided to pay dividends, 2 HZ per 1.0000 asset.

    The dividendPayment was transaction 9318473567111208195, see
    explorer.horizonplatform.io/?page=transaction&id=9318473567111208195
    included in block 580370. The total amount was 57.7218 HZ plus fees.

    Enjoy your life
    :-)


Does anyone know if a newer version of NXT is showing dividendsPayments to the payee?
The we would get that with a future update of HZ, anyways.

If not, it would be worthwhile to put work into my shareholders.py and create the above messages.



Does HZ do plugins? This issue (strange that, by default, dividends didn't have any message for the user) was solved in NXT using this plugin: https://nxtforum.org/nxt-plugins/dividend-plugin/ Take a look at the code and drop it in if it works with HZ.
legendary
Activity: 924
Merit: 1000
March 01, 2016, 05:39:40 AM
Yes mate i saw it they are trying to shill diff coins.

A shame, but we had to try. Smiley
legendary
Activity: 966
Merit: 1001
March 01, 2016, 02:13:26 AM
Yes mate i saw it they are trying to shill diff coins.
legendary
Activity: 924
Merit: 1000
February 29, 2016, 01:52:06 PM
Done it.
No problem mate you are leeding the race Smiley

Thanks...but Horizon seems to have been removed form the list. Huh
legendary
Activity: 966
Merit: 1001
February 29, 2016, 04:39:49 AM
Done it.
No problem mate you are leeding the race Smiley
legendary
Activity: 924
Merit: 1000
February 28, 2016, 02:27:30 PM
Hey...if anyone's around, could ya cast a vote for Horizon in this poll?

https://bitcointalksearch.org/topic/poll-best-altcoin-for-a-dev-to-donate-effort-to-1377121

Thanks!
legendary
Activity: 924
Merit: 1000
February 27, 2016, 11:05:08 AM
Awesome guide, dude! Nicwork. Will put it somewhere that newcomers can easily find it. Smiley

That'd be great! Feel free to improve on my amateurish graphic design. Smiley
legendary
Activity: 971
Merit: 1000
February 27, 2016, 03:12:06 AM
Awesome guide, dude! Nicwork. Will put it somewhere that newcomers can easily find it. Smiley
legendary
Activity: 924
Merit: 1000
February 26, 2016, 06:56:17 PM
HOW TO SET UP AND RUN YOUR HORIZON WALLET: QUICK GUIDE FOR NEWBIES




PART ONE: DOWNLOAD YOUR HORIZON WALLET




Download your full-node Horizon wallet here. It's the download on the left-hand side of the page. When you're finished, please check the integrity of your download by comparing the SHA-256 sum of your download with the official sum specified on the official wallet-download page..

  • If you're using Windows, download this checksum checker.  One you've got it installed, click the "Manage" button and the "Open File" icon on the top left of the Manage page. Load the Horizon wallet into it. Then, press the "Archive Information" icon - it's third to the right - and then press the "Checksums" button. The answer you get should match the SHA-256 hash on the Website.
  • If you're using Linux, use the command-line shell to navigate to the same directory you downloaded the wallet into. Once you're there, type this: sha256sum hz-v5.4.zip & hit good-ol' [ENTER]. The answer you get should match the SHA-256 hash on the Website.
  • If you're using Mac, open up your command-line app and navigate to the same directory you downloaded the wallet into. Once you're there, type this: shasum -a 256 hz-v5.4.zip & hit ye [ENTER]. The answer you get should match the SHA-256 hash on the Website. .

Whichever system you have, the SHA-256 checksum should match the official sum on the download page. As of the time of this post, it's 86a2b00306f1bbee281d29a17678384a4172ed104b82749f7eefd1fcef5695b4. Please keep in mind that this procedure is good for the Full Wallet version 5.4 - and please confirm this information yourself on the official Horizon download page




PART TWO: UNZIP, OPEN UP THE HORIZON WALLET AND START THE SERVER




Unzip the wallet, open the container folder and drag the inner folder out to your desktop or wherever you want to stick it. When you open up the folder, you should see this:


  • If you're using Windows, click the run.bat file.
  • If you're using Linux, start up the run.sh file: it's just below the Windows one.
  • If you're using Mac, click the mac-osx-run.command file.

If you clicked the right one, you'll see the Horizon Server appear and start running. It'll look like this:


and it'll quickly spit out a lot of text! Wait until you see the line "Horizon Server NHZ V5.4 started successfully." Then, go back to your folder.




PART THREE: OPEN UP THE HORIZON WALLET CLIENT AND SET UP YOUR NEW ACCOUNT




In your folder, click the Horizon_Wallet shortcut and you'll see the above Webpage open up in a new browser tab. Click where it says, Don't have an account? Click here to create one! You'll see this form appear just below the logo:


The next part is very important. Once the client has generated your new passphrase, write it down on a piece of paper by longhand or print out a few copies from a textpad and delete the textpad file right away. Do not save your password anywhere on your computer. I've read some horror stories about folks who did save their passwords on their drives only to find them stolen by file-stealing malware. Writing down your password by hand is as old-fashioned as it gets, but nothing airgaps your password better than a sheet of paper!

When you're done, click "Next" and follow the instructions.




PART FOUR: WAIT FOR YOUR NEW NODE TO SYNCHRONIZE




This next part is the easiest. Just sit back and go back to whatever you're doing while you wait for your new node to synchronize. While you're waiting, have a look-see at your new wallet and poke around if you like. Any questions? This thread is where you ask 'em!




PART FIVE: ANNOUNCE YOUR NEW NODE TO THE NETWORK



This part's almost as easy as the last. When the Downloading Blockchain... progress bar has disappeared from the lower right, your node is synched up. Go up to the green message just below Dashboard and read it. The third line says, "Please click here to complete the setup process and announce your account onto the Horizon network." Just click where it says click here and you're announced!





THAT'S IT! THANKS FOR JOINING US!




And if you have any questions, just drop 'em in this thread!
legendary
Activity: 924
Merit: 1000
February 26, 2016, 06:55:57 PM
THE OPEN-AUDIT INITIATIVE: 2016 US ELECTION PREDICTION MARKET PROJECT

This one's been a long time in the making! As detailed in this announcement thread, I've set up a whole slew of prediction-market Assets that are tied to the market prices provided by PredictWise. PredictWise's owner, Dr. David Rothschild, has been kind enough to supply me with price-data APIs for a tradebot that adjusts the selling and buyback prices for each prediction-contract Asset. That credited, I have to emphasize that he is not otherwise involved in this venture of mine. This Prediction Market Project is solely my own responsibility; it's "all on me." To be honest, that's the way I like it. Smiley

The Open Audit Initiative is an evangelization project I'm launching to get people interested in the power and functionality of the Horizon platform. As the announcement thread shows, I'm trying to encourage people to use the Horizon wallet to audit my claims of matching PredictWise's pricing data. I'm not asking them for anything else - just a bit of their time.

After wrestling with the evangelization question for some time, this approach is the one I'm most comfortable with. Asking outside folks to audit my contracts will get them interested in Horizon and what it can do for "Decentralized Business On The Blockchain." Including, how to keep decentralized business honest. It'll reach people who get excited at having a hand in cleaning up the cryptocurrency frontier. That's what I prefer to ask, as a starter.

But you Horizon regulars should know: all of these contracts are live, with live ask orders and live buyback orders. They're live right now, and have been for some time. Feel free to buy whichever one you think will pay off!

You'll find a complete list here. The first four sentences of each contract Asset's description specify the payoff terms and dates.

For example, the contract Asset RNmTrumYES, Asset ID 16323709768774601065, has these terms: "WILL THE WINNER OF THE 2016 REPUBLICAN NOMINATION BE DONALD TRUMP? If the official answer is YES on/after July 21, 2016, Asset Issuer will buy back all outstanding Asset units at 100. The Asset Issuer pledges to: (1) sell at PredictWise's Derived Market YES price * 100; (2) place live buy orders 1 HZ below the sell price for all Asset units outstanding. If the sell price is below 1 HZ, the buy price will be half the sell price."

As "synthetic shorts," I created a corresponding NO contract for each YES contract. Example: RNmTrumNO, Asset ID 4383194313613724234. It has these terms: "WILL THE WINNER OF 2016 US REPUBLICAN NOMINATION BE DONALD TRUMP? If the official answer is NO on/after July 21, 2016, Asset Issuer will buy back all outstanding Asset units at 100. Asset Issuer pledges to: (1) sell at 100 - (PredictWise's Derived Market YES price * 100); (2) place live buy orders 1 HZ below sell price for all Asset units outstanding. If sell price is below 1, buy price will be half sell price."

As the terms make clear, RNmTrumNO is just like short-selling RNmTrumYES and vice-versa. The same duality applies to every one of the prediction-market-Asset contracts.

I really don't know if this initiative will help Horizon's price, but I do know that it'll be a lot of fun!!




NOTE: My post just below this thread is for Horizon newbies who hear about Horizon through this Initiative. It's a guide on how to set up and run the whole full-node shebang, which I hope you don't need. Tongue There's a link right to it from the Prediction Market Project thread.
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
February 25, 2016, 09:17:12 AM
Wow, that is just ... perfect.

Assets and Dividends information, anyone?

Another interesting addition to our world here ... would be a webpage dedicated to dividends information.
I see many options:
  • simply as a condition on page=transaction&id=9318473567111208195 that recognizes ("type": 2, "subtype": 6) transactions, and then presents the data in the "attachment".
  • or as separate page page=dividends&transaction=9318473567111208195 that calls the same page, but manually
  • or even page=dividends&asset=5903523947573024709 with all dividends for that asset, ever?
  • and/or if you, @Emerger, are interested, perhaps your great http://hzcharts.coin.emergate.net site could search for ("type": 2, "subtype": 6) transactions, and present them alongside the assets?
  • Also, I don't know if you heard it, but Kushti is giving up his excellent SAE http://trade.secureae.com - and rumors said he'd be opening his source code. So perhaps someone is interested in (issuing an asset to collect money for) porting that great site to HZ?
  • I don't know who has experiences with plugins yet, and how easily they can be ported to HZ - but Testdruif has created a plugin "Dividend Details" which is presenting such information inside the wallet.
  • Plus, of course: your idea  Wink
Greetings!
 Smiley

By your suggestion I've added a simple dividend parser to the HZcharts summary page for assets. For example http://hzcharts.coin.emergate.net/?a=getAsset&d=5903523947573024709#assetDividends

Does this look right to you Altsheets? Let me know if I have messed up the decimals Smiley



Well done, Emerger!

Yes, that simple display ... does tell the whole story.

Superb. Thanks!


I like how you are linking to explorer.horizonplatform.io via the transaction time - so the other idea would now also really make sense:
as a condition on page=transaction&id=9318473567111208195 that recognizes ("type": 2, "subtype": 6) transactions, and then presents the data in the "attachment".
Happy to look into that, funding provided, as usual. I already know the PHP code a little bit, because I added the asset pages (see June 29th four postings).



Yes, good question:
When searching for relevant dividends I needed to assume that the asset issuer is always the dividend payer (getBlockchainTransactions requires an account) - So I hope that assumption is correct.
To me it looked as if the error message appeared because in my first attempt I was not the issuer.
I have now crawled into the sourcecode, and I found '  if (asset.getAccountId() != transaction.getSenderId()  ', which seems to support my assumption?
Perhaps @MaWo can confirm?


Otherwise I'm not sure how I can search through the whole blockchain for all dividends relating to an asset. I'll look at all this in more detail as needed.
Have you had a look at testdruif's plugin? I think he is additionally also searching ALL (unencrypted) messages for the word "dividend". (?)

Does anyone know if a newer version of NXT is showing dividendsPayments to the payee?
The we would get that with a future update of HZ, anyways.
If not, it would be worthwhile to put work into my shareholders.py and create the above messages.
The newer version of NXT has a new page called Account Ledger that does show Dividends. It also includes the getAccountLedger API. Hopefully HZ devs will incorporate these in future.
Ah, very good. Then I will put my precious lifetime into something else. So many things to do!

 Wink
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
February 25, 2016, 09:09:09 AM
Assets and Dividends information, anyone?
...
  • Also, I don't know if you heard it, but Kushti is giving up his excellent SAE http://trade.secureae.com - and rumors said he'd be opening his source code. So perhaps someone is interested in (issuing an asset to collect money for) porting that great site to HZ?

Here is some updates about that: "Bringing the SAE back to life : Barter"
legendary
Activity: 924
Merit: 1000
February 24, 2016, 10:45:27 AM
Hey, everyone! Could you look at this PRE-ANN and tell me what you think? It's a project I've been working quietly on for more than a month now.

https://bitcointalksearch.org/topic/hz-ann-the-open-auditing-2016-us-election-prediction-market-project-1349325

Feedback much appreciated. Smiley
full member
Activity: 199
Merit: 102
February 24, 2016, 09:41:59 AM
Assets and Dividends information, anyone?

Another interesting addition to our world here ... would be a webpage dedicated to dividends information.

I see many options:

  • simply as a condition on page=transaction&id=9318473567111208195 that recognizes ("type": 2, "subtype": 6) transactions, and then presents the data in the "attachment".
  • or as separate page page=dividends&transaction=9318473567111208195 that calls the same page, but manually
  • or even page=dividends&asset=5903523947573024709 with all dividends for that asset, ever?

  • and/or if you, @Emerger, are interested, perhaps your great http://hzcharts.coin.emergate.net site could search for ("type": 2, "subtype": 6) transactions, and present them alongside the assets?

  • Also, I don't know if you heard it, but Kushti is giving up his excellent SAE http://trade.secureae.com - and rumors said he'd be opening his source code. So perhaps someone is interested in (issuing an asset to collect money for) porting that great site to HZ?

  • I don't know who has experiences with plugins yet, and how easily they can be ported to HZ - but Testdruif has created a plugin "Dividend Details" which is presenting such information inside the wallet.

  • Plus, of course: your idea  Wink

Greetings!

 Smiley



By your suggestion I've added a simple dividend parser to the HZcharts summary page for assets. For example http://hzcharts.coin.emergate.net/?a=getAsset&d=5903523947573024709#assetDividends

Does this look right to you Altsheets? Let me know if I have messed up the decimals Smiley

When searching for relevant dividends I needed to assume that the asset issuer is always the dividend payer (getBlockchainTransactions requires an account) - So I hope that assumption is correct. Otherwise I'm not sure how I can search through the whole blockchain for all dividends relating to an asset. I'll look at all this in more detail as needed.


Does anyone know if a newer version of NXT is showing dividendsPayments to the payee?
The we would get that with a future update of HZ, anyways.

If not, it would be worthwhile to put work into my shareholders.py and create the above messages.

The newer version of NXT has a new page called Account Ledger that does show Dividends. It also includes the getAccountLedger API. Hopefully HZ devs will incorporate these in future.
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
February 23, 2016, 05:35:31 PM
Assets and Dividends information, anyone?

Another interesting addition to our world here ... would be a webpage dedicated to dividends information.

I see many options:

  • simply as a condition on page=transaction&id=9318473567111208195 that recognizes ("type": 2, "subtype": 6) transactions, and then presents the data in the "attachment".
  • or as separate page page=dividends&transaction=9318473567111208195 that calls the same page, but manually
  • or even page=dividends&asset=5903523947573024709 with all dividends for that asset, ever?

  • and/or if you, @Emerger, are interested, perhaps your great http://hzcharts.coin.emergate.net site could search for ("type": 2, "subtype": 6) transactions, and present them alongside the assets?

  • Also, I don't know if you heard it, but Kushti is giving up his excellent SAE http://trade.secureae.com - and rumors said he'd be opening his source code. So perhaps someone is interested in (issuing an asset to collect money for) porting that great site to HZ?

  • I don't know who has experiences with plugins yet, and how easily they can be ported to HZ - but Testdruif has created a plugin "Dividend Details" which is presenting such information inside the wallet.

  • Plus, of course: your idea  Wink

Greetings!

 Smiley

legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
February 23, 2016, 08:10:25 AM
There is a big drawback, however:

   The shareholder probably doesn't notice!

I have now searched my whole wallet,
and I could not find a single trace of the dividends payment.

Apart from the increased balance, of course.
Looks like a miraculously grown precious :-)


So ... perhaps there is additional need for communication?

It could look like this:

Quote
   Dear shareholder of asset "beautiful",

    you might not have noticed, but in HZ block 580370
    your balance jumped up by 42 HZ, to then 68.10408183 HZ.

    That happened because in block 580366 you were holding
    21.0000 shares (50%) of asset 5903523947573024709, and
    the issuer decided to pay dividends, 2 HZ per 1.0000 asset.

    The dividendPayment was transaction 9318473567111208195, see
    explorer.horizonplatform.io/?page=transaction&id=9318473567111208195
    included in block 580370. The total amount was 57.7218 HZ plus fees.

    Enjoy your life
    :-)


Does anyone know if a newer version of NXT is showing dividendsPayments to the payee?
The we would get that with a future update of HZ, anyways.

If not, it would be worthwhile to put work into my shareholders.py and create the above messages.

legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
February 22, 2016, 07:29:28 PM
HZ assets - how to pay dividends

I am sharing my learning, with trying out the new dividendPayment function.

Now, with the new HZ 5.4, we can finally send ("type": 2, "subtype": 6) = dividends transactions.

I am using http://localhost:7776/test?requestTag=AE --> dividendPayment

These fields must be filled in - otherwise it won't get accepted:

* asset:
* height:
* amountNQTPerQNT:
* secretPhrase:
* feeNQT:
* deadline:

( for the meaning of those, read the NXT wiki API chapter 'Dividend_Payment'  )

I have chosen to also fill in these fields:

* message:   
* messageIsText:   
* messageIsPrunable:

When submitting, this message appeared:
Code:
nxt.NxtException$NotValidException: Invalid dividend payment sender or amount

I suppose the only sender that is allowed to send dividends - is the issuer herself?
I had tried to send from a different account. Good to know.


So ... from here on using the issuer's secretPhrase ...

For the fun of it, I've tried to send more than I had on that account, and I got this message:
Code:
"Double spending or insufficient balance"



Then finally, the real payment, the form looks like this



Note the amountNQTPerQNT = 20000.

That is my decision how much dividends I'd like to share.

NQT and QNT are the smallest possible amounts of HZ, and the asset.
The maths goes like this:

As this is an asset with ("decimals": 4), so

    1.0000 asset = 10000 QNT

and always

    1.00000000 HZ = 100000000 NQT

the decision

    20000 NQT per 1 QNT

means that per 1.0000 asset the shareholder will get

    20000 NQT * 10000 QNTper1Asset / 100000000 NQTperHZ = 2.00000000 HZ

so

    2 HZ per 1 asset


 Wink ... I know ...  Cheesy

I suggest you make a spreadsheet for yourself, to grasp that fully.

And for the future, it is probably the easiest to only issue assets with ("decimals": 0)    Grin

(If you are unsure, first making a test payment of amountNQTPerQNT=1 might be a good idea too).



Anyways, now I got this result:

Code:

{
    "signatureHash": "f24c3f25f630e49156e262470e5ff4efb77875bab2a58235a4a1337c59542ddb",
    "transactionJSON": {
        "senderPublicKey": "2f57ed957453207b926c8466944856d9e32f89142f327d9e25fb9dbf9788f512",
        "signature": "a17646e2513cc4660b17c6033d57d61a41983d636890f156d72590645bda5101ecc7d9f1a2b958cda5271f9dd240ea1b7dc0f9ef419bd911f74cf7a153826531",
        "feeNQT": "400000000",
        "type": 2,
        "fullHash": "03dd878056de5181499ce33431183c50901b87c7548d0dc421472d6cf475345f",
        "version": 1,
        "phased": false,
        "ecBlockId": "3918513165099572430",
        "signatureHash": "f24c3f25f630e49156e262470e5ff4efb77875bab2a58235a4a1337c59542ddb",
        "attachment": {
            "version.Message": 1,
            "version.DividendPayment": 1,
            "amountNQTPerQNT": "20000",
            "messageIsText": true,
            "asset": "5903523947573024709",
            "message": "testing dividendPayment",
            "height": 580366
        },
        "senderRS": "NHZ-VJ23-6K9N-33Z2-4DHQV",
        "subtype": 6,
        "amountNQT": "0",
        "sender": "3303930342834814977",
        "ecBlockHeight": 580364,
        "deadline": 60,
        "transaction": "9318473567111208195",
        "timestamp": 60655008,
        "height": 2147483647
    },
    "unsignedTransactionBytes": "---LONG HEX STRING---",
    "broadcasted": true,
    "requestProcessingTime": 38,
    "transactionBytes": ""---LONG HEX STRING---",
    "fullHash": "03dd878056de5181499ce33431183c50901b87c7548d0dc421472d6cf475345f",
    "transaction": "9318473567111208195"
}


which is the transaction 9318473567111208195.


As I had extracted the balances of all accounts before the dividends payment,
and after ... I can show you the effects in this final picture:



As all 3 shareholders together are holding (green columns)
28.8609 assets (= 288609 QNT), with our above calculation we would expect that
2 HZ * 28.8609 = 57.7218 HZ are paid out (difference of the red columns before/after)
- and that is really the case (see orange column); plus
4 HZ chosen manually for the fees.

After the payment, the issuer account's balance is 61.7218 HZ lower.


And now, comparing the quantityQNT and the amountNQT that was paid,
we are getting the purple colum ... and there is the 20000 again.

I think I've understood it. Explaining it to others ... is a good way to go.

And you?
                :-)


Feel free to link to this "How to pay dividends" from your website / the OP#1.
Published under my giveback license v05 = free, but please give, if you like this.


EDIT: retweet - thx.
full member
Activity: 170
Merit: 105
ADSactly is an Autonomous Decentralized Society
February 21, 2016, 07:02:30 AM
Horizon Coins and other Coins in the World of Crypto need to Spread out to people all over the world especially AFRICA they are all tired of the Centralized BANKS
Printing money out of thin air and loaning it to the Corporate Infrastructure of the Country at Interest which than in turn loans the Centralized Bank Notes to the Central Banks
which than loan it to the Smaller Banks ALL at Interest.

Last time I check Printing Money out of Thin Air is Illegal and complete Unlawful to say the least.

Anyways that is my 2 cents for what its worth.

We are going to start being more active in the Bitcoin Talk Community now because we are ready to
show the world exactly what we have been developing over the past several years!

Pages:
Jump to: