Bitcoin Forum
April 18, 2024, 02:33:22 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 ... 501 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1150748 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.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 19, 2015, 01:27:16 AM
 #3461

oclvanitygen has no working -P switch...

What makes you say that?

Are you using the vanitygen repo I linked to? I just tried it and it works for me.

also check --help

Thanks. I just added documentation for the -P flag to the --help text.

Code:
./oclvanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLAMZ
Invalid character '0' in prefix '048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB'
Difficulty: 888446610538
[32.19 Mkey/s][total 209715200][Prob 0.0%][50% in 5.3h]

Yeah, that looks like you're running the wrong version.

The standard vanitygen program isn't able to make CLAM addresses. I made a fork here:
  https://github.com/dooglus/vanitygen
which does.

[...]

Once you've built my fork of vanitygen, run it like this:

Code:
./vanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLAMZ

I decided to check whether oclvanitygen really works with the -P flag, because nobody has yet posted a private key that works for me, so I rented a machine with a video card:

Code:
$ ./oclvanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLA
Difficulty: 264104224
Pattern: xJDCLA
Address: xJDCLAE7QkEFsQe9jENL8KgNL8txiLRAdN
PrivkeyPart: LgeVmeaXv5gMETfs6q8CYJEB9W6UhooAnwXUb9c3nf5uor5u6QpX
[25.14 Mkey/s][total 260046848][Prob 22.4%][50% in 4.6s][Found 1]              

When I combine LgeVmeaXv5gMETfs6q8CYJEB9W6UhooAnwXUb9c3nf5uor5u6QpX with my private key, I get a private key which gives me an XJDCLA address. So it is working.

I'm searching keys at 26 Mkey/s, 50% in 6 hours. So you guys have some competition. Smiley

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
1713450802
Hero Member
*
Offline Offline

Posts: 1713450802

View Profile Personal Message (Offline)

Ignore
1713450802
Reply with quote  #2

1713450802
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713450802
Hero Member
*
Offline Offline

Posts: 1713450802

View Profile Personal Message (Offline)

Ignore
1713450802
Reply with quote  #2

1713450802
Report to moderator
1713450802
Hero Member
*
Offline Offline

Posts: 1713450802

View Profile Personal Message (Offline)

Ignore
1713450802
Reply with quote  #2

1713450802
Report to moderator
1713450802
Hero Member
*
Offline Offline

Posts: 1713450802

View Profile Personal Message (Offline)

Ignore
1713450802
Reply with quote  #2

1713450802
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
July 19, 2015, 01:53:03 AM
 #3462

oclvanitygen has no working -P switch...

What makes you say that?

Are you using the vanitygen repo I linked to? I just tried it and it works for me.

also check --help

Thanks. I just added documentation for the -P flag to the --help text.

Code:
./oclvanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLAMZ
Invalid character '0' in prefix '048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB'
Difficulty: 888446610538
[32.19 Mkey/s][total 209715200][Prob 0.0%][50% in 5.3h]

Yeah, that looks like you're running the wrong version.

The standard vanitygen program isn't able to make CLAM addresses. I made a fork here:
  https://github.com/dooglus/vanitygen
which does.

[...]

Once you've built my fork of vanitygen, run it like this:

Code:
./vanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLAMZ

I decided to check whether oclvanitygen really works with the -P flag, because nobody has yet posted a private key that works for me, so I rented a machine with a video card:

Code:
$ ./oclvanitygen -CkP 048F08DCB868F3C22397BF5BAE1F19DE55F4D936AF66DC144E098F69A488FE3266A14FDCDAFBD1897F034AA54CAE13D2AB9A9D96B487A263594F408100D6DCC0FB xJDCLA
Difficulty: 264104224
Pattern: xJDCLA
Address: xJDCLAE7QkEFsQe9jENL8KgNL8txiLRAdN
PrivkeyPart: LgeVmeaXv5gMETfs6q8CYJEB9W6UhooAnwXUb9c3nf5uor5u6QpX
[25.14 Mkey/s][total 260046848][Prob 22.4%][50% in 4.6s][Found 1]              

When I combine LgeVmeaXv5gMETfs6q8CYJEB9W6UhooAnwXUb9c3nf5uor5u6QpX with my private key, I get a private key which gives me an XJDCLA address. So it is working.

I'm searching keys at 26 Mkey/s, 50% in 6 hours. So you guys have some competition. Smiley
after a make clean && make, it works. tough i probably cant respond in time with the keys it finds...

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 19, 2015, 06:10:55 AM
Last edit: July 19, 2015, 10:08:36 AM by dooglus
 #3463

I found one:

Pattern: xJDCLAMZ                                                              
Address: xJDCLAMZkcp7fQ3ieHfZA4SLu3aTy2Y1mr
PrivkeyPart: LiqWRFz5L1CM6vYma7TyZDtdZaJ3NULaJZXtnp45UXix5epTVPkR

One bounty of 50 CLAMs remaining...

Edit: but it turns out I no longer have the private key for the public key I posted!

So we're going to have to start over.

Edit2: oh, I found it again. Phew.

And I found a 2nd vanity too:

Pattern: xJDCLAMZ                                                              
Address: xJDCLAMZSGaTadAzcS7tcVNTa46qCr6j2s
PrivkeyPart: Lnxm6XTD45N6eEnmow9eKDmotchWUBtQsrWPFeg8DwAA5SXEPj4L

So thanks for playing, but we're done here.

Quote
> validateaddress xJDCLAMZkcp7fQ3ieHfZA4SLu3aTy2Y1mr
{
    "isvalid" : true,
    "address" : "xJDCLAMZkcp7fQ3ieHfZA4SLu3aTy2Y1mr",
    "ismine" : true,
    "isscript" : false,
    "pubkey" : "037bedfabb451755cf6061636c8004dba32cb95095ba8cba61de236a70f95e3d2a",
    "iscompressed" : true,
    "account" : ""
}

> validateaddress xJDCLAMZSGaTadAzcS7tcVNTa46qCr6j2s
{
    "isvalid" : true,
    "address" : "xJDCLAMZSGaTadAzcS7tcVNTa46qCr6j2s",
    "ismine" : true,
    "isscript" : false,
    "pubkey" : "02c8c838d0fbd7167a8fc2e153eb6717c6f7a9886d38415aa6e8dd805087fbd7e9",
    "iscompressed" : true,
    "account" : ""
}

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
foodstamps
Hero Member
*****
Offline Offline

Activity: 938
Merit: 502



View Profile
July 19, 2015, 02:29:27 PM
 #3464



So thanks for playing, but we're done here.



Thanks for the game. No luck finding an addy, but I learned how to use vanitygen well if another contest like this arises.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 19, 2015, 03:51:03 PM
Last edit: July 19, 2015, 06:31:20 PM by dooglus
 #3465

So thanks for playing, but we're done here.

Thanks for the game. No luck finding an addy, but I learned how to use vanitygen well if another contest like this arises.

Me too...

So the new addresses I have use 'compressed' public keys and so use less space on the blockchain each time they stake. But I was left with the question of how to migrate from the old addresses to the new ones.

I ended up adding a new flag to the CLAM client: -staketo=ADDR which you can use to tell it to move coins to the new address as they stake.

It results in a nice smooth transition:



but somewhat ugly transactions:



because the CLAM protocol says that input 0 and output 1 have to have the same address, so I make an empty output 1 and a new non-empty output 2 to follow the protocol. All the 0-value outputs should be 'spent' automatically when they mature thanks to my "combineany=1" setting.

Edit: here's evidence that it is indeed cleaning up the zero-valued outputs it creates:

Quote
$ clamd listunspent 0 99999999 '[]' 0 | grep -A1 -F 'amount" : 0.00000000' | grep conf | sort -k3n
        "confirmations" : 1
        "confirmations" : 2
        "confirmations" : 3
        "confirmations" : 4
        "confirmations" : 5
[...]
        "confirmations" : 497
        "confirmations" : 498
        "confirmations" : 499
        "confirmations" : 500
        "confirmations" : 503
        "confirmations" : 504
        "confirmations" : 505
        "confirmations" : 506
        "confirmations" : 508
        "confirmations" : 510
        "confirmations" : 511

ie. only one mature unspent 0 output, waiting for the next time we stake to get spent in the staking transaction.

Here's an example of it spending a zero-valued output as it creates a new one:



The creation of new zero-valued outputs only happens when moving coins from one address to another while staking - so only once per output.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
cloverme
Legendary
*
Offline Offline

Activity: 1512
Merit: 1054


SpacePirate.io


View Profile WWW
July 19, 2015, 07:45:59 PM
 #3466

Checking in to see if there's a testnet for clam yet. I think I remember someone saying in a future release, so just checking Smiley
casinobitco
Legendary
*
Offline Offline

Activity: 1833
Merit: 1030



View Profile WWW
July 19, 2015, 08:40:17 PM
 #3467

Thanks Doog - We'll keep an eye out for a fix, then it should be pretty easy for us to integrate into PeerBet!


<snip>
I opened a github issue about this: https://github.com/nochowderforyou/clams/issues/202

presstab
Legendary
*
Offline Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
July 20, 2015, 06:28:36 AM
 #3468


I ended up adding a new flag to the CLAM client: -staketo=ADDR which you can use to tell it to move coins to the new address as they stake.


Wow. That is an awesome feature.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
statdude
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
July 21, 2015, 02:09:02 AM
Last edit: July 21, 2015, 02:28:15 AM by statdude
 #3469

So, how do i go about claiming my clams with private keys? not clear from OP.

▄█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▄
█ ███████████████████████ █
█ █████     █ ▀██████████ █
█ █████     █   ▀████████ █
█ █████  ██ █     ▀██████ █

█ █████  ▀▀ █▄▄▄▄▄▄▄█████ █
█ █████  ▄▄▄▄▄▄▄▄▄  █████ █
█ █████  ▄▄▄▄▄▄▄▄▄  █████ █
█ █████  ▄▄▄▄▄▄▄▄▄  █████ █
█ █████  ▄▄▄▄▄▄▄▄▄  █████ █
█ █████             █████ █
█ ███████████████████████ █
▀█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▀
  Website
    Twitter
      Gitlab
      Reddit
    Telegram
Whitepaper
  ▄█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▄
█ ███████████████████████ █
█ ███████████████████████ █
█ ███▄    ███████▀   ▄███ █
█ ████▌    █████▀    ████ █
█ ████▌     ███▀     ████ █
█ ████▌▐█    █▀ █    ████ █
█ ████▌▐██     ██    ████ █
█ ████▌▐███   ███    ████ █
█ ███▀  ▀███ ███▀    ▀███ █
█ ███████████████████████ █
█ ███████████████████████ █
▀█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▀
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 21, 2015, 09:12:06 AM
 #3470

So, how do i go about claiming my clams with private keys? not clear from OP.

The easiest way is to import your whole BTC/LTC/DOGE wallet.dat into the CLAM client. It will add all the private keys into its own wallet and scan the blockchain for distribution CLAMs.

Alternatively, if you have specific private keys in WIF format, you can "importpriv" in the CLAM client debug console.

As a third alternative, you can use the Just-Dice.com chat tab to check addresses for CLAM (/dig ADDRESS) and to claim any CLAMs it locates (/dig ADDRESS PRIVKEY). That involves sending your private key to a remote server, so make sure the address is empty and retired from use before doing that.

Oh, and finally, you can use an the CLAM client on an offline machine (without even a copy of the blockchain) to sign a transaction with your private key. Then you don't have to trust the CLAM client or Just-Dice.com. The Just-Dice chat tab can give you a command to run on the offline machine. For example, I type:

Quote
/dig 1CrPRwBkwZdEejXusCbh8o35YMN7g7ffKf offline

and it tells me:

Quote
02:14:34 INFO: run the following on an offline Linux machine, then broadcast the resulting hex value using https://just-dice.com/pushtx
02:14:34 INFO: the addr= part tells it where to send your CLAMs; the default is your Just-Dice deposit address
02:14:34 INFO: when prompted, type your private key:
02:14:34 INFO: echo -n "privkey: "; read privkey; addr=xMYvd61airRrnSUmV2oE1JhEqvzLdFWP7r; val=4.60535574; txid=b45c2a20731f8a88ba980f9cc9ce1d43cd7913d9c26ee3e8002ba1d08676b3de; vout=0; pubkey=76a91482007d41eec3a28b66b1ba726721d95577eb5a7688ac; output='"txid":"'$txid'","vout":'$vout; clamd signrawtransaction $(clamd createrawtransaction '[{'$output'}]' '{"'$addr'":'$val'}') '[{'$output',"scriptPubKey":"'$pubkey'"}]' '["'$privkey'"]'

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
July 21, 2015, 09:11:44 PM
 #3471

Dooglus, do you have some helpful links in how to create a CLAMS like distribution?

I want to create redeemable keys securely for 2 different Coins but I have having a hard time finding useful information that is easy to understand.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 21, 2015, 09:29:43 PM
 #3472

Dooglus, do you have some helpful links in how to create a CLAMS like distribution?

I want to create redeemable keys securely for 2 different Coins but I have having a hard time finding useful information that is easy to understand.

I don't, sorry. I wasn't around for the initial distribution of CLAMs.

The big picture is pretty clear: You can convert BTC addresses to CLAM addresses simply by changing the 'version' byte in the base58check encoding. So I guess all you need to do is get a list of the BTC addresses you want to fund, convert them to your new coin's addresses, and fund those addresses.

But as for actual scripts to do the work for you, I don't have them. Maybe SuperClam or xploited do.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
July 21, 2015, 09:41:19 PM
 #3473

Dooglus, do you have some helpful links in how to create a CLAMS like distribution?

I want to create redeemable keys securely for 2 different Coins but I have having a hard time finding useful information that is easy to understand.

I don't, sorry. I wasn't around for the initial distribution of CLAMs.

The big picture is pretty clear: You can convert BTC addresses to CLAM addresses simply by changing the 'version' byte in the base58check encoding. So I guess all you need to do is get a list of the BTC addresses you want to fund, convert them to your new coin's addresses, and fund those addresses.

But as for actual scripts to do the work for you, I don't have them. Maybe SuperClam or xploited do.

Ok thanks for the help, I'll send them a message and see if they may be able to point me in the right direction.
daxxog
Jr. Member
*
Offline Offline

Activity: 42
Merit: 1


View Profile
July 21, 2015, 10:43:32 PM
 #3474

Dooglus, do you have some helpful links in how to create a CLAMS like distribution?

I want to create redeemable keys securely for 2 different Coins but I have having a hard time finding useful information that is easy to understand.

I don't, sorry. I wasn't around for the initial distribution of CLAMs.

The big picture is pretty clear: You can convert BTC addresses to CLAM addresses simply by changing the 'version' byte in the base58check encoding. So I guess all you need to do is get a list of the BTC addresses you want to fund, convert them to your new coin's addresses, and fund those addresses.

But as for actual scripts to do the work for you, I don't have them. Maybe SuperClam or xploited do.

Ok thanks for the help, I'll send them a message and see if they may be able to point me in the right direction.

This is a good site that can calculate bitcoin/altcoin addresses:
http://gobittest.appspot.com/Address

Look at the "4 - Adding network bytes to 3" section. Good luck!
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 22, 2015, 12:57:29 AM
 #3475

This is a good site that can calculate bitcoin/altcoin addresses:
http://gobittest.appspot.com/Address

Look at the "4 - Adding network bytes to 3" section. Good luck!

I wrote a short Python script that does the same:

Code:
#!/usr/bin/env python

import sys
sys.path.append("/home/chris/Programs/python-bitcoinlib/") # from https://github.com/jgarzik/python-bitcoinlib.git
import bitcoin.base58

def to_addr(addr, magic): return bitcoin.base58.CBase58Data.from_bytes(bitcoin.base58.decode(addr)[1:-4], magic).__str__()
def to_btc(addr): return to_addr(addr, 0x00)
def to_doge(addr): return to_addr(addr, 0x1e)
def to_ltc(addr): return to_addr(addr, 0x30)
def to_clam(addr): return to_addr(addr, 0x89)

def addresses(addr):
    return '\n%s\n%s\n%s\n%s\n' % (
        '%6s: http://blockchain.info/address/%s'    % ('BTC', to_btc(addr)),
        '%6s: http://dogechain.info/address/%s'     % ('DOGE', to_doge(addr)),
        '%6s: http://block-explorer.com/address/%s' % ('LTC', to_ltc(addr)),
        '%6s: http://khashier.com/address/%s'       % ('CLAM', to_clam(addr)))

for i in sys.argv[1:]:
    print addresses(i)

You give it an address, and it converts it to the corresponding address for other coins:

Code:
$ ./clam.py 1AuZSHPe92kDq2YHNkjfh9Pb72bjLnvBAr

   BTC: http://blockchain.info/address/1AuZSHPe92kDq2YHNkjfh9Pb72bjLnvBAr
  DOGE: http://dogechain.info/address/DF3eyYLHSSeWN2it7LjEEuZBzAL2de5jif
   LTC: http://block-explorer.com/address/LV8WhVhUDgzH5qESYtixyATMKEy1Vid6y9
  CLAM: http://khashier.com/address/xJDCLAE7QkEFsQe9jENL8KgNL8txiLRAdN

$

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
SuperClam (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
July 22, 2015, 04:40:54 AM
 #3476

Dooglus, do you have some helpful links in how to create a CLAMS like distribution?
I want to create redeemable keys securely for 2 different Coins but I have having a hard time finding useful information that is easy to understand.
I don't, sorry. I wasn't around for the initial distribution of CLAMs.
The big picture is pretty clear: You can convert BTC addresses to CLAM addresses simply by changing the 'version' byte in the base58check encoding. So I guess all you need to do is get a list of the BTC addresses you want to fund, convert them to your new coin's addresses, and fund those addresses.
But as for actual scripts to do the work for you, I don't have them. Maybe SuperClam or xploited do.
Ok thanks for the help, I'll send them a message and see if they may be able to point me in the right direction.

Include the CLAM community into your distribution - and we will go so far as to provide scripts or even do it for you Smiley

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 Offline

Activity: 2940
Merit: 1330



View Profile
July 22, 2015, 05:05:39 AM
 #3477

Ok thanks for the help, I'll send them a message and see if they may be able to point me in the right direction.

Include the CLAM community into your distribution - and we will go so far as to provide scripts or even do it for you Smiley

Before you take the CLAM snapshot give me a second to split the JD staking wallet into 100,000 different addresses...

ftw

Edit: and by that I mean you should make sure the snapshot date is some time before now. Because otherwise people will abuse it.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
foodstamps
Hero Member
*****
Offline Offline

Activity: 938
Merit: 502



View Profile
July 22, 2015, 05:37:58 AM
 #3478

I made a short little video on how to compile and run oclvanitygen on ubuntu to get a custom BTC or CLAM address using doogs branch of vanitygen.


I know it seems simple, but there were as lot of people that had issues when there was the contest.

https://youtu.be/ml2PFw7KiJU
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
July 22, 2015, 07:16:33 AM
 #3479

I made a short little video on how to compile and run oclvanitygen on ubuntu to get a custom BTC or CLAM address using doogs branch of vanitygen.


I know it seems simple, but there were as lot of people that had issues when there was the contest.

https://youtu.be/ml2PFw7KiJU

Nice, but isn't the hard bit getting the video card drivers installed?

Also, the -P pubkey flag is important, so the finder doesn't know the final private key.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
SuperClam (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
July 22, 2015, 10:52:49 AM
 #3480

Ok thanks for the help, I'll send them a message and see if they may be able to point me in the right direction.
Include the CLAM community into your distribution - and we will go so far as to provide scripts or even do it for you Smiley
Before you take the CLAM snapshot give me a second to split the JD staking wallet into 100,000 different addresses...
ftw
Edit: and by that I mean you should make sure the snapshot date is some time before now. Because otherwise people will abuse it.

Or, distribute based proportionally to balance.
Or, alternatively, distribute at a minimum balance that is high enough to make splitting likely negative expected value.

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.
Pages: « 1 ... 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 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 ... 501 »
  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!