Author

Topic: [NBitcoin] GetNewAddress for a specific wallet ? (Read 137 times)

legendary
Activity: 2128
Merit: 1293
There is trouble abrewing
NBitcoin is just a library that you can use to build some application around it. so depending on what you build it can be the same as Electrum or like anything else with any features that you like.

but Electrum is already a complete project (a wallet) with all the features already made by the developers and they have added the password thing so when you choose it you are asked for it.

as for being linked to a wallet, again if you are using NBitcoin, you need to write some code for your storage to store they keys that are generated. you can use a simple random generation of keys and store each of them each time a new one is generated or do what Electrum already does and use a Hierarchical Deterministic way of creating keys in which case you just store the master key or seed and each time you generate a new key it gets it from that master key.
be careful what you do though. security is a very important matter and not easy when you are trying to make your own thing!

there is also a chat room for it here: https://gitter.im/MetacoSA/NBitcoin
newbie
Activity: 1
Merit: 0
Hello,
I saw some examples using NBitcoin to generate Keys and addresses with it.

I have some questions related to the use of it (for the moment I'm just a simple user of Electrum to receive/send bitcoin, but I want to use bitcoin as a payment option on my site without passing by a third party like bitpay):
- are the key / address generated linked to a wallet ?
- is there a way to "link" new addresses to a wallet ?
- Electrum use a password when I import and send payment. Why NBitcoin doesn't ask for a password when generating a key ?

Thanks Smiley,
Jump to: