I have my wallet on my phone. i have funds and want to send them, i have forgotten my pin anddo not know what i must do, can anybody help please!!!!
Assuming you are talking about Electrum on your phone. If you have the 12 word seed backup for your wallet, you can just delete the app data and then restart Electrum and it will let you setup the wallet again. To delete the App Data: This can be slightly different on different versions of Android, but there should be an option somewhere like (Android Settings -> Applications -> Electrum -> Storage). You can then click the "Clear Cache" and "Clear Data" buttons... Once you've cleared the App Data, it should allow you to recreate your wallet by restoring from the seed and you can setup a new PIN
|
|
|
Looks like i receive an error when typing this the same code.. >> for x in range(0, 50): print wallet.create_new_address(False) Traceback (most recent call last): nt wallet.create_new_address(False) ^ SyntaxError: invalid syntax Let me know what version of electrum you are using? The reason for the error is that the console is a sort of pseudo Python console... Python relies on "indentation" to form code blocks... so you need to indent the "print" statement for it to be considered part of the "for x in range" statement: for x in range(0, 50): print wallet.create_new_address(False)
Note the extra spaces at the beginning of the print line! This is why you need to be very careful when using copy/paste on Python code... it can lead to unexpected results... you should always copy/paste each line (including the leading whitespace!!) one at a time...
|
|
|
... I open a new electrum wallet, and I choose to import that private key (I type it manually). I then encrypt my wallet. Electrum then 'magically' finds my bitcoin address, how does it do that?
Because the bitcoin address is derived from the private key... So if you have the private key, you get to the address just by following the necessary steps: Private Key -> Public Key -> SHA256 -> RIPEMD160 -> add some bytes -> Couple of SHA256s -> add some more bytes -> Base58check encode -> Bitcoin Address You can see the step by step process in action here: http://gobittest.appspot.com/AddressNOTE: don't enter any of your actual private keys in this website
|
|
|
... Out of frustration I went back and created a seed for the wallet that I am trying to get the funds from ( I made sure that I save it), but it is still asking me for a password for anything I try to do!!!!...
What do you mean by you "created a seed for the wallet"? I don't understand... you don't create seeds for a wallet after they have already been created and used? When you originally created the wallet before you sent any coins to it, you should have been given the seed by Electrum , which you should have written down... then you have to re-enter the seed to confirm you have written it down correctly... and then Electrum will ask you to create a password for your wallet... the wallet is then created. If you created a new seed, that will NOT enable you to recover your coins, that will be for a new wallet. If you are 100% sure that you have the seed for the wallet with coins in it... do this: Step 1. "File -> New/Restore", enter a new name for your wallet like "RestoredWallet", DO NOT use the same name as a previous wallet. It should tell you the file doesn't exist, click "next" Step 2. Select "Standard Wallet" from the list and click "next" Step 3. Select "I already have a seed" from the list and click "next" Step 4. Enter the original seed that you got when you first created the original wallet and click "next" Step 5. If you want, you can enter a password to encrypt the keys and/or wallet file. It is recommended to do this, but if you REALLY don't want to use a password, leave it all blank and click "next", just be aware that by not having a password, anyone that gets access to your wallet file could get your private keys. Electrum will then recreate your wallet, using the seed and you should see all your transaction history and current balance. You should then be able to send coins using the password you just set up (or without entering a password if you didn't set one up) NOTE: If you do not see the transaction history and correct balance, then you are attempting to restore using the wrong seed.
|
|
|
You mean you want to sweep them into Litecoin core? or you already have them in Litecoin Core and want to send them somewhere else? If you already have your coins in Litecoin Core... why would you want to change? It isn't that bad to sync up the blockchain on Litecoin... it isn't as big as the BTC blockchain But if you want a lightweight LTC wallet, I believe there is a version of Electrum for LTC that is actively developed. I cannot comment on whether or not it is any good though.
|
|
|
Thanks very much for the clear answer . So 12 word phrase is not exodus' feature but it can be used with any wallet that support it. Got it. One thing to note with 12 word phrases... Just because a wallet uses "12 word phrases" as a backup, does not mean that a 12 word phrase from that wallet can be used in ANY wallet that uses 12 word phrases to restore your wallet. It also depends on the "Derivation Path" that a wallet uses... not all wallets use the same Derivation path, so if you put the same 12 word phrase into two different wallets, you MIGHT get different addresses (and therefore, not be able to get access to your coins) For instance: Bitcoin Core: m/0'/0' Blockchain.info: m/44'/0'/0' MultiBit HD, Breadwallet, Simple Bitcoin Wallet: m/0'/0 Electrum: doesn't matter, uses a completely different 12 word phrase system It isn't necessarily the end of the world, as there are tools ( https://iancoleman.github.io/bip39/) that will take a 12 word phrase and let you specify any derivation path you like and be able to retrieve the keys... it just may not be as simple as installing "SomeWallet" and entering your 12 words
|
|
|
Are you actually running multiple instances of bitcoin-qt at the same time? or are you just starting up the client with "wallet1"... making transactions... shutting down... starting up client with "wallet2"... making transactions... shutting down... starting up client with "wallet3" etc??
|
|
|
... and did not back up the private passkey.
oh... so you mean you didn't backup your private keys? How old was your wallet... was it setup before v0.13? or is it relatively new (ie. was it an HD wallet)? You cannot recover with just the passphrase... you need a copy of your wallet.dat file!
|
|
|
I dont want to use menu bcos I want sheet to place buy/sell command auto based on other cell value. With menu I can only do it manually. So I have an idea to do that, When the command place a BUY/SELL order succesfully, we will assign amount, date, total, rate to variables, let say a,b,c,d. Then we set other condition to write those variables back to the sheet "output". It means we dont setValue for "output" directly from other cell, the script did it. How do you think? **Try the last time to help me on those probs to know how far we can do. And if we cant do any thing more, just tell me I will try other way to use this code. Anyway, I had a quite good result. THanks
Your idea probably won't work... the only way to execute parts of the script is to make a function call from a cell right? So, even if you create global variables... and populate them, you'd need to have a function call in each cell that you wanted populated... that would require a minimum of 5 or 6 function calls to populate each cell: cellB1 =getOrderNumber() cellB2 =getTradeID() cellB3 =getType() cellB4 =getDate() cellB5 =getAmount() cellB6 =getRate() cellB7 =getTotal() Also, you'd have no way to know how many ResultingTrades there were... there could be multiple resulting from one buy/sell order... (ie. you want to buy 10 coins, but there is only lots of 1coin,3coin,3coin,2coin,4coin for sale... you would end up with at least 3 and possibly 5 trades to fulfil your order for 10 coins)... so you would need to multiple blocks of cells, each making function calls to get the individual values for each "resultingTrade"... there is also the possibility that there are NO resultingTrades if you put in an order that is not immediately fulfilled... so you'd probably need to wrap them all in IF() statements: CellA2=getNumberResultingTrades() CellB2=if($A$2>0,getTradeID(0),"") CellC2=if($A$2>1,getTradeID(1),"") CellD2=if($A$2>2,getTradeID(2),"") ... Cellx2=if($A$2>x,getTradeID(x),"") etc var buyData;
function getNumberResultTrades() { return buyData["resultingTrades"].length; }
function getTradeID(num) { return buyData["resultingTrades"][num]["tradeId"]; }
function poloniex(....) { ... var dataAll = JSON.parse(response.getContentText()); buyData = dataAll; ... }
Then just create "get" functions for each part of the Trade data that you want: getTradeType(num) { return buyData["resultingTrades"][num]["type"]; } getTradeDate(num) { return buyData["resultingTrades"][num]["date"]; } getTradeRate(num) { return buyData["resultingTrades"][num]["rate"]; }
etc etc and do more =IF() statements: CellB3=if($A$2>0,getTradeType(0),"") CellC3=if($A$2>1,getTradeType(1),"") CellD3=if($A$2>2,getTradeType(2),"") ... Cellx3=if($A$2>x,getTradeType(x),"") CellB4=if($A$2>0,getTradeDate(0),"") CellC4=if($A$2>1,getTradeDate(1),"") CellD4=if($A$2>2,getTradeDate(2),"") ... Cellx4=if($A$2>x,getTradeDate(x),"") etc Another option could be to just return the API responses as strings, and use SPLIT() functions... but I'm not sure if the keys in the JSON objects are always in the same order... so that may cause issues as well...
|
|
|
If you don't know your wallet passphrase, then trying to recover your coins from Bitcoin Core will be quite difficult. There is no way to recover the private keys from an encrypted wallet.dat file without the passphrase. You'll need your wallet.dat file and to use a script like btcrecover ( https://github.com/gurnec/btcrecover) to be able to try and recover the passphrase.
|
|
|
I think I tried to push it along. I went to a mining pool where you and put it in there and they will prioritize it so that it gets confirmed, but it said the transaction didn't exist.
You were using the " ViaBTC TX Accelerator"? They'll say the transaction doesn't exist if it fails one of their requirements (fee less than 10 sats/byte etc) I'm using multibit classics I believe. When I installed multibit back in the day, there was only 1 multibit, and that's the one I have. Multibit HD didn't exist back then. Version 0.5.15
I believe the latest version of MultiBit Classic is 0.5.19... https://multibit.org/release-info/classic/v0.5.19.htmlWhen I went to reset transaction, you can choose to reset all transactions, or reset from a specific date. I didn't want to choose all transactions because I didn't want the transactions that did go through years back to disappear (I don't know that this would happen, but because I was unsure, I just reset to the day before the transaction that never went through).
On multibit's help page, it says to reset up to 3 times because it doesn't always work. I've reset three times and all my past transactions have the green check mark next to them to show they are verified, but my balance says 0.00 still. I think if I search for my wallet address on the block chain is says I have btc in it though. Maybe I need to do a sweep? I have 2 separate wallets on my multibit. They both should have btc in them but the balance says 0.00.
Theoretically, they shouldn't disappear... as the transactions are recorded forever in the blockchain, that is how the blockchain is designed... a permanent record of all transacations. If you enter your address on www.blockchain.info website and it still has balance then you'll be fine. It is just MBC being old and broken. If you still see those address in your wallet, then you should be able to export your private keys and get access to your coins. Should I start my trying to update multibit? Then if that doesn't work sweep it? I fear that if I update, my bitcoins will disappear. I'm very uneducated when it comes to doing any of this.
Before you update, I would create backups of your wallets... by default, on Windows, MBC puts the data files in %appdata%\MultiBit directory. This is usually something like C:\users\YOURUSERNAME\AppData\Roaming\MultiBit Note: If you can't find the AppData directory, it may be hidden: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-filesHonestly, I think the best idea is to just export your private keys (Tools -> Export Private Keys)... don't use encryption... ie. "do not use password protection", save the file somewhere you can find it, and then sweep those keys into another wallet like Electrum. It will save you a LOT of hassle later on, as MBC is basically abandoned and will likely continue to give you issues (especially with fees)
|
|
|
How can I run this bot. I will like to get a very good script that will make me money.
Did you try downloading and installing it? and then maybe following the "Programmer Mode" guides here: https://bot.seuntjie.com/ProgrammerMode.aspxThere are a bunch of scripts on the site: https://bot.seuntjie.com/Scripts.aspx and quite a few on the forums here if you look around. Also, as much as people like to think that this bot is some sort of "magical" software that will make them millions... it doesn't actually do much more than "autobet" mode on most dice websites. It simply provides a few more options for you to be able to configure stop/reset conditions and set up and run more complex "strategies". But at the end of the day... it is still gambling and you are still fighting against "house edge"... you can't beat the math.
|
|
|
1) No, Jaxx and Core are in no way related (aside from both being CryptoCurrency wallets). Unless you were trying to use Core to create the transaction? 2) Given you had faulty hardware, the only real answer that anyone can give is "bytes". The wallet.dat is just a data file, if the hard drive was faulty, any part of the file could have become corrupted while the file was being written to disk... When you say the "wallet keeps crashing", do you mean that the Bitcoin Core client keeps crashing? If so, post the end of the debug.log file so folks can take a look at what is causing the error. NOTE: if you start from the bottom, you'll eventually find a bit section of blank lines, copy from there down, I suggest using pastebin.com for this!
|
|
|
Seems the options are: - If a custom function returns a two-dimensional array of values, the values overflow into adjacent cells as long as those cells are empty. If this would cause the array to overwrite existing cell contents, the custom function will throw an error instead. For an example, see the section on optimizing custom functions. - A custom function cannot affect cells other than those it returns a value to. In other words, a custom function cannot edit arbitrary cells, only the cells it is called from and their adjacent cells. To edit arbitrary cells, use a custom menu to run a function instead.
So it looks like you'd need to return a two-dimensional array of values which would "overflow" from the cell with the function call in it and populate the neighbouring cells... which is a bit clumsy and messy. or you'd need to create a custom menu: https://developers.google.com/apps-script/guides/menusI think the custom menu approach is probably the better way to go. So you'd set the values ("buy", "currencyPair", "rate" etc) in a couple of cells, then select "Execute Buy" or whatever from the menu and the function would pick up the values from the cells, make the API and then edit the cells on the output sheet as required. This little test code creates a custom menu (you may need to adjust your permissions when you run it)... it has two options, the first "Test Output" simply simulates getting the a JSON response string from a buy order... it parses it and outputs it all onto the "output" sheet. The 2nd option in the menu is just from the example and pops up a dialog. function onOpen() { var ui = SpreadsheetApp.getUi(); // Or DocumentApp or FormApp. ui.createMenu('Custom Menu') .addItem('Test Output', 'menuItem1') .addSeparator() .addSubMenu(ui.createMenu('Sub-menu') .addItem('Second item', 'menuItem2')) .addToUi(); }
function menuItem1() { test() }
function menuItem2() { SpreadsheetApp.getUi() // Or DocumentApp or FormApp. .alert('You clicked the second menu item!'); }
function test() { var dataAll = JSON.parse("{\"orderNumber\":31226040,\"resultingTrades\":[{\"amount\":\"338.8732\",\"date\":\"2014-10-18 23:03:21\",\"rate\":\"0.00000173\",\"total\":\"0.00058625\",\"tradeID\":\"16164\",\"type\":\"buy\"},{\"amount\":\"111.8732\",\"date\":\"2014-10-18 23:05:21\",\"rate\":\"0.00000175\",\"total\":\"0.00999\",\"tradeID\":\"16175\",\"type\":\"buy\"}]}"); Logger.log(dataAll); var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("output"); sheet.getRange("B1").setValue(dataAll["orderNumber"]); var columnNum = 2 for (i = 0; i < dataAll["resultingTrades"].length; i++) { sheet.getRange(2,columnNum).setValue(dataAll["resultingTrades"][i]["tradeID"]); sheet.getRange(3,columnNum).setValue(dataAll["resultingTrades"][i]["type"]); sheet.getRange(4,columnNum).setValue(dataAll["resultingTrades"][i]["date"]); sheet.getRange(5,columnNum).setValue(dataAll["resultingTrades"][i]["rate"]); sheet.getRange(6,columnNum).setValue(dataAll["resultingTrades"][i]["amount"]); sheet.getRange(7,columnNum).setValue(dataAll["resultingTrades"][i]["total"]); columnNum++ } }
|
|
|
Do you have the transaction ID for the transaction that you attempted to send? It might be possible to "push" it along so that it confirms... and your coins would end up in your keepkey.
How did you "reset to a specific date"? That isn't possible as far as I'm aware... you just click the "reset blockchain and transactions" and it should start at the very beginning and resync everything? Which version of MultiBit Classic are you running?
In any case, it should be possible to get your keys/addresses out of MultiBit Classic and import or sweep them into a more up to date (and actually maintained) wallet like Electrum.
|
|
|
Wowwww it really works, thank you a lot!!!!! But It only returns order number. Can we fix it to show other details? It will be very useful if it can show amount that was accept, rate, total and date, one by one in a single cell. I have done the same with SELL, **Also, what about CANCEL an order with an order number?
To output each record to individual cells... you'd need to either set each cell value in the script or return the WHOLE output as a string and setup cells to parse the output string... I would probably do it in the script... as there is a chance that the order may be fulfullied over multiple trades: var dataAll = JSON.parse(response.getContentText());
if (command === "buy") { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("output"); sheet.getRange("B1").setValue(dataAll["orderNumber"]); var columnNum = 2 for (i = 0; i < dataAll["resultingTrades"].length; i++) { sheet.getRange(2,columnNum).setValue(dataAll["resultingTrades"][i]["tradeID"]); sheet.getRange(3,columnNum).setValue(dataAll["resultingTrades"][i]["type"]); sheet.getRange(4,columnNum).setValue(dataAll["resultingTrades"][i]["date"]); sheet.getRange(5,columnNum).setValue(dataAll["resultingTrades"][i]["rate"]); sheet.getRange(6,columnNum).setValue(dataAll["resultingTrades"][i]["amount"]); sheet.getRange(7,columnNum).setValue(dataAll["resultingTrades"][i]["total"]); columnNum++ } }
This code assumes there is a sheet called "output"... it outputs, starting at Column B so you can put in the appropriate labels like this: It will create as many columns worth of Trade Data as returned by the API... so if there are 3 resulting trades, you get 3 columns of data **Also, what about CANCEL an order with an order number?
The API states that you just pass "orderNumber" for a CANCEL... so I guess just add in a "cancel" section when creating the payload: if (command === "buy") { var payload = { "nonce": nonce, "command": arguments[0], "currencyPair": arguments[1], "rate": arguments[2], "amount": arguments[3] } } else if (command === "cancel") { var payload = { "nonce": nonce, "command": arguments[0], "orderNumber": arguments[1] } } else { var payload = { "nonce": nonce, "command": command }
call would be =poloniex("cancel","1234586") The API says that CANCEL only returns: {"success":1} if it works... so I guess you'd just test if (dataAll["success"] == 1) and output whatever message you want for success or failure... if (dataAll["error"] != undefined) { //oh oh, something went wrong! Logger.log("Error: " + dataAll["error"]); return dataAll["error"]; } if (parameter === undefined) { Logger.log(JSON.stringify(dataAll)); return JSON.stringify(dataAll); } else if (command === "buy") { return dataAll["orderNumber"]; } else if (command === "cancel") { if (dataAll["success"] == 1) { return "Order: " + arguments[1] + " successfully cancelled"; } else { return "Failed to cancel order: " + arguments[1]; } } else if(parameter != undefined && subparam === undefined) { return dataAll[parameter]; } else if (parameter != undefined && subparam != undefined) { return dataAll[parameter][subparam]; }
|
|
|
It's just another common issue with MultiBit HD. You may find that using the "Manage Wallet" -> "Repair Wallet" option will help... others have had to do a full restore... (Exit/Switch -> "Switch to another wallet" -> "Restore" -> "I want to restore a wallet") and put your mnemonic/wallet words in... In a pinch, if you need access to your coins, you can install Breadwallet (iOS/Android) or "Simple Bitcoin Wallet" (Android only) and use your mnemonic/wallet words to restore your wallet there and get access to your coins. If none of those methods work, you'll have to do it the "long way"... read here (Options 2, if you're OK with Python scripts... otherwise Option 3.) : https://bitcointalk.org/index.php?topic=1965348.msg19590212#msg19590212In either case, I would recommend you migrate to a new desktop wallet like Electrum. MultiBit HD seems to be, for all intents and purposes, abandoned by the developers. Lot's of unresolved issues and no updates since March.
|
|
|
You haven't indicated what the fee rate was... nor provided a transaction ID... so there is no way for anyone to be able to confirm whether or not your delay was justified. Having said that, judging by the time you posted (Today at 09:31:34 Posted by: fabiorem)... this had happened: 476,273 AntPool 2,804 998,234 0.00311651 12.5 + 3.11100521 BTC 2017-07-18 09:28:29 BU SW2x NYA 476,272 BTC.com 1,956 998,114 0.00197449 12.5 + 1.97076649 BTC 2017-07-18 08:35:40 SW2x NYA There was a period earlier today just about the time you were posting where no block was mined for almost an hour! Regardless of the fee used, no one was getting a confirmation in that timeframe... and no doubt, this caused a bit of a backlog of transactions... so it may have taken a few blocks after Block 476,273 was mined to clear the backlog, so even "max fees" might have take a block or 2 longer than normal.
|
|
|
Too many different ideas. I decided to follow one of the developers ideas which is a great member of this forum too "achow1" which says transfer all your coins to bitcoin core wallet and wait what will happen. I have a really considerable amount of bitcoins which I am moving from my hardware wallet to bitcoin core as soon as it will be synchronized. I don't want to lose anything so I am following a bitcoin core developer idea. I hope I will be right. I'm pretty sure you'll find that achow NEVER explicitly suggested that your move all your coins to bitcoin core wallet... and probably never suggested that you move coins OUT of a hardware wallet! The general consensus on the best course of action is to make sure that your coins are in a wallet that gives you access to your private keys. Control and Access to the private keys is the important thing. If your wallet lets you have access to the private keys, you can do whatever you need to do with your coins if/when a fork happens. Read here: https://bitcointalk.org/index.php?topic=2017191.0 and here: https://bitcointalk.org/index.php?topic=2012799.0Not sure what hardware wallet you're using... but I'd be fairly confident it will allow you access to your private keys and is probably a more secure storage solution than an internet connected PC.
|
|
|
|