Write Your Own Bitcore BTX Miner

Write Your Own Bitcore BTX Miner

Bitcoin is the currency of the Internet: a distributed, worldwide, decentralized digital money. Unlike traditional currencies such as dollars, bitcoins are issued and managed without any central authority whatsoever. While bitcoin tokens on the original network can't be copied or counterfeited, the protocol is open source and can be recreated with different parameters. We call these Airdrops. Our community guidelines differ slightly from of our parent subreddit: • All meta discussion about is not allowed. Same applies to any other subreddit on this site, cryptocurrency related or not. • Do not use URL shortening services: always submit the real link.

Unless you make your own pool. YOU and your friends/family can claim bitcore for free. YOU can buy from market. Bitcore - BTX - SEGWIT.

Bitcore Btx Reddit

• Begging/asking for bitcoins is absolutely not allowed, no matter how badly you need the bitcoins. No requests for donations whatsoever, regardless of what entity you represent. • News articles that do not discuss Bitcoin derived forks/airdrops are off-topic. This subreddit is not about general financial news. • Submissions that are mostly about ICO's or non-Bitcoin derived cryptocurrencies belong elsewhere. For example, is a good place to discuss all cryptocurrencies.

• Promotion of client software which attempts to alter the Bitcoin protocol without overwhelming consensus is not permitted on, but discussion is welcomed here. We don't want you to lose your coins or shun your questions regarding what these chains are about. • No referral links in submissions. • No compilations of free Bitcoin sites.

• Trades should usually not be advertised here. For example, submissions like 'Buying 100 BTC' or 'Selling my computer for bitcoins' do not belong here. Is primarily for news and discussion. • Please avoid repetition — is a subreddit devoted to new information and discussion about Bitcoin aidrops, forks, and their ecosystem. New merchants are welcome to announce their services for these chains, but after those have been announced they are no longer news and should not be re-posted. Aside from new merchant announcements, those interested in advertising to our audience should consider Reddit's self-serve advertising system. • Do not post your Bitcoin address unless someone explicitly asks you to.

• Be aware that Twitter, etc. Is full of impersonation. I was able to get my Trezor to sign a Bitcore BTX transaction, letting me send BTX that I received from the airdrop after the block 492820 BTC snapshot on 2017-11-02, without exposing my private keys. The low-level part of the signing is the same as BTC, so no changes in Trezor firmware are needed.

It requires some manual steps. I manually looked up my addresses on a BTX block explorer to get balance & transaction info, used a Python script to get the Trezor to sign the transaction, and ran my own Bitcore node to broadcast the transaction (setting that up was faster than I expected; the initial syncing of the BTX chain took less than 10 minutes; there might be other ways, e.g., if a block explorer website has an API for submitting transactions, but I don't know of one for BTX; or a script could be written to submit a transaction to someone else's Bitcore node, but I don't know the details for that). Steps I used (I have only tried this with legacy addresses, not segwit; segwit could probably work but I'm not sure if the Python script would need changes): Get your addresses that have BTX, i.e., your BTC addresses that had at least 0.01 BTC on November 2, 2017. To see the BTC addresses in your Trezor, you could look at the Receive tab in Trezor Wallet (click 'Show previous' to see older addresses). But that doesn't show Change addresses. I used Electrum, Addresses tab (enable with View->Show Addresses); look at both Receiving and Change addresses; you can set the Filter to 'Used' (in Electrum 3.0 at least) to see addresses that previously had a balance even if they no longer do. You also need to know the BIP44 derivation path for each address, e.g., m/44'/0'/0'/0/2.

The Trezor Wallet web interface shows this on the Receive tab. For Change addresses it's a little harder; one way is to use and enter a path like m/44'/0'/0'/1/0 and it'll show the address on the Trezor screen; repeat for the next change path m/44'/0'/0'/1/1 etc. You could probably also enter your XPUB somewhere to see all the addresses. Paste an address into a BTX block explorer such as to check the amount of BTX it has. Click on the transaction hash to view info for the transaction that funded it.

Copy the transaction hash, and search for your address to find the index number of the output for it. Get the raw transaction data. One way: go to with the part after id= replaced with the transaction hash you copied above (this seems easier than copying from their Raw Transaction tab). Save that page to a file insight_bitcoin_tx_7aa9e2b646d18140ce8cbcbc7343de02257f901b531b254f1d4defbccf521ce3.json with the part after tx_ changed to the transaction hash, in the directory c: transactions (or change the directory in my script). (You could maybe also copy from 'getrawtransaction TRANSACTION_HASH 1' in Bitcore's console.) Another way, which is easier if dealing with multiple transactions: Copy tx_api.py from my gist link below into your python-trezor installation (on my Windows machine, C: Python27 Lib site-packages trezorlib). This adds TxApiBTX which automatically gets the raw transaction from the cryptoid. SmartCash SMART Mining Calculator India. info explorer when you run the Python script to sign; my signtest2.py example uses this. Get the Python script signtest.py from (this is modified from a script -johoe wrote as an example of signing multisig BTC with Trezor; I simplified it for spending from a normal address).

(This could probably also be done with javascript, but I haven't tried that.) Edit these things in signtest.py: For each input: set address_n to the derivation path, prev_hash to the transaction hash, prev_index to the index in that transaction. For each output: set amount (in satoshis), and destination address. The total output amount should be less than the total input; the leftover amount is the miner fee. I think BTX nodes won't relay your transaction unless the fee is at least 100 satoshis per byte; the size of my transaction with 1 input 1 output was 192 bytes, so I picked a fee of 193*100 (you can see the actual size later and tweak this). My example in signtest.py has 1 input & 1 output; signtest2.py has 2 inputs & 1 output. You can add more inputs or outputs to the arrays if you want. If you don't have python-trezor installed, install it with 'pip install trezor'.

Run 'python signtest.py'. It may prompt you to enter your PIN if your Trezor is locked (the interface is similar to the matrix where you click on positions corresponding to shuffled numbers, but here you type the positions using the numeric keypad (this is from Trezor's python library; I didn't write any of this)); or you could enter the PIN beforehand using Trezor Wallet, and then the script won't ask for the PIN. If you have a passphrase, type it when prompted (or just hit Enter for none). On the Trezor, press the button to confirm the signature (if the amount & address looks right).

The script will print the transaction in hex (and shows the number of bytes). Copy the hex string that appears after 'Transaction: '.

Run the Bitcore wallet. Has download links. Open the console: Help->Debug window; click on Console tab. Type 'decoderawtransaction TRANSACTION_HEX_STRING' (paste your new transaction instead of TRANSACTION_HEX_STRING) and check that it looks ok. Be careful with the amounts; if your input has 1 BTX and you only want to send 0.5 BTX, if you only specify one output with 0.5 BTX, the rest will be treated as miner fee; to avoid that, add another output that you own for the change. Type 'sendrawtransaction TRANSACTION_HEX_STRING'.

This broadcasts the transaction on the BTX network, and prints the transaction hash (or an error if you did something wrong). You can paste the new transaction hash into but they seem to not show transactions until they're in a block, so you need to wait a few minutes. (Something that confused me here when I tried a transaction with 0 fee: sendrawtransaction didn't give an error, but other nodes didn't seem to see the transaction, I guess due to the minimum relay fee. I then couldn't spend from that output again until I quit Bitcore, deleted mempool.dat, and ran Bitcore again.) • • • • • •. BTX didn't really 'fork' from the Bitcoin blockchain. BTX started this year (and their blockchain has less than 90,000 blocks). Then on November 2, 2017 they took a snapshot of the BTC blockchain as of block 492820, and sent BTX to all BTC addresses that held at least 0.01 BTC.

See So, if your BTC address held at least 0.01 BTC on November 2, you should have BTX on that same address. If you didn't have BTC on November 2, you didn't get any BTX (unless you or someone else later sent BTX to your address). • • • • • • •. I don't know much about that part of the Trezor interface. Does 'python c: Python27 Scripts trezorctl list' show anything? Does 'python c: Python27 Scripts trezorctl get_address' prompt for your PIN and show an address?

I have both the Trezor Bridge and the Chrome extension installed, though those might not be related to this Python library that uses USB HID interface. In signtest.py you could try commenting out the HidTransport line and using BridgeTransport instead (though on my machine, only HidTransport worked). If even the 'trezorctl get_address' doesn't work, then it seems like a more general problem, and you could maybe ask in or at Trezor's support website.

• • • • • • •. For an easier way to get a list of the Receive & Change addresses on your Trezor, along with their derivation paths, I modified the trezorctl Python script to have a show_addresses command: (A replacement for trezorctl from the python-trezor package 0.7.16, which on my Windows machine is at c: Python27 Scripts trezorctl) 'trezorctl show_addresses' shows 20 Receive addresses.

'trezorctl show_addresses -change -n 10' shows 10 Change addresses. See 'trezorctl show_addresses -h' for more options, like '-a 2' to see Account #2 instead of 1 (1-based). • • • • • • •.

How to start mining Bitcore (BTX) on pool. Explained in details how to mine Bitcore (BTX) on any pool. Useful Links: Official Website: Bitcore (BTX) Block Explorer: Bitcoin Talk Thread: Bitcore (BTX) Mining Pools: MINING Software for mining Bitcore (BTX) with AMD GPU's: SGminer-timetravel-5.6.1: Official wallet download: For all AMD cards: Older cards, RX 4XX, RX 5XX series: Radeon Software Crimson ReLive Edition Beta for Blockchain Compute Release Notes AMD/ATI Pixel Clock Patcher: After installing drivers install MSI afterburner or Sapphire TRIXXX software to be able to proper setup your clocks for your card’s. You can download this from here: For mining Bitcore (BTX) with SGminer my batch file is like this: setx GPU_FORCE_64BIT_PTR 1 setx GPU_MAX_HEAP_SIZE 100 setx GPU_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_SINGLE_ALLOC_PERCENT 100 sgminer.exe -k timetravel10 -o stratum+tcp://btx.suprnova.cc:3629 -u cryptomkd.1 -p x -I 16 -g 2 pause (change worker or address with your own) If you find this tutorials useful please consider donations to: 1MTwJECGydZ9Nnt9cjwcyV3CFGLmZvQp9u (Bitcoin) Thanks for watching and happy earnings!!!!!!