Questions tagged [development]

The creation and ongoing work for different existing and future Bitcoin-related projects and source code.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
18 views

Future Value in Community Development [closed]

Would anyone be interested in leveraging their margin to support educators. Margins used for continuing education, instructional technology and supplies. If interested in a conversation please reply.
0 votes
1 answer
307 views

Applying additional oauth scopes to coinbase

I am trying to apply the coinbase wallet API with oauth to use its send functionality. I have been able to connect to the API and use its endpoints, but whenever I try to use the send functionality, I ...
0 votes
1 answer
1k views

Running a bitcoind docker

Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data Currently its in 100% sync but I am facing an issue to get ...
1 vote
1 answer
463 views

Webpack issue with tiny-secp256k1 and ECPair

I am developing a browser extension using Webpack v5 and incorporating the bitcoinjs-lib and ecpair libraries to create a Bitcoin wallet. However, I am encountering an error when attempting to load ...
-3 votes
1 answer
44 views

How many ways are there to Read Satoshi era Wallets?

I've come acrossed a few - running the original Satoshi v.0.1.0 through v.0.1.5 Clients all the way up to Satoshi v.0.7.x - I believe all of these can read Original Satoshi Wallet.dat(s) - I have a ...
-1 votes
2 answers
56 views

Bitcoin wallet in Rust

Could not find any resources on how to build a simple bitcoin wallet in Rust? Please share some relevant resources or repositories.
2 votes
0 answers
23 views

Intermittent connection issues - 'DataStream::read(): end of data: unspecified iostream_category error'

2 nodes run by me locally sometime connect sometime not and getting 'Connection refused' error on the node I am connecting from. On the node I am connecting to debug.log error message display the ...
-1 votes
2 answers
299 views

Configuring electrum wallet with command line only

I successfully installed electrum on an ubuntu server using the first ref from google search. But how I can configure it without GUI I didn't find.
1 vote
2 answers
221 views

Bitcoin library vs script to develop application

I'm curious about the development of application of Identity management in Blockchain platform, but I'm a bit confused about the technologies to use. In short words, when is more convenient to develop ...
0 votes
0 answers
629 views

RSZ value with witness data

Have anyone got a script on how to find the RSZ value of a bitcoin transaction with witness data, scanned just by inputting the hashes? Will you please share your code? Or at least, point me to the ...
0 votes
1 answer
77 views

bitcoin rpc submitblock merkle root + raw tx (bad-txnmrklroot)

I wanted to test the submitblock rpc call in regtest but I seem to have some issues with the transactions I try to submit. I have the following raw transactions: ...
1 vote
1 answer
199 views

Verifying a zkSNARK on Bitcoin/Hope for a future with OP_MUL

I am trying to write a script that can verify a SNARK, but from what I understand OP_MUL is still disabled in TapScript. Is anyone working on a BIP to provide OP_MUL or OP_MUL64? It seems ...
2 votes
1 answer
96 views

Is it possible to download only a part of the blockchain?

I am doing some investigation related to the bitcoin transactions graph and I don't need the whole blockchain, because it would be too much data (and I don't have much space). I just need a part of ...
0 votes
0 answers
69 views

Can we get together a group of C++ devs that work on Bitcoin apps?

I've been trying to get into Bitcoin development and I've been having a horrible time. I tried multiple Bitcoin-related IRC channels for support but most responded with hostility, except for the ...
0 votes
0 answers
29 views

Which chain for developing a BTC based app? [duplicate]

There appear to be four chains you can use with bitcoin-cli. Main, test, signet, and regtest. Main is off the list obviously but I'm not sure which other chain I should be using. I'll need to be able ...
1 vote
2 answers
38 views

Why is this P2WSH spend triggering a verification failure when broadcasting?

I'm experiment with building SegWit transactions manually, and I've written a non-standard simple script just for testing. No signing or anything, just your usual "add two numbers, check equality&...
3 votes
2 answers
390 views

Is the UTXO set size important for non-mining full nodes?

Recently, I have seen a lot of development effort going into techniques for different ways of storing, pruning UTXO/TXOs. The main motivation cited is reducing block orphaning, which is mining-...
17 votes
3 answers
9k views

How to calculate new "bits" value?

Every 2016 blocks one needs to calculate new bits value. What is the formula to calculate it?
1 vote
1 answer
203 views

Manual work as source of entropy

Working on an opensource air-gapped crypto vault, in which I have the regular method of relying on OS to provide cryptographically secure random source and use that to generate the mnemonic phrase. ...
-2 votes
1 answer
91 views

What is the step-by-step algorithmic process to find the modular multiplicative inverse of (n-1) mod np, where (n-1) and np are not coprime?

Having perused the stackexchange, I found some similar questions, but am having difficulty understanding how to arrive at the solution to (n-1)*x=1 mod np, where: n: Finite group order of the Bitcoin ...
1 vote
2 answers
45 views

Where is a good source of information for procedural algorithm to program my own Bitcoin QR code generator?

Not trusting those already available QR code generators available, I would want to program my own. The idea is to input a Bitcoin key ( private or public ) and the program would simply generate the ...
4 votes
5 answers
5k views

What programming language should be used to develop Bitcoin exchange software? Why?

I've only heard PHP is terrible (e.g. in the context of Mt. Gox) and a more efficient/more security-oriented language would be preferable for matching orders and account security. Which programming ...
0 votes
1 answer
150 views

decoding transaction hash returned in rpc call getrawtransaction

hex: ...
1 vote
1 answer
208 views

How to call `getblocktemplate` without running a full node?

I was trying to get into bitcoin mining but I could not find any useful information on calling getblocktemplate without downloading the entire blockchain. Is there a way to get blocks for mining ...
1 vote
2 answers
653 views

Do I need to download the entire blockchain in order to use bitcoin-cli?

I want to try and compile and run bitcoin-cli locally. Do I need to download the entire blockchain first?
0 votes
2 answers
107 views

Roadmap for beginners developers

I am Brazilian and would like to program functionality for Bitcoin and LN. But I have no knowledge of programming and am lost as to what to study. Could you help me? What do you recommend? *i do know ...
3 votes
1 answer
297 views

How do I maintain a continuously updated copy of a local mempool?

Let's say I want to build a database of transactions that is continuously being updated from a locally running Bitcoin Core node using JSON-RPC and ZeroMQ. My concern is how to make it robust against ...
0 votes
1 answer
286 views

How to "Autoforward" incoming BTC using Electrum

We would like to generate multiple addresses in Electrum, receive BTC to these addresses on a daily basis and auto-forward them to another address automatically. So the flow would be this: BTC Sent ...
0 votes
1 answer
971 views

HD Wallet Child Private Key Derivation Function

I was trying to understand the specs on CKD function from both the bip32 standard and Mastering Bitcoin book, I couldn't understand how a private key is derived from the left side of the extended key. ...
2 votes
1 answer
564 views

Is there a difference between OP_PUSHBYTES and OP_PUSHDATA

In some documentation about Script we sometimes have to use OP_PUSHBYTESx or OP_PUSHDATAx to indicate that some number of bytes will be an element to read. They seem to do the same thing so is there a ...
11 votes
1 answer
1k views

Turing completeness of Bitcoin Script

For me, scripts are one of the most interesting features of Bitcoin. They provide possibilities which have no equivalent in classical currencies. However, the wiki states It is purposefully not ...
3 votes
3 answers
105 views

Problems about update of protocol of bitcoin

I am new to crypto. I want to ask if in the future, bitcoin has a significant protocol update, will there be a recycle (or some kinds of buy-back or repurchase?) of old tokens or an automatic update ...
5 votes
2 answers
969 views

How do I program smart contracts?

Is there a guide to learn how to program smart contracts for the Bitcoin blockchain?
0 votes
1 answer
72 views

How to develop bitcoin sidechains/second layer solutions?

If I have an idea for a use case that requires transparency and ultra-secure final settlement, how do I go about programming this to be a side chain/2nd layer solution on the bitcoin network? Is there ...
1 vote
2 answers
84 views

I'm creating a bitcoin wallet but I can't figure out how to send transactions with a low fee

I created a bitcoin wallet https://github.com/Grantrocks/bitcoingadgets. After 2 days of constant errors, I got it to send btc. But I can't seem to get it to send btc somewhat fast at a low fee. I use ...
39 votes
4 answers
69k views

How to fork Bitcoin and build own cryptocurrency [closed]

Is there any step-by-step tutorial about how to build own cryptocurrency based on Bitcoin code?
7 votes
2 answers
3k views

How to find all UTXOs?

I know that UTXOs are stored in chainstate database. But how can I get them in simple txt view? Not balances, but each UTXO.
27 votes
5 answers
10k views

how to monitor +20,000 addresses for new received transactions?

I have around 20000 generated addresses which I want to monitor for new transactions. More addresses should probably come. Customers should use every address only once but I would like to monitor ...
3 votes
1 answer
1k views

Is there a bitcoin api?

Sorry if my question sounds silly, I get downvoted for some reason everytime I ask it. I just need some help Today I saw the "richest bitcoin wallets" chart and I was inspired to program the ...
0 votes
2 answers
530 views

How do you hash data for mining?

I was examining the block hashing algorithm and I tried to hash some blocks with my c++ sha256 to check results. The hashes were wrong all the time so I thought I couldn't build the block header ...
0 votes
1 answer
127 views

do Bitcoin full node onions also relay non-bitcoin traffic?

During the past week or so I am setting up a Bitcoin core full node on Raspberry Pi and making it as secure as possible. In the public mind, the onion sites and Darknet are associated with many things ...
1 vote
1 answer
198 views

Handling 'Has SIGHASH_SINGLE' flag for psbt2 (BIP370)

BIP370 specifies a bit flag (bit 2) in PSBT_GLOBAL_TX_MODIFIABLE field, that "indicates whether the transaction has a SIGHASH_SINGLE signature who's input and output pairing must be preserved&...
2 votes
3 answers
634 views

Would writing one's own cryptocurrency in a language other than C/C++ be stupid?

I'm curious from a performance perspective if writing a cryptocurrency from the ground up in a language other than C/C++ be stupid? For example, if I wanted to write a cryptocurrency and protocol in ...
12 votes
3 answers
9k views

How can I generate a large number of Bitcoin addresses?

I would like to generate a large number of public Bitcoin addresses (several hundred thousand) quickly and efficiently into a simple text file. What would be the easiest way to get this done? I'm just ...
3 votes
1 answer
849 views

What is a correct extranonce2 value in the stratum protocol?

I'm developing a stratum mining client. I read on stratum v1 docs on braiins.com how mining work is done on the stratum protocol and that the coinbase is done by concatenating coinb1+extranonce1+...
0 votes
0 answers
89 views

Can I integrate a decentralised wallet in a website in PHP?

Can I integrate a decentralised wallet in a website in PHP? A decentralised wallet will act as service but I won't have access to the funds of users however users should be able to access their wallet ...
0 votes
2 answers
66 views

Help a newbie. Need software [closed]

I want to invest in a mining farm. Everywhere I find only pieces of information. Help please - you need: What software is needed and for what. Where to begin. Equipment and installation conditions. ...
44 votes
1 answer
10k views

What do the different .dat files contain?

What data do different Bitcoin .dat files contain? How about the other files in the same folder? The wallet.dat file is somewhat documented and there are some ways to convert it to human-readable ...
6 votes
1 answer
168 views

Will LN liquidity advertisements and dual funding allow for third-party purchased liquidity ("sidecar channels")?

Third-party purchased liquidity ("sidecar channels") are a feature of Lightning Pool where Alice pays Bob to fund a new channel to Carol. Although this seems like an indirection (Alice ...
0 votes
1 answer
80 views

Can you program a transaction to automatically run once fees are low?

Can i program a bitcoin transaction to run when the network is not as busy or when fees are low? If you are not in a rush to complete trx.

1
2 3 4 5
10