• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

DASH | Where in the code is the receiving address generate

shawnshen

New member
Hello Friends,

I'm focus on developing a digital wallet, now we want to join DASH to our wallet, with sending and receiving basic function. but know I can't locate the code function which generate the receiving address.
I'm digging into dashpay GitHub source code, /src/wallet is the most similar I can find. but it seems not correct.
how to solve this question
 
Hi,
am also trying to develop wallet for dash using node library. if you dont mine, please give the basic send and receive function code to test.
i did with dashcore library. but not able to send and also not hitting error too.
 
Last edited:
I set up this but not using dashcore library, dash core is pretty familiar with bitcoin, also you can find out your problem using RPC command and dash wallet console
 
I set up this but not using dashcore library, dash core is pretty familiar with bitcoin, also you can find out your problem using RPC command and dash wallet console
library whatever may be. i want to see the flow and logic. where i missed like that
 
https://github.com/dashpay/dash/blob/master/src/script/interpreter.cpp#L1119
https://github.com/HashEngineering/.../java/org/bitcoinj/core/Transaction.java#L966

first one comes from dash core

second is dash lib own by dash core-developer

you can check out from this two part.

do you have a serialize and deserialize function?? if so you can compare you tx with RPC decoderawtx output

dash core developer doc: https://dash-docs.github.io/en/developer-reference#opcodes

check this above first, your question is a bit unspecific.
 
Bitcoin address contains a built-in verification code, so it's impossible to send bitcoins to an incorrect address. However, if the address is properly formed, but no one owns it (or the owner has lost wallet.dat), any coins sent to this address will be lost forever.
 
Back
Top