DASH | Where in the code is the receiving address generate

shawnshen

New Member
Aug 8, 2018
4
0
1
29
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
 

rafarossi

New Member
Sep 4, 2018
5
0
1
29
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:

shawnshen

New Member
Aug 8, 2018
4
0
1
29
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
 

rafarossi

New Member
Sep 4, 2018
5
0
1
29
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
 

shawnshen

New Member
Aug 8, 2018
4
0
1
29
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.
 

rosita

Member
Aug 6, 2018
57
2
68
34
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.