almightyruler
Legendary

Activity: 2352
Merit: 1092
|
 |
June 15, 2015, 07:15:56 AM |
|
Do cloud-based server providers wipe the hard drives before provisioning a 'new' server? Or is there a possibility that you can scan the 'free' space on your new server and scan for the previous owner's wallet data?
It came out a couple of years ago that by default, digitalocean do NOT wipe customer data when they delete their VM, so it was possible for future customers who were allocated the same space to access the remnants. https://github.com/fog/fog/issues/2525https://news.ycombinator.com/item?id=6983097I think they've changed this behaviour now, but I'm not sure. Along similar lines: I once requested that a second hard drive be added to my dedicated server. The tech doing it was nice enough to mount the drive and add it to fstab, which meant that a previous customer's data (!) was immediately and easily accessible. They didn't bother to zero fill it.
|
|
|
|
|
almightyruler
Legendary

Activity: 2352
Merit: 1092
|
 |
June 15, 2015, 07:19:19 AM |
|
I am new here, i am looking for php api here,
also i have few questions.
1.) How to know any address has Clams ? 2.) How to valid address for Clams ? 3.) Is there any PHP API for developer ?
What PHP API? You can interact with the wallet using it's server function (server=1) and JSON-RPC PHP, a free library for running JSON-RPC commands with PHP. Thanks for reply, but it will be pleasure to me if you give a example with use json_rpc client can you post php code with json rpc client how to use send clams to other address Help me please. <?php require_once 'jsonRPCClient.php';
$coinrpc = new jsonRPCClient("http://USERNAME:PASSWORD@127.0.0.1:30174");
// getinfo $rv = $coinrpc->getinfo(); var_dump($rv);
// sendtoaddress $rv = $coinrpc->sendtoaddress($clamaddress, $amount);
?>
|
|
|
|
|
rakesh.technorizen
Newbie

Activity: 9
Merit: 0
|
 |
June 15, 2015, 07:40:03 AM |
|
I am new here, i am looking for php api here,
also i have few questions.
1.) How to know any address has Clams ? 2.) How to valid address for Clams ? 3.) Is there any PHP API for developer ?
What PHP API? You can interact with the wallet using it's server function (server=1) and JSON-RPC PHP, a free library for running JSON-RPC commands with PHP. Thanks for reply, but it will be pleasure to me if you give a example with use json_rpc client can you post php code with json rpc client how to use send clams to other address Help me please. <?php require_once 'jsonRPCClient.php';
$coinrpc = new jsonRPCClient("http://USERNAME:PASSWORD@127.0.0.1:30174");
// getinfo $rv = $coinrpc->getinfo(); var_dump($rv);
// sendtoaddress $rv = $coinrpc->sendtoaddress($clamaddress, $amount);
?> Thanks for reply sir , but i am facing another problem , i tried 1.) khashier.com/ 2.) http://blockexplorer.com/ 3.) also clam client network there is no option for username and password how i will create username and password in these sites ?
|
|
|
|
|
Nht5alusio
Newbie

Activity: 6
Merit: 0
|
 |
June 15, 2015, 07:48:02 AM |
|
op says they sent clams to over 3.1 million unique addresses of btc, ltc and that other thing. did op manually copy and paste and send to all 3.1 million addresses?
|
|
|
|
|
almightyruler
Legendary

Activity: 2352
Merit: 1092
|
 |
June 15, 2015, 07:51:31 AM |
|
<?php require_once 'jsonRPCClient.php';
$coinrpc = new jsonRPCClient("http://USERNAME:PASSWORD@127.0.0.1:30174");
// getinfo $rv = $coinrpc->getinfo(); var_dump($rv);
// sendtoaddress $rv = $coinrpc->sendtoaddress($clamaddress, $amount);
?> Thanks for reply sir , but i am facing another problem , i tried 1.) khashier.com/ 2.) http://blockexplorer.com/ 3.) also clam client network there is no option for username and password how i will create username and password in these sites ? I believe that khashier.com and blockexplorer.com only show transactions. AFAIK, they do not hold any value for third parties (ie, they're not a bank) The sample source code that I posted assumes you have a CLAM client running on the same computer. The username and password would be contained within clam.conf. If the user/pass are not already there, you can edit the file and add them manually: rpcuser=CHOOSE_A_USERNAME rpcpassword=CHOOSE_A_PASSWORD rpcallowip=127.0.0.1
|
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
June 15, 2015, 07:52:14 AM |
|
Thanks for reply sir , but i am facing another problem , i tried 1.) khashier.com/ 2.) http://blockexplorer.com/ 3.) also clam client network there is no option for username and password how i will create username and password in these sites ? Run 'clamd'. It will tell you something like: Error: To use clamd, you must set a rpcpassword in the configuration file: /home/rakesh/.clam/clam.conf It is recommended you use the following random password: rpcuser=clamrpc rpcpassword=8SJafhJF75k2GM2tFxjAsMGhS8GdBou2aH4QVEWjGqx8 (you do not need to remember this password) The username and password MUST NOT be the same. If the file does not exist, create it with owner-readable-only file permissions. It is also recommended to set alertnotify so you are notified of problems; for example: alertnotify=echo %s | mail -s "Clam Alert" admin@foo.comThose are the username and password: whatever you put in the clam.conf file.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
rakesh.technorizen
Newbie

Activity: 9
Merit: 0
|
 |
June 15, 2015, 09:53:28 AM |
|
<?php require_once 'jsonRPCClient.php';
$coinrpc = new jsonRPCClient("http://USERNAME:PASSWORD@127.0.0.1:30174");
// getinfo $rv = $coinrpc->getinfo(); var_dump($rv);
// sendtoaddress $rv = $coinrpc->sendtoaddress($clamaddress, $amount);
?> Thanks for reply sir , but i am facing another problem , i tried 1.) khashier.com/ 2.) http://blockexplorer.com/ 3.) also clam client network there is no option for username and password how i will create username and password in these sites ? I believe that khashier.com and blockexplorer.com only show transactions. AFAIK, they do not hold any value for third parties (ie, they're not a bank) The sample source code that I posted assumes you have a CLAM client running on the same computer. The username and password would be contained within clam.conf. If the user/pass are not already there, you can edit the file and add them manually: rpcuser=CHOOSE_A_USERNAME rpcpassword=CHOOSE_A_PASSWORD rpcallowip=127.0.0.1Thank you sir
|
|
|
|
|
rakesh.technorizen
Newbie

Activity: 9
Merit: 0
|
 |
June 15, 2015, 10:21:00 AM Last edit: June 15, 2015, 01:41:42 PM by rakesh.technorizen |
|
Thanks for reply sir , but i am facing another problem , i tried 1.) khashier.com/ 2.) http://blockexplorer.com/ 3.) also clam client network there is no option for username and password how i will create username and password in these sites ? Run 'clamd'. It will tell you something like: Error: To use clamd, you must set a rpcpassword in the configuration file: /home/rakesh/.clam/clam.conf It is recommended you use the following random password: rpcuser=clamrpc rpcpassword=8SJafhJF75k2GM2tFxjAsMGhS8GdBou2aH4QVEWjGqx8 (you do not need to remember this password) The username and password MUST NOT be the same. If the file does not exist, create it with owner-readable-only file permissions. It is also recommended to set alertnotify so you are notified of problems; for example: alertnotify=echo %s | mail -s "Clam Alert" admin@foo.comThose are the username and password: whatever you put in the clam.conf file. Thanks you, it was great help for me , but what is this now most of this web-services not working https://blockchain.info/api/json_rpc_api
|
|
|
|
|
BadAss.Sx
Legendary

Activity: 1540
Merit: 1002
https://fos.ad, to get rid of whats wrong
|
 |
June 15, 2015, 12:55:17 PM |
|
Question, is it safe to put in your private keys into this wallet?
|
|
|
|
|
BayAreaCoins
Legendary

Activity: 4690
Merit: 1416
AltQuick.com Owner
|
 |
June 15, 2015, 01:12:51 PM |
|
Question, is it safe to put in your private keys into this wallet?
Better safe than sorry. Only put empty private keys into the wallet imo. However, a number of people have used private keys with coins on them and so far so good.
|
https://AltQuick.com/exchange/ - A Bitcoin-based exchange for Altcoins, Signet, & Bitcoin Testnet (no fiat, stables, or KYC) - PGP D2F6EB9E127D75D6F994BA5F6862DDA3084922EE
|
|
|
almightyruler
Legendary

Activity: 2352
Merit: 1092
|
 |
June 15, 2015, 02:38:26 PM |
|
This is an API specifically for that website. You won't be able to send funds, and I'm not even sure that they support CLAM? In general, you will need to run your own client (wallet) to be able to send and receive funds. The code I posted communicates with the client.
|
|
|
|
|
|
SuperClam (OP)
|
 |
June 15, 2015, 07:08:35 PM |
|
Question, is it safe to put in your private keys into this wallet?
As BayAreaCoins has suggested, we recommend that users first move their BTC, LTC and DOGE to a new address/pubKey before using the "old" pubKey to claim CLAM. The pubKey/address doesn't need to CURRENTLY "control" the BTC, LTC and DOGE to claim the associated CLAM as long as it DID at the time of distribution. This strategy only costs a single transaction fee, thus we recommend it as a common sense security precaution to eliminate even the remote possibility or impression of risk.
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
June 16, 2015, 07:21:22 AM |
|
op says they sent clams to over 3.1 million unique addresses of btc, ltc and that other thing. did op manually copy and paste and send to all 3.1 million addresses?
I very much doubt it. Such repetitive tasks would be scripted. And it was 3,208,032 addresses by the way, but only 3,207,929 different CLAM addresses were funded. Some people apparently used the same private key for BTC, LTC, and DOGE addresses, and so their three different addresses all come out as the same CLAM address. See x9AnPHyGwRTVtqmHfw4K3wDGAWp1FwDoTv for example. It got 3 separate 4.6 CLAM gifts, because the same private key was used on all 3 coins - all 4 of these addresses have the same private key (although I don't know what it is): BTC: 1s9VR8ofhyTrTfRKTReckvUwQWmsBVjU4 DOGE: D61F2g5Sy7skPTr243RDAX65pYF5GFrYm6 LTC: LL66kdSdkNDX7GMaVbQwtmzF9ct3zUy3Hf CLAM: x9AnPHyGwRTVtqmHfw4K3wDGAWp1FwDoTv
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
rakesh.technorizen
Newbie

Activity: 9
Merit: 0
|
 |
June 16, 2015, 01:59:04 PM |
|
i installed clam client and it is working on my localhost , now how to install that on my centos linux server any help ?
|
|
|
|
|
dooglus
Legendary

Activity: 2940
Merit: 1339
|
 |
June 16, 2015, 07:37:50 PM |
|
i installed clam client and it is working on my localhost , now how to install that on my centos linux server any help ?
You can build it from source or use a binary from the OP.
|
| Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
edgar
Legendary

Activity: 1859
Merit: 1001
|
 |
June 17, 2015, 03:12:04 AM |
|
god damn this is the slowest synching client ever!
|
|
|
|
|
|
SuperClam (OP)
|
 |
June 17, 2015, 04:47:33 AM |
|
god damn this is the slowest synching client ever!
dooglus provides a bootstrap file, which should be linked in the OP post. This can speed up sync time considerably. I will look to update the peer list in the OP post as well - it has been some time. If you look in your debug and notice any connect block or orphan issues, these can sometimes be resolved with a simple restart of the client. Specific problems with accompanying debug information should be reported at the repository, here: https://github.com/nochowderforyou/clams/issues
|
|
|
|
edgar
Legendary

Activity: 1859
Merit: 1001
|
 |
June 17, 2015, 07:33:07 AM |
|
oooh, 9 hr download .dat file
only 6h to go.. until i can start synching again...
|
|
|
|
|
BadAss.Sx
Legendary

Activity: 1540
Merit: 1002
https://fos.ad, to get rid of whats wrong
|
 |
June 17, 2015, 12:13:47 PM |
|
god damn this is the slowest synching client ever!
Mine was ready within a few hours and that was two days ago.
|
|
|
|
|
edgar
Legendary

Activity: 1859
Merit: 1001
|
 |
June 17, 2015, 01:11:45 PM |
|
god damn this is the slowest synching client ever!
Mine was ready within a few hours and that was two days ago. mines been synching for 3 nights already and im only up to 30th Dec 2014. neither the additional nodes nor the bootstrap.dat made a noticeable difference.
|
|
|
|
|
|