@Andreas Schildbach
Can you help me please ?

On Wednesday, 21 June 2017 21:55:50 UTC+5:30, Kunal Ransing wrote:
>
> Hi,
>
> I am new to bitcoin system. I am checking bitcoinj-0.14.4 library.
> I want build simple java-web(servlet/jsp/html) & java-ejb (backend) 
> application to receive money from user then later forward to our merchant.
> *Please let me know if i'm doing it correct way !*
> This will do following
> 1. java-web will request java-ejb to generate new address to receive 
> money  then java-web will display 
>    that address(also QR code) on web/html page so that user will pay to 
> that address using any wallet he has.
>
>    >>For this at start of java-ejb (backend) load for first time we will 
> load wallet ONCE with autosave then when every time we receive payment 
> request then we will create receive address & display on html page. Correct 
> *?*
>
> 2. When user pay by any other wallet then our java-ejb (backend) will know 
> that payment made so that we will update
>    our system.
>
>    >>For this we will do below
>         // We want to know when we receive money.
>         walletAppKit.wallet().addCoinsReceivedEventListener(new 
> WalletCoinsReceivedEventListener() {
>         @Override
>         public void onCoinsReceived()
>         { 
>             //wait for 6 block confirmation
>            //our system internal order status update... 
>            //forward bitcoin LATER to our merchant after delivery is ok 
> i.e user satisfied.
>         }   
>         Correct *?*
>
> 3. We have installed bitcoind,bitcoin-cli on our server with all block i.e 
> its in sync..everyday sync.
>    >> When we use "MainNetParams" then how we can use "our own node" using 
> bitcoinj *?*
>
> 3. wallet file created by walletAppKit is at our internal server. 
>    But we want to create that wallet is encrypt form & can read in code 
> when using "KEY".
>    >> Wallet.encrypt("password");  Do we have such method for for 
> walletAppKit *?*
>
> 4. How to maintain backup of wallet ?
>    >> Copy "wallet" file created by walletAppKit to some remote place 
> everday is enough *?*
>
> Very sorry for long questions.
> *Please let me know if i'm doing it correct way !*
> Thank you very much!
>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to