snuffish
|
|
October 29, 2014, 08:42:17 PM |
|
Now I have struggled with this coin as a developer for 2-3 days.. so this is my "final solution" to post in this thread. This coin has the worst documentation for developers I have encounter in a long time. I hope they will release a better one when they have released the Source code. I'm struggling with the HTTP api requests atm.. it seems that I can't execute POST commands and only GET commands through the HTTP requests. Ex. But I can't "post" transactions like this: Since all "POST" commands results in a "Method not allowed". Anyone got any idea how to go around this? function httpRequest($host, $port, $method, $path, $params, $jsonparams) {
$paramStr = "";
if($jsonparams == 1) { $paramStr = json_encode($params); } else { $paramStr = $params; } if (empty($method)) { $method = 'GET'; } $method = strtoupper($method); if (empty($port)) { $port = 80; }
$sock = fsockopen($host, $port, $errno, $errstr, 5); if($sock) { fputs($sock, "$method $path HTTP/1.1\r\n"); fputs($sock, "Host: $host\r\n"); fputs($sock, "Content-type: " . "application/x-www-form-urlencoded\r\n"); if ($method == "POST") { fputs($sock, "Content-length: " . strlen($paramStr) . "\r\n"); } fputs($sock, "Connection: close\r\n\r\n"); if ($method == "POST") { fputs($sock, $paramStr); }
$result = ""; while (!feof($sock)) { $result .= fgets($sock,1024); }
$result2 = strstr($result, "\r\n\r\n"); fclose($sock); $result3 = json_decode($result2 , true); return $result3; } else { return 'down'; } }
$buf = httpRequest("127.0.0.1", 9085, "GET", "/addresses/validate/".$addr, '');
$buf = httpRequest("127.0.0.1", 9085, "POST", "/wallet/unlock", 'sfdPASSfds3', 0); $buf = httpRequest("127.0.0.1", 9085, "POST", "/payment", array('amount' => $amount, 'fee' => '1.0', 'sender' => 'QXbn5VKQLUCbpHbmaQKRRpouTGXLtyWTut', 'recipient' => $addr), 1);
Try it. Thanks, but I just solved this "mystery" with curl_init() $url = " http://localhost:9085/payment"; $data = array( "amount" => $amount, "fee" => "1", "sender" => $sender, "recipient" => $recipient ); $data_string = json_encode($data); $ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string)) ); echo curl_exec($ch);
|
|
|
|
rabbiter
|
|
October 29, 2014, 08:55:24 PM |
|
This shouldn't be something new if you read my last post, but I found out more things on top of them.
thnx for pointing us to your previous post... I'm not sure how but for some reason I missed it... Welcome to my Ignore List! Edit: some people just wanna get cheap qora or Some nxt people are afraid of qoras success Or some wanna quick btc to get some cash? Which one is true? There is no one answer, stakeholders were over 100 people. One thing I believe is that while Qora supporters like to say the price never mattered but the truth is Qora was never a threat to NXT or anyone while it stayed stuck in a low price. If the community had pushed the price up like I suggested we could be in the top 10 coins and no one would be able to ignore us. Now people can say oh your 50th on Coinmarketcap so You're irrelevant, oh your closed source no one will invest in you. I did my best for this coin I really did, personally I gave up in the end.
|
|
|
|
|
twistelaar
Legendary
Offline
Activity: 1148
Merit: 1000
|
|
October 29, 2014, 10:02:01 PM |
|
When goes QORA OS? We need to do something.. QORA DEV whats the plan?
|
|
|
|
wizzardTim
Legendary
Offline
Activity: 1708
Merit: 1000
Reality is stranger than fiction
|
|
October 29, 2014, 10:25:27 PM |
|
Great! Finally, services are being developed!
|
Behold the Tangle Mysteries! Dare to know It's truth.
- Excerpt from the IOTA Sacred Texts Vol. I
|
|
|
visual111
|
|
October 30, 2014, 12:14:23 AM |
|
fake walls? only 10 BTC traded up to 15 sats, there was around 20 BTC between 13/14 earlier this morning.
|
|
|
|
flankliu
|
|
October 30, 2014, 01:11:36 AM |
|
Thank you, i like texas hold'em, i will try some.
|
|
|
|
pigheadbig
|
|
October 30, 2014, 08:22:51 AM |
|
fake walls? only 10 BTC traded up to 15 sats, there was around 20 BTC between 13/14 earlier this morning.
yeah, someone just want to buy some qora at low price, hold on your coins.
|
|
|
|
twospirit
|
|
October 30, 2014, 03:26:33 PM |
|
fake walls? only 10 BTC traded up to 15 sats, there was around 20 BTC between 13/14 earlier this morning.
yeah, someone just want to buy some qora at low price, hold on your coins. hodl'em!
|
|
|
|
pigheadbig
|
|
October 30, 2014, 03:53:29 PM |
|
the hell sell order shows up again... it's the chance for big whale to get qora.
|
|
|
|
nextgencoin
Legendary
Offline
Activity: 1106
Merit: 1000
|
|
October 30, 2014, 04:04:26 PM |
|
what's the hell sell order? who want to out can contact renat0 He's not replying. I think he's just trying to spread optimism so he can cash out. Rumor has it whales (renat0, dzarmush, agran, rabbiter etc) and Qora are dumping. Insider information? I don't wanna point fingers, just posting what I heard and got to know by analysing the blockchain. Look at that huge sell wall on bter! You take your own conclusions. He doesn't reply anybody either. I'm selling qora for 12 satoshi! We may use escrow!I got this guy at 99% likely of just creating FUD but I admit I'm a little bit wondering what is going on, someone is selling 23btc! Worth, could Qora be dumping? Does the guy really know something we don't?
|
|
|
|
Skerberus
|
|
October 30, 2014, 04:45:23 PM |
|
what's the hell sell order? who want to out can contact renat0 He's not replying. I think he's just trying to spread optimism so he can cash out. Rumor has it whales (renat0, dzarmush, agran, rabbiter etc) and Qora are dumping. Insider information? I don't wanna point fingers, just posting what I heard and got to know by analysing the blockchain. Look at that huge sell wall on bter! You take your own conclusions. He doesn't reply anybody either. I'm selling qora for 12 satoshi! We may use escrow!I got this guy at 99% likely of just creating FUD but I admit I'm a little bit wondering what is going on, someone is selling 23btc! Worth, could Qora be dumping? Does the guy really know something we don't? Keep cool, probably someone wants to buy some Blocknet! As stated by Qora himself he does not own any Qora! And I see no reason for qora to put so much good work into this product and leave ! Look at his actions and you know he is very trustful! Moreover you can talk to him nearly every evening in the chat if you want!
|
|
|
|
zanzibar
|
|
October 30, 2014, 04:59:23 PM |
|
There is no one answer, stakeholders were over 100 people.
One thing I believe is that while Qora supporters like to say the price never mattered but the truth is Qora was never a threat to NXT or anyone while it stayed stuck in a low price. If the community had pushed the price up like I suggested we could be in the top 10 coins and no one would be able to ignore us. Now people can say oh your 50th on Coinmarketcap so You're irrelevant, oh your closed source no one will invest in you. I did my best for this coin I really did, personally I gave up in the end.
File this one under "No One Cares". Please keep your word and stop posting, you've done your damage to Qora.
|
|
|
|
TwinWinNerD
Legendary
Offline
Activity: 1680
Merit: 1001
CEO Bitpanda.com
|
|
October 30, 2014, 07:16:26 PM |
|
As stated by Qora himself he does not own any Qora!
if you really beleive that....
|
|
|
|
PondSea
Legendary
Offline
Activity: 1428
Merit: 1000
|
|
October 30, 2014, 07:19:11 PM |
|
As stated by Qora himself he does not own any Qora!
if you really beleive that.... Why wouldnt we believe it? We have no proof either way so we can take his word for it or not. I personally will take his word for it.
|
|
|
|
Skerberus
|
|
October 30, 2014, 07:51:16 PM |
|
Latest Chat news http://qora.co.in/chat/logs/2014/10/29.html[19:09:12] <twospirit> @Vrontis: do you know how is the AT implementation going? [19:09:43] <twospirit> I have nothing to tweet about [19:16:55] <Vrontis> @twospirit: yes, integration has already started and actually right now both devs are working on it [19:17:10] <Vrontis> but I cannot tell exactly where we are [19:18:32] <Vrontis> but I guess AT is getting into the testnet's core right now ( from what I do actually see now )
|
|
|
|
PondSea
Legendary
Offline
Activity: 1428
Merit: 1000
|
|
October 31, 2014, 07:49:46 PM |
|
Great! Finally, services are being developed! I think we should show some love to this. If people are making stuff for Qora and we dont show any interest devs wont make things for Qora any more.... snuffish can you provide a donation address so we can donate some Qora to you.
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
October 31, 2014, 10:14:23 PM |
|
Alert Don't trade with renat0. He's a scammer. He approached me with an offer of buying 100M Qora for 13 BTC. I sent first and he disappeared for 3 days. The last PM I got from him is: "Sorry for what I've done to you. I'll pay you, just don't know if in 1 week or 1 year.". It shows that nothing unexpected happened. He intended to scam me right from the start. If anyone has any info about his real life name/address, please PM me. Few months ago he told me that he's 24 years old from Brazil. That's the only info I've got at the moment.
|
|
|
|
bonipper
|
|
October 31, 2014, 11:03:42 PM |
|
That might explain some of the massive dumps. What date did he get your coins?
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
October 31, 2014, 11:26:50 PM |
|
That might explain some of the massive dumps. What date did he get your coins?
He didn't dump. Actually the whole story is crazy, he's the biggest Qora holder and one of the biggest Nxt holders. The guy has hundreds of BTC. Maybe he's a junky or something.
|
|
|
|
|