Author

Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin" - page 342. (Read 1151252 times)

legendary
Activity: 2940
Merit: 1333
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
hero member
Activity: 784
Merit: 1002
CLAM Developer
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.
legendary
Activity: 2268
Merit: 1092
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


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.
legendary
Activity: 4004
Merit: 1250
Owner at AltQuick.com
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.
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
Question, is it safe to put in your private keys into this wallet?
newbie
Activity: 9
Merit: 0
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:

Quote
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" [email protected]

Those 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
newbie
Activity: 9
Merit: 0
Code:
  require_once 'jsonRPCClient.php';

  
$coinrpc = new jsonRPCClient("http://USERNAME:[email protected]: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


Thank you sir
legendary
Activity: 2940
Merit: 1333
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:

Quote
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" [email protected]

Those are the username and password: whatever you put in the clam.conf file.
legendary
Activity: 2268
Merit: 1092
Code:
  require_once 'jsonRPCClient.php';

  
$coinrpc = new jsonRPCClient("http://USERNAME:[email protected]: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
newbie
Activity: 6
Merit: 0
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?
newbie
Activity: 9
Merit: 0
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.

Code:
  require_once 'jsonRPCClient.php';

  
$coinrpc = new jsonRPCClient("http://USERNAME:[email protected]: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 ?
legendary
Activity: 2268
Merit: 1092
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.

Code:
  require_once 'jsonRPCClient.php';

  
$coinrpc = new jsonRPCClient("http://USERNAME:[email protected]:30174");

// getinfo
  
$rv $coinrpc->getinfo();
  
var_dump($rv);

// sendtoaddress
  
$rv $coinrpc->sendtoaddress($clamaddress$amount);

?>


legendary
Activity: 2268
Merit: 1092
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/2525
https://news.ycombinator.com/item?id=6983097

I 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.
newbie
Activity: 9
Merit: 0
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.
legendary
Activity: 2940
Merit: 1333
I'm officially an idiot. I installed clamd on one of my development servers and sent about .3 BTC worth of clam to it to stake, then I just recently reinstalled the operating system, accidentally deleting the wallet files without thinking.
...and they weren't imported from BTC addresses.
Boohoo.
What OS were you using? Is undelete an option?
Wonder if anyone has written a utility to scan raw sectors and pull out plausible looking coin keys? I just had a quick look at my clam wallet.dat, and there are strings which could be used to quickly locate the contents of the deleted file, such as "main", "keymeta", and "pool."

A very good option - though it almost sounds like it was a cloud-based/server-as-a-service situation Sad

I think I've seen tools before which scan for private key information. The on-disk format of a private key has a lot of static bytes in it I think (unless of course you encrypted the wallet, in which case that's less likely to be true - though then the 'keymeta' and such will still be in the clear.

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?
hero member
Activity: 784
Merit: 1002
CLAM Developer
I'm officially an idiot. I installed clamd on one of my development servers and sent about .3 BTC worth of clam to it to stake, then I just recently reinstalled the operating system, accidentally deleting the wallet files without thinking.
...and they weren't imported from BTC addresses.
Boohoo.
What OS were you using? Is undelete an option?
Wonder if anyone has written a utility to scan raw sectors and pull out plausible looking coin keys? I just had a quick look at my clam wallet.dat, and there are strings which could be used to quickly locate the contents of the deleted file, such as "main", "keymeta", and "pool."

A very good option - though it almost sounds like it was a cloud-based/server-as-a-service situation Sad
legendary
Activity: 2268
Merit: 1092
I'm officially an idiot. I installed clamd on one of my development servers and sent about .3 BTC worth of clam to it to stake, then I just recently reinstalled the operating system, accidentally deleting the wallet files without thinking.

...and they weren't imported from BTC addresses.

Boohoo.

What OS were you using? Is undelete an option?

Wonder if anyone has written a utility to scan raw sectors and pull out plausible looking coin keys? I just had a quick look at my clam wallet.dat, and there are strings which could be used to quickly locate the contents of the deleted file, such as "main", "keymeta", and "pool."
legendary
Activity: 2940
Merit: 1333
500 CLAMs will stake about once per day.

For those BTC-oriented, 500 CLAM is about 2.85BTC.

It doesn't really matter. If 500 X stakes 1 X per day, that's a gain of 0.2% per day. It doesn't really matter what the X's are worth (so long as it's constant) since you're making 0.2% per day no matter what.

Turns out the price of CLAM is on the rise against BTC for whatever reason and so you're making a little more than 0.2% per day at the moment. The numbers will decrease over time as the stake rate is fixed targetting 1 CLAM per minute, and the total supply is increasing.
hero member
Activity: 504
Merit: 500
sucker got hacked and screwed --Toad
I'm officially an idiot. I installed clamd on one of my development servers and sent about .3 BTC worth of clam to it to stake, then I just recently reinstalled the operating system, accidentally deleting the wallet files without thinking.

...and they weren't imported from BTC addresses.

Boohoo.

Hi there, I am just new to CLAMS and have a question

Do I need to have a complete CLAM coin in order to get the possibility to receive a CLAM for staking?

No, but the probability of staking decreases if you have smaller amounts.

500 CLAMs will stake about once per day.
1 CLAM will stakes about once per 500 days.
So 0.06 CLAMs will stake about once per 22 years.

You might get lucky, but it's probably not worth even trying.

For those BTC-oriented, 500 CLAM is about 2.85BTC.
legendary
Activity: 2940
Merit: 1333
Hi there, I am just new to CLAMS and have a question

Do I need to have a complete CLAM coin in order to get the possibility to receive a CLAM for staking?

No, but the probability of staking decreases if you have smaller amounts.

500 CLAMs will stake about once per day.
1 CLAM will stakes about once per 500 days.
So 0.06 CLAMs will stake about once per 22 years.

You might get lucky, but it's probably not worth even trying.
Jump to: