Author

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

legendary
Activity: 2254
Merit: 1290
Anybody had successfully received some CLAMs?

Yes. After reading through the instructions and subsequent confirmatory posts, I decided to take the direct route.

I have standard linux wallets for BTC, LTC and DOGE.

BTC and LTC wallets are empty, never seen any transactions so neither are due to receive CLAMs because the addresses have never been recorded in the bitcoin blockchain as part of a transaction.

But all is not lost, I am a (lapsed) Shibe and my DOGE wallet address has at some time in the past been recorded in the Dogecoin blockchain as part of a transaction (when I acquired the DOGE and when I credited the tipbot's address).

Code:
$ cat /etc/issue
Ubuntu 14.04 LTS \n \l
$ cd /tmp
$ git clone https://github.com/nochowderforyou/clams
$ cd clams
$ qmake-qt4                                              # Qt5 menubar icons and ubuntu unity don't place nice.
$ make -j4                                               # entry-level core i3 (Sandybridge) Acer laptop
                                                         # I ignored several compiler warnings about an unchecked
                                                         # return type, might hack up a PR later.
$ ./clam-qt -printtoconsole -debug
^C
$ cp ~/Documents/BackupWallets/dogecoin-unsecured-backup-wallet-00.dat ~/.clam/wallet.dat
$ ./clam-qt

Works for me, better than expected, I got 4 separate credits of 4.60545574 CLAM.

Why 4 credits, I wonder?

And it's successfully staking, a transaction just showed up in the wallet, itemised as "Mined", totalling 0.00136895.

The overview states I have 13.8-odd CLAM to spend and I am staking 4.6-odd CLAM

Quote

Status: 1/unconfirmed, broadcast through 5 nodes
Date: 27/05/2014 16:55
Source: Generated
Debit: 0.00 CLAM
Net amount: -4.60545574 CLAM
Transaction ID: 1e605b6726a3682ac739dfe8f2fa96e9479b7271d2da484a40946a9dc62a2da5

Generated coins must mature 510 blocks before they can be spent.


(I shuffled the transaction hash id before posting)

Congratulations on what's beginning to look like a solid implementation of a really well-considered approach.

Cheers,

Graham
legendary
Activity: 2254
Merit: 1290
If you do want them, well.... then: Your Welcome Smiley


Your -> You're



You're apparently contradicting yourself ...

Your instructions in the OP:
Quote
9. Run the CLAM Client with the commandline argument -salvagewallet.
...
Quote
8. Run the CLAM Client from the command line adding the -salvagewallet argument.

And from a subsequent response of yours:
Quote
run the CLAM Client with --salvagewallet.  The double -- is important.


HTH.

Cheers,

Graham
hero member
Activity: 784
Merit: 1002
CLAM Developer
This sounds fun and interesting. However, I was wondering, is there a way to check your clam balance (or the balance you are 'entitled' to)  without importing your wallet.dat first?
A complicated answer:
Yes, and No.
If you understood change addresses (which do NOT show up in the client, and most users don't even know they have them) you could take a look at the CLAMS block chain and see if those addresses have a balance.
However, to make this even more difficult, the first time you start the Bitcoin, Litecoin, or Dogecoin Client it creates no less than 100 change addresses.
However, to make this even more difficult, every single time you send coins you use up a change address, and your Client periodically creates more change addresses.
However, to make this even more difficult, the addresses in the Bitcoin, Litecoin, or Dogecoin Client would need to be converted into an address that could be searched on the CLAM Network.  This would require a hand-rolled script.
So, the short answer is, "yes."
The Long answer is, "It is quite difficult."
Ok, I understand it would take a lot of time.
Another question. If I have multiple wallets (say dogecoin and litecoin), is there a way to import multiple wallet.dat files? I tried 'importwallet' but I am getting an error, probably because the wallet.dat is encrypted. Is there a way to import, without first undoing encryption of original wallet, saving unencrypted wallet.dat, and re-encrypting?

Sure, thanks for stopping in Grin

So, the multiple wallets is the more difficult part.

As far as encryption is concerned, we have imported an encrypted wallet, without un-encrypting it.  It is simply STILL an encrypted wallet once it is inside of the CLAM Client, i.e. you need your passphrase to dispose of your CLAMS.



The dumpwallet/importwallet command is a command created by Sipa.  The format it dumps in is NOT the same format as the wallet.dat file.

MultiBit uses the same format when you "Export" your wallet, and the core Bitcoin client uses the same format when you "dumpwallet".
To my knowledge, Litecoin and Dogecoin do NOT have the importwallet/dumpwallet command at all.



AGAIN, ALWAYS HAVE A BACK-UP IN A SAFE PLACE.

To do multiple encrypted wallets, one would have to copy the encrypted wallet.dat file over to the AppData/Clam/ folder, and run the CLAM Client with --salvagewallet.  The double -- is important.  This would have be done for each wallet.

To get all of the coins into a single wallet, the coin would have be sent to an address in a single wallet, after each was imported.



Hope that helps and makes sense!!
sr. member
Activity: 420
Merit: 250
This sounds fun and interesting. However, I was wondering, is there a way to check your clam balance (or the balance you are 'entitled' to)  without importing your wallet.dat first?

A complicated answer:

Yes, and No.

If you understood change addresses (which do NOT show up in the client, and most users don't even know they have them) you could take a look at the CLAMS block chain and see if those addresses have a balance.

However, to make this even more difficult, the first time you start the Bitcoin, Litecoin, or Dogecoin Client it creates no less than 100 change addresses.

However, to make this even more difficult, every single time you send coins you use up a change address, and your Client periodically creates more change addresses.

However, to make this even more difficult, the addresses in the Bitcoin, Litecoin, or Dogecoin Client would need to be converted into an address that could be searched on the CLAM Network.  This would require a hand-rolled script.

So, the short answer is, "yes."

The Long answer is, "It is quite difficult."

Ok, I understand it would take a lot of time.

Another question. If I have multiple wallets (say dogecoin and litecoin), is there a way to import multiple wallet.dat files? I tried 'importwallet' but I am getting an error, probably because the wallet.dat is encrypted. Is there a way to import, without first undoing encryption of original wallet, saving unencrypted wallet.dat, and re-encrypting?
hero member
Activity: 784
Merit: 1002
CLAM Developer
This sounds fun and interesting. However, I was wondering, is there a way to check your clam balance (or the balance you are 'entitled' to)  without importing your wallet.dat first?

A complicated answer:

Yes, and No.

If you understood change addresses (which do NOT show up in the client, and most users don't even know they have them) you could take a look at the CLAMS block chain and see if those addresses have a balance.

However, to make this even more difficult, the first time you start the Bitcoin, Litecoin, or Dogecoin Client it creates no less than 100 change addresses.

However, to make this even more difficult, every single time you send coins you use up a change address, and your Client periodically creates more change addresses.

However, to make this even more difficult, the addresses in the Bitcoin, Litecoin, or Dogecoin Client would need to be converted into an address that could be searched on the CLAM Network.  This would require a hand-rolled script.

So, the short answer is, "yes."

The Long answer is, "It is quite difficult."
sr. member
Activity: 420
Merit: 250
This sounds fun and interesting. However, I was wondering, is there a way to check your clam balance (or the balance you are 'entitled' to)  without importing your wallet.dat first?
hero member
Activity: 784
Merit: 1002
CLAM Developer
We added a new guide to the main Post for MultiBit!

Grin Grin Grin Grin Grin



Please let us know how it works for you!
newbie
Activity: 31
Merit: 0
From which date was the data dump? I only have one btc private key from a multibit wallet that held different amounts of btc in the recent past, but unfortunately importing it to the CLAM wallet didnt yield any CLAM, so I guess the data dump was made before I received btc on this address
How did you do this?
first make sure you understand that you shouldnt be exposing a private key to a address that still hold coins, so understand it and dtake the appropriate measures.
on multibit go tools -> export private keys
select "do not password protect" so you can read the keys in plaintext, then export it to a file, read the file in a text editor and copy the private key(s)
on CLAM go to help -> debug window -> console
importprivkey x  (where x is the private key you are importing)
restart clam and launch the wallet with the -salvagewallet argument
Didn't work for me it just keeps saying invalid key, also I don't know how to export the private key from my Android to a readable format so yet again I'm feeling like I won't get the Clams assigned to my addresses Sad

Don't lose hope, friend Smiley

A MultiBit key dump should look something like this:

# KEEP YOUR PRIVATE KEYS SAFE !
# Anyone who can read this file can spend your bitcoin.
#
# Format:
#   [[]]
#
#   The Base58 encoded private keys are the same format as
#   produced by the Satoshi client/ sipa dumpprivkey utility.
#
#   Key createdAt is in UTC format as specified by ISO 8601
#   e.g: 2011-12-31T16:42:00Z . The century, 'T' and 'Z' are mandatory
#
KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX 2014-05-25T14:32:37Z
# End of private keys

If your dump doesn't look similar to that ^^^ Then, you likely need to click "Do not password protect" before you dump.

In that dump above, the privateKey you need to import is this string of characters:

KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX

So the command:

importprivkey KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX

^^ Should do the trick.



As far as the Android wallet, could you please link us directly to the Android wallet your speaking of?
So we can take a look and see if we can find any info for you?



Even if the above fails, don't give-up hope Grin

We intend to keep hammering away at this until we get it simplified and tutorialized.

Keep checking back with us!

Doesn't work, I did exactly what you said and it just says Invalid Private Key, as for the Android wallet I mean the Dogecoin wallet
member
Activity: 60
Merit: 10
Follow @AllAltNews on Twitter and Facebook!
No Twitter or Facebook to help promote?
hero member
Activity: 784
Merit: 1002
CLAM Developer
do you  have some plan to develop,dev ?

Let me shoot you straight:

Developers who list 5 dozen development goals, the first of which is "Take over the world", are either silly or liars.



Here is what I CAN tell you about our intentions at the moment:

- We have been working on this project, in one form or another, for quite some time.
What this means:  We don't intend to stop any time soon.  We hadn't anticipated folks having quite this much difficulty with the import process; that much is certain.  I think at the moment the primary goal should be simplifying the import process.  Without a community, CLAMS is just a good idea with a tech-demo.

- Crypto is(should be at least) a decentralized endeavor.
What this means:  We were hoping for some community involvement.  There are millions of people out there with un-redeemed CLAMS.  At least some of these people should have a say in the direction and "path" of future CLAMS development.  First, however, we need to get them here and interested.  I think simplifying the import process, along with attaining more markets for CLAMS should help achieve that goal.  We have had some personal conversations with a couple additional exchanges, and intend to continue these talks as much as possible.  In the end, we really need the help of those who have already started to become involved.  The voices of users can help immensely in securing additional exchanges and markets.

- As a development team, this process should start with a question; NOT an answer.
What this means: What are you folks interested in?  We love tech and interesting ideas.  But, we aren't the all mighty masters of the universe.  Why not start this whole process by asking YOU what YOU want to see in the future of CLAMS Grin
member
Activity: 64
Merit: 10
do you  have some plan to develop,dev ?
hero member
Activity: 784
Merit: 1002
CLAM Developer
From which date was the data dump? I only have one btc private key from a multibit wallet that held different amounts of btc in the recent past, but unfortunately importing it to the CLAM wallet didnt yield any CLAM, so I guess the data dump was made before I received btc on this address
How did you do this?
first make sure you understand that you shouldnt be exposing a private key to a address that still hold coins, so understand it and dtake the appropriate measures.
on multibit go tools -> export private keys
select "do not password protect" so you can read the keys in plaintext, then export it to a file, read the file in a text editor and copy the private key(s)
on CLAM go to help -> debug window -> console
importprivkey x  (where x is the private key you are importing)
restart clam and launch the wallet with the -salvagewallet argument
Didn't work for me it just keeps saying invalid key, also I don't know how to export the private key from my Android to a readable format so yet again I'm feeling like I won't get the Clams assigned to my addresses Sad

Don't lose hope, friend Smiley

A MultiBit key dump should look something like this:

# KEEP YOUR PRIVATE KEYS SAFE !
# Anyone who can read this file can spend your bitcoin.
#
# Format:
#   [[]]
#
#   The Base58 encoded private keys are the same format as
#   produced by the Satoshi client/ sipa dumpprivkey utility.
#
#   Key createdAt is in UTC format as specified by ISO 8601
#   e.g: 2011-12-31T16:42:00Z . The century, 'T' and 'Z' are mandatory
#
KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX 2014-05-25T14:32:37Z
# End of private keys

If your dump doesn't look similar to that ^^^ Then, you likely need to click "Do not password protect" before you dump.

In that dump above, the privateKey you need to import is this string of characters:

KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX

So the command:

importprivkey KwEGbfZzry1ZHbuiPgQet8tCs3Jn2GgPrmK98aia4nfELViS5yPX

^^ Should do the trick.



As far as the Android wallet, could you please link us directly to the Android wallet your speaking of?
So we can take a look and see if we can find any info for you?



Even if the above fails, don't give-up hope Grin

We intend to keep hammering away at this until we get it simplified and tutorialized.

Keep checking back with us!
hero member
Activity: 784
Merit: 1002
CLAM Developer
I spent 0.0002 BTC (transaction fee) to send my BTC on multibit, the result I have 4 CLAMs  Grin
the current high bid is 0.00003 BTC/1 CLAM  Huh
so i spent 0.0002 to have 0.00012 BTC?!  Angry
If you obtained them just to dump them, yes, why is that surprising?..

Two things to consider:

#1: We believe importing your wallet without moving your coins first is entirely safe.
-> Ergo: Moving the coins first is a safety per-caution for those who are skeptical.  We don't blame you at all; but it is not necessary.

#2: There is no current high bid.  CLAMS does not have enough volume at an exchange yet to have gone through the process of valuation.
-> Ergo: Only "God" and Oprah know what the price-point of CLAMS might end up being.

Sorry to hear about the high transaction fees you paid, and your distaste with the process Sad
Certainly wasn't our intention at all.

Our intention was to give everyone in Crypto free coins. Period Grin Grin Grin
hero member
Activity: 784
Merit: 1002
CLAM Developer
Cant understand  Huh if I use Electrum (Alt client) and never start original Bitcoin client.  Can i receive some CLAM`s?
Thank You

Pretty much all of the "flavors" of wallet should provide a means for getting at your private keys.  The difficult part is that each will be slightly different.

In the case of Electrum, this post might be helpful:
https://en.bitcoin.it/wiki/Electrum#Export_and_import_addresses

I hope that helps a bit, though it is slightly complicated if your not used to dealing with a daemon. 
If your still having troubles, please post back with as many specific details about what part your stuck on - and we will do our best to help you out!
sr. member
Activity: 434
Merit: 250
Universal Life Church Minister
Cant understand  Huh if I use Electrum (Alt client) and never start original Bitcoin client.  Can i receive some CLAM`s?
Thank You
sr. member
Activity: 420
Merit: 250
I spent 0.0002 BTC (transaction fee) to send my BTC on multibit, the result I have 4 CLAMs  Grin
the current high bid is 0.00003 BTC/1 CLAM  Huh
so i spent 0.0002 to have 0.00012 BTC?!  Angry

If you obtained them just to dump them, yes, why is that surprising?..
sr. member
Activity: 686
Merit: 266
I spent 0.0002 BTC (transaction fee) to send my BTC on multibit, the result I have 4 CLAMs  Grin
the current high bid is 0.00003 BTC/1 CLAM  Huh
so i spent 0.0002 to have 0.00012 BTC?!  Angry
newbie
Activity: 31
Merit: 0
From which date was the data dump? I only have one btc private key from a multibit wallet that held different amounts of btc in the recent past, but unfortunately importing it to the CLAM wallet didnt yield any CLAM, so I guess the data dump was made before I received btc on this address

How did you do this?

first make sure you understand that you shouldnt be exposing a private key to a address that still hold coins, so understand it and dtake the appropriate measures.

on multibit go tools -> export private keys

select "do not password protect" so you can read the keys in plaintext, then export it to a file, read the file in a text editor and copy the private key(s)

on CLAM go to help -> debug window -> console
importprivkey x  (where x is the private key you are importing)
restart clam and launch the wallet with the -salvagewallet argument

Didn't work for me it just keeps saying invalid key, also I don't know how to export the private key from my Android to a readable format so yet again I'm feeling like I won't get the Clams assigned to my addresses Sad
hero member
Activity: 784
Merit: 1002
CLAM Developer
Sorry if we have been a bit quiet;
We are trying to take stock and figure out what the best/most helpful way to move forward might be.

The first step will likely involve some type of tool to make it easy to import the walley/keys for less technical users.
One of the reasons we chose not to hold off launch for such a tool, is that we figured a foreign tool would be more off-putting to users.
Using client software that you are familiar with, and using some tool a stranger assures you is safe we figured were two very different propositions.
Plus, we are admittedly more "stimulated" by the technical side of things as opposed to the marketing aspects - sorry in advance if we ever fall short in that regard.

On to posts!

Heh, so if it is txout based (how CLAMs were given), and the dev's didn't try to give themselves a huge advantage, then the luckiest clam holders are probably p2pool miners that never merge their coins into single txouts.
Some major analysis on the CLAM chain and the prior imports is needed I think.  Should be very interesting.

In all honesty, this may be possible.  We have more than one pool administrator on the team, but it seems none of us has ever administered a p2pool.  I have personally mined p2pool, but at the time wasn't overly interested in whether or not the incoming coinbase transactions were routed to one address or many.

That said, if I am not mistaken, don't you use your wallet address as the worker name when you mine p2pool? 

If that is the case, and your incoming payments are routed there (I believe that is how it works) -> then this wouldn't be a concern. 

Addresses with more than one unspent output were still only counted once in the distribution, and additional occurrences would have been weeded out when duplicates were eliminated.

An interesting issue though, we would be interested to hear from any users who have a great deal of knowledge concerning p2pool.



Did you run -salvagewallet during the first load? Otherwise your wallet.dat will hold tx information for invalid tx's, thus the "too high" and "negative" errors i suspect.
Yes...  There are still tons of exceptions in the debug.log with -salvagewallet.

Code:
Renamed wallet.dat to wallet.1401006085.bak
Salvage(aggressive) found 1210 records
:
ERROR: CTransaction::CheckTransaction() : txout.nValue too high
ERROR: CTransaction::CheckTransaction() : txout.nValue negative
WARNING: CWalletDB::Recover skipping key:

Dratts! I am not the resident expert on the team, and they happen to be sleeping at the moment, but I know in my personal testing I certainly never ran into this issue. 

In the interest of attempting to be useful, and the risk of sounding un-informed while the real brains of the operation slumbers:

Might it be worth a go to do a sanity check and start the import from scratch again? 

Of coarse, always have a BACK-UP, especially when I don't have the wallet guy here to ensure I'm on the right track Tongue

I.e. Delete the entire AppData/clams/ folder, make sure the source client (BTC/LTC/DOGE) is NOT running (check tasks, give it a minute to finalize the DB as it shuts down), launch the CLAM client alone with the generated wallet, letting it sync, shut down the CLAM client ensuring that it also shuts down and detaches the DB, then move the import wallet.dat into the folder and run with "--salvagewallet". 

Another command line argument that might (don't quote me please) be helpful:  "--rescan". 

Possible console commands that might be helpful: checkwallet, repairwallet.

I wouldn't be horribly surprised if all of that was drivel -> but that is the type of wack-a-mole procedure I would go through given I was flying solo, trouble-shooting and knew I had a safe and sound back-up lying about.

Frankly, when we first got the framework set-up, I imported a wallet in all three chains to make sure all was working as planned (one of which was a very active pool wallet) and didn't run into any issues at all.

Kind of has me stumped  Huh



I only really use my Android wallet so I can't get these Sad

That should not be true. 

The majority of wallet providers that I am aware of do provide some means to gain access to your privateKeys.  At bare minimum, using an open-source tool such as pywallet.

^ However, we don't expect the average user to be able to consistently get that accomplished.  That is why one of our major next priorities is to begin chipping away at the dozens of wallet solutions for tools and tutorials that can help ease the import and transition for new users.

If anyone has a knack for explaining things in a less... superfluous..... manner, and some knowledge of how the wallet and key system works... We would certainly welcome help in getting all of this together with open arms.  Unfortunately, we do not have any conventional bounties or what-not to bribe you with - it would have to be just because you want to help out fellow CLAMS in getting their coins Cheesy

Every community needs ambassadors Smiley



I will say this for the devs.
They have not removed negative comments from the thread.
They have replied to people's concerns and tried their best to answer them.  They have done this in a mature and measured way which scam coins, if they are one, very rarely do.
I am not involved with them and will not be installing clam.
But I offer my respect for their endeavours - even if I think they are little misplaced - and the effort they have put in to both create clam in the first place and to resolve the questions that have been asked.
I have a growing feeling that their intentions may be honourable - but the complexity of installation, the uniqueness of the coin distribution and the cloud of unknowing that surrounds it all is putting a lot of people off.
Good luck.

Thanks for vote of semi-confidence Smiley

I still hope to some-day convince you to get your CLAMS Cheesy

Give it some time though, we knew going into this that it was sensitive and would take a bit for people to understand and be willing to go through the process.



From which date was the data dump? I only have one btc private key from a multibit wallet that held different amounts of btc in the recent past, but unfortunately importing it to the CLAM wallet didnt yield any CLAM, so I guess the data dump was made before I received btc on this address

The data dump was from roughly a week ago now, possible a tad more than that.  We ran into some problems with the send script if we stacked too many outgoing transactions into the mem-pool or set the block speed too high during the sending process, so the server ran non-stop for quite a period of time rolling out the sends.

Long story short, it took a while.  We tried to hurry and get everything in order for the launch as quickly as possible, but alas, things never move quite as quickly as one would hope.

Assuming you had coins in your wallet during that time period, and you didn't attempt to import a single key (as the coins might have been at what is called a "change" address at that time), they should be there!



From which date was the data dump? I only have one btc private key from a multibit wallet that held different amounts of btc in the recent past, but unfortunately importing it to the CLAM wallet didnt yield any CLAM, so I guess the data dump was made before I received btc on this address
How did you do this?
first make sure you understand that you shouldnt be exposing a private key to a address that still hold coins, so understand it and dtake the appropriate measures.
on multibit go tools -> export private keys
select "do not password protect" so you can read the keys in plaintext, then export it to a file, read the file in a text editor and copy the private key(s)
on CLAM go to help -> debug window -> console
importprivkey x  (where x is the private key you are importing)
restart clam and launch the wallet with the -salvagewallet argument

See! That is just the type of enthusiasm I was talking about when I mentioned community ambassadors Cheesy
Sure your not just dying to write up a plain english tutorial for Multi-Bit? Cheesy

I kid, I kid; but if by chance your willing, I think everyone would really appreciate it!  Wink Wink



Seeing how the dev's have reacted so far, and the system seems to be working well, this could be a very interesting experiment.
What is missing, is a proper UI for importing private keys in the core client.

Agreed, 100%

I think we were in a bit of a 'bubble' as they say. 

"Using the --salvagewallet parameter is a great method for users!  I mean everyone knows how to do that and it doesn't get any simpler!  We can write up the Omni-Tool for importing later when non-crypto-community users start to get interested!"

^^ Sometimes it is too easy to forget that not everyone understand a terminal and command line arguments.

Sincere Apologies -> that we intend to retract sometime in the near future after we hack, slash, and hammer out a better solution Cheesy




Phew!

Enough for now!

Think CLAMS is a cool idea? 

Let the exchange Poloniex know how you feel!
Might be just the nudge they need to join the CLAM party Grin
hero member
Activity: 700
Merit: 500
Seeing how the dev's have reacted so far, and the system seems to be working well, this could be a very interesting experiment.

What is missing, is a proper UI for importing private keys in the core client.
Jump to: