Bitcoin Forum
November 28, 2026, 03:02:21 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 [159] 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 ... 502 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1154010 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
almightyruler
Legendary
*
Offline

Activity: 2352
Merit: 1092


View Profile
June 15, 2015, 07:15:56 AM
 #3161

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.
almightyruler
Legendary
*
Offline

Activity: 2352
Merit: 1092


View Profile
June 15, 2015, 07:19:19 AM
 #3162

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:
<?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
*
Offline

Activity: 9
Merit: 0


View Profile
June 15, 2015, 07:40:03 AM
 #3163

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:
<?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
*
Offline

Activity: 6
Merit: 0


View Profile
June 15, 2015, 07:48:02 AM
 #3164

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
*
Offline

Activity: 2352
Merit: 1092


View Profile
June 15, 2015, 07:51:31 AM
 #3165

Code:
<?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
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 15, 2015, 07:52:14 AM
 #3166

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" admin@foo.com

Those are the username and password: whatever you put in the clam.conf file.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
rakesh.technorizen
Newbie
*
Offline

Activity: 9
Merit: 0


View Profile
June 15, 2015, 09:53:28 AM
 #3167

Code:
<?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


Thank you sir
rakesh.technorizen
Newbie
*
Offline

Activity: 9
Merit: 0


View Profile
June 15, 2015, 10:21:00 AM
Last edit: June 15, 2015, 01:41:42 PM by rakesh.technorizen
 #3168

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" admin@foo.com

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
BadAss.Sx
Legendary
*
Offline

Activity: 1540
Merit: 1002


https://fos.ad, to get rid of whats wrong


View Profile WWW
June 15, 2015, 12:55:17 PM
 #3169

Question, is it safe to put in your private keys into this wallet?
BayAreaCoins
Legendary
*
Offline

Activity: 4690
Merit: 1416


AltQuick.com Owner


View Profile WWW
June 15, 2015, 01:12:51 PM
 #3170

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
*
Offline

Activity: 2352
Merit: 1092


View Profile
June 15, 2015, 02:38:26 PM
 #3171

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.
SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
June 15, 2015, 07:08:35 PM
 #3172

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.

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 16, 2015, 07:21:22 AM
 #3173

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
*
Offline

Activity: 9
Merit: 0


View Profile
June 16, 2015, 01:59:04 PM
 #3174

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
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 16, 2015, 07:37:50 PM
 #3175

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
*
Offline

Activity: 1859
Merit: 1001


View Profile
June 17, 2015, 03:12:04 AM
 #3176

god damn this is the slowest synching client ever!

SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
June 17, 2015, 04:47:33 AM
 #3177

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

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
edgar
Legendary
*
Offline

Activity: 1859
Merit: 1001


View Profile
June 17, 2015, 07:33:07 AM
 #3178

oooh, 9 hr download .dat file

only 6h to go.. until i can start synching again...
BadAss.Sx
Legendary
*
Offline

Activity: 1540
Merit: 1002


https://fos.ad, to get rid of whats wrong


View Profile WWW
June 17, 2015, 12:13:47 PM
 #3179

god damn this is the slowest synching client ever!



Mine was ready within a few hours and that was two days ago.
edgar
Legendary
*
Offline

Activity: 1859
Merit: 1001


View Profile
June 17, 2015, 01:11:45 PM
 #3180

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.

Pages: « 1 ... 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 [159] 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 ... 502 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!