dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
December 08, 2017, 05:16:04 PM |
|
It doesn't matter if the client is synced. You should unlock the wallet with the walletpassphrase RPC before trying to sign a transaction. Other than that, maybe you could show more details. What are you typing, and what does the error say? "I failed" isn't helpful.
Here's the random test data I'm using: From address: xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g (importprivkey Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt) To address: xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW (importprivkey LnE8nFjSGVKhxoo5rxNZnQU31zT2JnDmVNsEEXoA8tq1HoXtJ4DC) Amount: 3.5 CLAM TX in which they were received: 71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c Output in which they were received: 69 By the way, I'm using the console window of the clam-qt.exe client. I'm testing on a Windows VM without network that has never seen any Clam install before (and for every test I revert it back to a previous snapshot). I just start the exe, import the above keys, restart the exe and go to the console window. There's no password set (at least clam-qt never asked for one). Here's the screenshot of my attempt: http://picpaste.com/iYdNPs6T.pngI'm aware that any other Clams would be a tx fee; I'm just trying to get this to work right now, so I don't bother about fees. Anybody can help? Are you there Dooglus? I am here. I did have a quick look at the addresses and txids you posted but it looked to me like none of them existed on the network. http://khashier.com/address/xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7ghttp://khashier.com/address/xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwWhttp://khashier.com/tx/71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201cetc. So I don't know what you're really trying to do. I would be helpful if you could copy/paste the whole console session. What commands are you running? What outputs are you getting?
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|
|
|
|
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
air139
Newbie
Offline
Activity: 52
Merit: 0
|
|
December 08, 2017, 09:50:56 PM |
|
Any hope of getting more exchanges to carry clam? seems like the bottle neck atm. Polo doesnt serve everyone and ShapeShift seems spotty af, it makes clams like a little extra risky :/
|
|
|
|
Timetwister
Legendary
Offline
Activity: 1199
Merit: 1047
|
|
December 08, 2017, 10:04:54 PM |
|
Any hope of getting more exchanges to carry clam? seems like the bottle neck atm. Polo doesnt serve everyone and ShapeShift seems spotty af, it makes clams like a little extra risky :/
I think it's possible to buy them from other people from Just Dice with the escrow method. I'm not sure though, I haven't tried it.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
December 09, 2017, 02:34:05 AM |
|
Any hope of getting more exchanges to carry clam?
I don't know if anyone has tried. You are free to contact whichever exchange you use and ask them to add it.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
BayAreaCoins
Legendary
Offline
Activity: 3920
Merit: 1247
Owner at AltQuick.com & FreeBitcoins.com
|
|
December 09, 2017, 04:49:12 AM |
|
Any hope of getting more exchanges to carry clam?
I don't know if anyone has tried. You are free to contact whichever exchange you use and ask them to add it. Let us know what exchanges you are thinking about wanting to add. CoinExchange.com is kind of interesting and they don't have limits on Bitcoin withdraws. I haven't asked exchanges in probably over a year... I last tried to get some Chinese exchanges.
|
|
|
|
FrankS
Newbie
Offline
Activity: 21
Merit: 0
|
|
December 09, 2017, 09:14:56 AM |
|
Like I said, that's random data I generated (that's why I also posted the private keys so anybody can retry). Since I'm trying to get the whole signing process to work on a system without network access, there is no way for the Clam client to verify eg the tx. That's why I might as well use random addresses and tx. From my understanding, it should not matter if the data is real or not as long as it passes e.g. address verifications. Btw, I did include a screenshot of the console session before where I tried to create a tx to spend the 69th output. See http://picpaste.com/iYdNPs6T.pngCreating the raw tx works, but I cannot figure out how to sign it correctly, even when I have both privkeys in the client.
|
|
|
|
xnyz
Member
Offline
Activity: 170
Merit: 10
|
|
December 09, 2017, 06:54:44 PM |
|
is there any new things going on here?
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
December 09, 2017, 07:44:45 PM |
|
Can you copy/paste that in text form? And show some information about the output you're trying to spend. Output from 'validateoutputs' about it would be useful.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
ders_a
|
|
December 09, 2017, 08:59:18 PM |
|
Honestly speaking I cannot see what is reason for that coin (it is not only one coin without reason, coin just to make one more coin). I am wrong?
p.s. I am small investor and trader. From trading view looks it is dead. Just imo. ok, good thing is support form POLO. but volumes are not huge, not sure how long it will stay on polo
|
✦✦ MN+PoS return over 160% (counted since April 2018) ✦✦
|
|
|
FrankS
Newbie
Offline
Activity: 21
Merit: 0
|
|
December 09, 2017, 09:05:57 PM |
|
Can you copy/paste that in text form? And show some information about the output you're trying to spend. Output from 'validateoutputs' about it would be useful. Sure thing; I recreated what I tried before and pasted it below. "validateoutputs" obviously says not found, but that's a given. Not just because it does not actually exist, but because creating and signing is supposed to happen on a computer that hasn't been on the network so naturally it won't have any tx information at all. If a fully synced client is required, the whole process of offline signing would be meaningless. My understanding of the process is that you create a valid raw-tx (what seems to work, at least the console does not complain) and then sign it with the privkey of the sender's address so you can use a pushtx service on another (online) computer to send it out. If that signed tx contains garbage (like a non-existant source tx), the miner is supposed to reject it. Please correct me if I am wrong on any of those assumptions. Thanks for taking a look into that by the way dumpprivkey xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt
dumpprivkey xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW LnE8nFjSGVKhxoo5rxNZnQU31zT2JnDmVNsEEXoA8tq1HoXtJ4DC
createrawtransaction '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' '{"xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW ":3.5}' 01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000
validateaddress xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g { "isvalid" : true, "address" : "xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g", "ismine" : true, "isscript" : false, "pubkey" : "0317219581a420e433f18a7d28b282cddd4e900f1a7efad35d54d8b881c3e67497", "iscompressed" : true, "account" : "" }
signrawtransaction "01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000" '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69,"scriptPubKey":"0317219581a420e433f18a7d28b282cddd4e900f1a7efad35d54d8b881c3e67497"}]' '["Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt"]' { "hex" : "01000000f8482c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000", "complete" : false }
validateoutputs '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' [ { "txid" : "71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c", "vout" : 69, "status" : "txid not found" } ] (btw, the random whitespace in the hex strings seems to get added by the board, it's not there when I copy&paste it. Seems to be forced space after 79 characters)
|
|
|
|
Timetwister
Legendary
Offline
Activity: 1199
Merit: 1047
|
|
December 09, 2017, 09:19:48 PM |
|
Honestly speaking I cannot see what is reason for that coin (it is not only one coin without reason, coin just to make one more coin). I am wrong?
p.s. I am small investor and trader. From trading view looks it is dead. Just imo. ok, good thing is support form POLO. but volumes are not huge, not sure how long it will stay on polo
This coin is basically equivalent to Just Dice "shares" or casino chips. It could potentially have more uses, which would make it more valuable.
|
|
|
|
ders_a
|
|
December 09, 2017, 10:21:32 PM |
|
Honestly speaking I cannot see what is reason for that coin (it is not only one coin without reason, coin just to make one more coin). I am wrong?
p.s. I am small investor and trader. From trading view looks it is dead. Just imo. ok, good thing is support form POLO. but volumes are not huge, not sure how long it will stay on polo
This coin is basically equivalent to Just Dice "shares" or casino chips. It could potentially have more uses, which would make it more valuable. Thanks for reply
|
✦✦ MN+PoS return over 160% (counted since April 2018) ✦✦
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
December 10, 2017, 04:39:05 AM Last edit: December 10, 2017, 04:58:24 AM by dooglus |
|
My understanding of the process is that you create a valid raw-tx (what seems to work, at least the console does not complain) and then sign it with the privkey of the sender's address so you can use a pushtx service on another (online) computer to send it out. If that signed tx contains garbage (like a non-existant source tx), the miner is supposed to reject it. Please correct me if I am wrong on any of those assumptions.
OK, I see what you mean. I think I mislead you earlier about how to get the scriptPubKey. It isn't just the address' public key, it has to be a whole script. For example: $ clamd getaddressesbyaccount '' [ "xEPEtmoV9nBYiiyoPmLcZFiHheYzLo81Du" ] $ clamd dumpprivkey xEPEtmoV9nBYiiyoPmLcZFiHheYzLo81Du Lom7ZtR3SLwU5PtNN9m3eXH7yzF5yv6HnZoZg6GzBoGjnqv5Snrw $ clamd validateaddress xEPEtmoV9nBYiiyoPmLcZFiHheYzLo81Du { "isvalid" : true, "address" : "xEPEtmoV9nBYiiyoPmLcZFiHheYzLo81Du", "ismine" : true, "isscript" : false, "pubkey" : "029c44f618f4ee292591be21dedd0337bee7b64ce4e0e14776d1f0db8f802789b2", "iscompressed" : true, "account" : "" } $ clamd signrawtransaction $(clamd createrawtransaction '[{"txid":"1234567812345678123456781234567812345678123456781234567812345678","vout":69}]' '{"xBF6VfKts3Dx62JYJvcCVf2LqVnSig6H4t":1}') '[{"txid":"1234567812345678123456781234567812345678123456781234567812345678","vout":69,"scriptPubKey":"2321029c44f618f4ee292591be21dedd0337bee7b64ce4e0e14776d1f0db8f802789b2ac"}]' '["Lom7ZtR3SLwU5PtNN9m3eXH7yzF5yv6HnZoZg6GzBoGjnqv5Snrw"]' { "hex" : "02000000c1b92c5a017856341278563412785634127856341278563412785634127856341278563 4124500000000ffffffff0100e1f505000000001976a914203ceaf792be80e6d8e6905ce0f0a2db 61b8e9f288ac0000000034706c6179206f7220696e766573742077697468206120312520686f757 3652065646765202d2d204a7573742d446963652e636f6d", "complete" : true } $ In that example I'm signing a "send to pubkey" script, not a "send to pubkey hash" script. It's using the pubkey directly, not the address, with a "ac" byte on the end for OP_CHECKSIG. (Addresses are basically 160 bit hashes of the pubkey). To sign a regular address script, the script looks like: OP_DUP OP_HASH160 <160 bit pubkey hash> OP_EQUALVERIFY OP_CHECKSIG or in hex: 19 76 a9 14 <40 hex characters for pubkey hash> 88 ac So in your case you would do this: $ clamd signrawtransaction $(clamd createrawtransaction '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' '{"xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW ":3.5}') '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69,"scriptPubKey":"1976a914c6580bcf8320c3ddaadebc9be9f38ac6fb59d21688ac"}]' '["Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt"]' { "hex" : "020000004abe2c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac0000000034706c6179206f7220696e766573742077697468206120312520686f757 3652065646765202d2d204a7573742d446963652e636f6d", "complete" : true } I got the 40 hex characters for your address by base58 decoding it: $ python Python 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import binascii, base58 >>> binascii.hexlify(base58.b58decode_check('xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g')[1:]) 'c6580bcf8320c3ddaadebc9be9f38ac6fb59d216'
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
FrankS
Newbie
Offline
Activity: 21
Merit: 0
|
|
December 10, 2017, 10:32:21 AM |
|
So in your case you would do this: $ clamd signrawtransaction $(clamd createrawtransaction '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' '{"xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW ":3.5}') '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69,"scriptPubKey":"1976a914c6580bcf8320c3ddaadebc9be9f38ac6fb59d21688ac"}]' '["Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt"]' { "hex" : "020000004abe2c5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac0000000034706c6179206f7220696e766573742077697468206120312520686f757 3652065646765202d2d204a7573742d446963652e636f6d", "complete" : true } I got the 40 hex characters for your address by base58 decoding it: $ python Python 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import binascii, base58 >>> binascii.hexlify(base58.b58decode_check('xSPPAQsgYTUsiH51xG3u4Shf7Cc7dt5V7g')[1:]) 'c6580bcf8320c3ddaadebc9be9f38ac6fb59d216' Thanks! That sure explains quite a lot With that info I managed to create a little python script that outputs the pubkey hash. One last hurdle is there though: signrawtransaction returns the unsigned tx I put in although "complete" is true: http://picpaste.com/QkeLmHPi.pngIs there maybe a difference between clamd and clam-qt on Windows? createrawtransaction '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69}]' '{"xK8vfFyKC4J2SHR2Hhk7whQAaCTGWbEEwW ":3.5}' 01000000b7092d5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000
signrawtransaction "0100000032082d5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000" '[{"txid":"71f2cbe9ff92b8c62a2bcfba5dfc9bc32a2d0c71bf55834e6d884b9ab0de201c","vout":69,"scriptPubKey":"1976a914c6580bcf8320c3ddaadebc9be9f38ac6fb59d21688ac"}]' '["Lo2RApGkaDZDePA347i56Lo4xRNGBwuxUgyQBC5cK9Ea2Kpn2mnt"]' { "hex" : "0100000032082d5a011c20deb09a4b886d4e8355bf710c2d2ac39bfc5dbacf2b2ac6b892ffe9cbf 2714500000000ffffffff018093dc14000000001976a91476d3380912c1dda6d575bdbac5348db0 e46d8c4e88ac00000000", "complete" : true }
Thanks for your patience
|
|
|
|
xnyz
Member
Offline
Activity: 170
Merit: 10
|
|
December 10, 2017, 11:55:12 AM |
|
Hello there, i have just installed the bootstrap file etc, and now after 4 days i still have 7 days left behind network is there anyway i can catch up this faster?
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1330
|
|
December 10, 2017, 07:22:53 PM |
|
One last hurdle is there though: signrawtransaction returns the unsigned tx I put in although "complete" is true: http://picpaste.com/QkeLmHPi.pngIs there maybe a difference between clamd and clam-qt on Windows? I've no idea how it could say it's complete but return the same unsigned tx you started with.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
air139
Newbie
Offline
Activity: 52
Merit: 0
|
|
December 11, 2017, 05:21:28 AM |
|
Any hope of getting more exchanges to carry clam?
I don't know if anyone has tried. You are free to contact whichever exchange you use and ask them to add it. Let us know what exchanges you are thinking about wanting to add. CoinExchange.com is kind of interesting and they don't have limits on Bitcoin withdraws. I haven't asked exchanges in probably over a year... I last tried to get some Chinese exchanges. Why isnt it on bitfinex tbh though? What needs to be done to get it there?
|
|
|
|
Timetwister
Legendary
Offline
Activity: 1199
Merit: 1047
|
|
December 11, 2017, 01:43:34 PM |
|
Where do all those spammers come from?
|
|
|
|
dricoteixeira78
Newbie
Offline
Activity: 54
Merit: 0
|
|
December 11, 2017, 02:03:47 PM |
|
60 days - 20k to 3k........
|
|
|
|
Timetwister
Legendary
Offline
Activity: 1199
Merit: 1047
|
|
December 11, 2017, 02:12:11 PM |
|
60 days - 20k to 3k........ So?
|
|
|
|
|