Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - erick

#1
General Discussion / Re: * SNAPSHOT NOTICE *
November 05, 2014, 09:06:44 PM
Quote
Please post the message history between BTER and yourself so that we can determine the problem. Without that, your post seems a little like FUD even if it is 100% true.

I assure you it is not fud .  I avoided saying the exchange i went to just to not sound like i was trying to promote someone because i knew when i was typing it FUD would be the first response, But think what you want. they got me for about $50 so i am not going to make a federal case of it or anything but it does piss me off.
#2
General Discussion / Re: * SNAPSHOT NOTICE *
November 05, 2014, 08:14:23 PM
I see everyone talking about bter on here , please stop using bter. I withdrew coins from my account and they never showed up, bter said they do not have access to their own bitcoin wallet when i asked them about it and then very rudely told me I did not know anything about bitcoin(When I run several bitcoin webpages) and my coins were theirs to keep. They never showed up in my account or wallet.  They are just gone and bter basically told me to f-off. this was weeks ago. so it is my guess that bter just steals when they feel like it or when there is a 'glitch'. I moved to another exchange and have had zero problems since. plus all my withdraws and deposits are way faster.
#3
Technical Support / Re: RPC- I Need A Working PHP Example
September 30, 2014, 01:29:29 AM
I know its not much but i sent everyone that responded 10 btsx for trying to help me out, but my problems are still here. I might have to start over from scratch and maybe i'll solve it. again ty to everyone for trying. :-\ :-\
#4
Technical Support / Re: RPC- I Need A Working PHP Example
September 29, 2014, 11:12:59 PM
ok when i start bitshares_client it says this


Starting JSON RPC server on port 8766 (localhost only)
Starting HTTP JSON RPC server on port 8765 (localhost only)

when I try the curl command I get this

Invalid RPC Request
11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:109 fc::stringstream::peek

    {"str":""}
    th_a  json.cpp:421 fc::json::from_string


when I try to connect via php I get this

Warning: fopen(http://[email protected]:8765): failed to open stream: HTTP request failed! HTTP/1.1 400 Connection: close in C:\ProgramsDev1\Php_551\includes\jsonRPCClient.php on line 132

and if i run netstat -anb I can see that bitsharesx is listening on port 8765 and 8766

but the same code works with bitcoin just fine , so i am totally confused.

#5
Technical Support / Re: RPC- I Need A Working PHP Example
September 28, 2014, 12:01:07 AM
Quote from: xeroc on September 27, 2014, 09:40:33 AM
try to use 'curl' to access tha api and check the settings:

curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}' http://USER:PASSWORD@localhost:19988/rpc


the "/rpc" at the url is IMPORTANT!


When I use my port and name and password to run the command it gives me this error.



curl: (6) Could not resolve host: params
curl: (3) [globbing] illegal character in range specification at pos 2
curl: (6) Could not resolve host: json-rpc
curl: (6) Could not resolve host: 2.0,
curl: (6) Could not resolve host: id
curl: (3) [globbing] unmatched close brace/bracket at pos 2
Invalid RPC Request
4 parse_error_exception: Parse Error
Unexpected char '39' in ""
    {"c":39,"s":""}
    th_a  json.cpp:411 fc::variant_from_stream

    {"str":"'{method:about,"}
    th_a  json.cpp:421 fc::json::from_string
#6
Technical Support / Re: RPC- PHP Example
September 27, 2014, 05:33:18 AM
Here is my code, It works with bitcoin just fine , if i change the port to my bitcoin port it connects no problem, but with Bitsharesx it does not work , please someone tell me the secrets to working with btsx.

  <?php
 error_reporting
(E_ALL);
 
date_default_timezone_set('America/Detroit');
  require_once
'jsonRPCClient.php';
 
$bts = array("user" => "*******(omitted)**********",             // RPC Username
             
"pass" =>   "********(omitted)*********",                   // RPC Password
             
"host" =>   "127.0.0.1",                      // RPC Hostname/IP
             
"port" =>   8765);                            // RPC Port - I am running bitsharesx on port 8765 for http

$mybts = new jsonRPCClient("http://{$bts['user']}:{$bts['pass']}@{$bts['host']}:{$bts['port']}");

echo
"<br>";
print_r($mybts->getinfo());
echo
"<br>";


 
?>


and this is the error i get


Warning: fopen(http://[email protected]:87): failed to open stream: HTTP request failed! HTTP/1.1 400 Connection: close in C:\ProgramsDev1\Php_551\includes\jsonRPCClient.php on line 132

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://******:*****@127.0.0.1:87' in C:\ProgramsDev1\Php_551\includes\jsonRPCClient.php:140 Stack trace: #0 C:\ProgramsDev1\My_WWW\testRPC.php(17): jsonRPCClient->__call('getinfo', Array) #1 C:\ProgramsDev1\My_WWW\testRPC.php(17): jsonRPCClient->getinfo() #2 {main} thrown in C:\ProgramsDev1\Php_551\includes\jsonRPCClient.php on line 140




the rpc username and password have been ommitted , they are correct in the running version . :)
#7
I know its a little pointless , but I have to thank you for asking these questions. This was a great all around thread, and I learned alot about the bitsharesx market. Thanks guys , eventually I will shed this newbish skin and be a full blown BitsharesX Master! :) but seriously thanks. :) these are the kind of posts that make a difference.
#8
General Discussion / Re: 100,000,000,000,000. FREE
September 17, 2014, 10:19:54 AM
Ill take a few million lmao  +5%
#9
Technical Support / RPC- I Need A Working PHP Example
September 10, 2014, 05:07:44 AM
I am in need of a working PHP example. I want to start a website that can send and receive btsx and bitusd but everything i have tried has failed.
#10
sweet i got the daemon running and now it is time to build my site. thanks bytemaster 8) 8) +5% +5% +5%

Ill post it on the forum when i get it done. it will probably be like 2 or 3 days.
#11

[/quote]
programs/bitshares_client   run it with --daemon flag and communicate with it vis JSON-RPC
[/quote]

ahh thank you
#12
I want to make a website that can send btsx , bitusd and such to peoples wallets, that is it. I know with bitcoin you use the daemon to interact with your webpage via php scripts and json objects, I am sure bitshares works in much the same way but i have not been able to find a daemon for bitsharesx. so am i missing something?

in bitcoin yes it is command line interface.
#13
I need to know how to get the bitsharesx daemon mostly. is it available for download?
#14
Muse/SoundDAC / Re: Lets form a Decentralized Band!
September 05, 2014, 06:42:55 PM
LOVE this idea! I play guitar and I WANT IN!
#15
Good Luck To you guys running the thunderclap campaign , This is the kind of marketing we need to see more of. We should be taking advantage of social media whenever possible. +5% +5% +5% +5%