Bitcoin Forum
May 02, 2024, 11:23:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22]  All
  Print  
Author Topic: Using Armory on the BCH chain  (Read 45948 times)
overmyhead
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2024, 05:33:17 PM
 #421

Still sitting there right now.

I actually went to move them earlier but got error: targetval > value I am trying to figure that one out now.
1714648986
Hero Member
*
Offline Offline

Posts: 1714648986

View Profile Personal Message (Offline)

Ignore
1714648986
Reply with quote  #2

1714648986
Report to moderator
1714648986
Hero Member
*
Offline Offline

Posts: 1714648986

View Profile Personal Message (Offline)

Ignore
1714648986
Reply with quote  #2

1714648986
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714648986
Hero Member
*
Offline Offline

Posts: 1714648986

View Profile Personal Message (Offline)

Ignore
1714648986
Reply with quote  #2

1714648986
Report to moderator
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 11, 2024, 07:49:32 AM
 #422

Can you describe how you got to that error?

overmyhead
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 11, 2024, 01:27:20 PM
 #423

Trying to send BTC I had the fee set to automatically calculate that. I changed that and the transaction failed, the error message said the fee may be too low. I adjusted a few times and it continued to fail.
goatpig (OP)
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 12, 2024, 09:04:43 AM
 #424

Trying to send BTC I had the fee set to automatically calculate that. I changed that and the transaction failed, the error message said the fee may be too low. I adjusted a few times and it continued to fail.

From the looks of it, you're using 0.96. If you're trying to send BTC, you should upgrade to 0.96.5, fixes the bugs you're running into: https://github.com/goatpig/BitcoinArmory/releases

If you're looking to spend BCH, you will have to go through a more convoluted process:

1. You want to try 0.96.2 as the target release.
2.a. Find dedicated BCH wallet software (I dont have recommendations, sorry), create a wallet with that, back it up, test the backup. Then grab a legacy BCH address from said wallet (starts with a '2').
2.b. Make a backup of your Armory wallet if you don't already have one. Test the backup to be safe.

The hard part (you do not run Core for the entirety of these steps)

3. you will need to setup a dedicated "environment" for your BCH signature process:
   a. Create a copy of your blockchain data, cull blkXXXXX.data files away to be around 450~500k blocks. Aim for 30GB, you can add files as you go. You do not need the revXXXXX.dat files.
   b. Run a 0.96.2 version of ArmoryDB against this copy of the chain. You can get a standalone (no install) binary through the win64.zip release.
   c. Make a copy of your wallet in a dedicated datadir and run ArmoryQt 0.96.2 against it while the target ArmoryDB instance is running. You will require some path magic for this to work unfortunately. A "solution" to avoid the path-fu is to do this on a second PC. When this is finally running, you will have ArmoryQt running, showing the top block to be in that 450~500k range.
   d. You can now create an unsigned transaction moving your BCH to the freshly made BCH address from Armory. To do this, check the "create unsigned" checkbox in the Send dialog. You will be served with a blob. You can choose to sign it. Pick the BCH signer and sign it. Once the blob is signed, choose to export it as "raw hex".
   e.With the raw hex blob, you can now broadcast your tx via any online BCH broadcast tool, at your own leisure.

This is the leanest setup I can think of, as you would have to run some old version of the BCH node to get to broadcast from Armory, which is probably impossible these days, due to various backwards incompatible changes on the BCH side.

4. Bonus round:
   If you're paranoid, you can choose to create the signed BCH tx, then move your actual BTC to a new wallet via regular Armory, then broadcast the BCH tx last. At any rate, my recommendation is to move your BTC off that wallet if you're gonna split the BCH out.

nc50lc
Legendary
*
Online Online

Activity: 2408
Merit: 5578


Self-proclaimed Genius


View Profile
April 13, 2024, 07:58:31 AM
 #425

-snip-
So, if I have an armory wallet with BTC from before the fork how do I get my BCH now? In my reading I also found out there was a fork for BTG is that something I can/should try to get as well?
Aside from creating the transaction in Armory, there's a simpler method of exporting your private key(s) to be imported to clients that support those chains.
But the script type must be supported by such wallets; so if you're using the rare P2SH-P2PK addresses, this export method will not work.

Note that this is less secure so you must spend your BTC first before doing so.
And absolutely not privacy-oriented method since you're going to rely on third-party public servers (nodes).

For example (BCH):
  • Download Electron Cash (Electrum Fork - GitHub Repo), stand it aside.
  • Open your Armory, and export the private key(s) of the addresses with BCH in "Wallet Properties->Backup This Wallet->Export Key Lists".
  • Untick "Private Key (Plain HEX)" and other strings that you don't need, tick "Omit spaces in key data" if you're going to Copy->Paste.
  • Then in the list, find the addresses that you need and copy their "PrivBase58" private keys.
  • Go back to Electron Cash and create a new [imported] wallet by selecting "Import Bitcoin Cash addresses or private keys".
  • Paste your private keys in the next window, one line per key; then finish creating the wallet.
  • Wait for the balance to sync (just a few minutes since it's SPV), then send it out ASAP.

To be on the safer side, you may also import the private keys to an offline machine (export from Armory in that machine as well) and the addresses to an online machine.
Then do this "Cold-Storage" setup (Electrum) that the fork clients can also do: electrum.readthedocs.io/en/latest/coldstorage.html#create-an-unsigned-transaction

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22]  All
  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!