pwstegman / DashcoinWalletGUI

:ledger: Wallet GUI for Dashcoin
GNU General Public License v2.0
5 stars 10 forks source link

INode Iwallet. #7

Open Andrewsopoku opened 6 years ago

Andrewsopoku commented 6 years ago

Please i would want to create a web wallet for cryptonote coin where users won't have to run a node or wallet daemon. They will be able create and initialize their wallet with their password, sync with my node, make transactions and others. The clue I have is I can do that with IWallet but my problem is how I will be able to interact with IWallet.

pwstegman commented 6 years ago

Any web based service that wants to use cryptonote can take advantage of the RPC APIs described on Bytecoin's wiki here:

https://wiki.bytecoin.org/wiki/Bytecoin_RPC_Wallet_JSON_RPC_API https://wiki.bytecoin.org/wiki/Daemon_JSON_RPC_API

Andrewsopoku commented 6 years ago

Thank you for your response. With what is found at the link provided, you would need to have walletd running. I was thinking a web wallet services which is not for just one person, where anyone can create a wallet and make transactions.

On Jan 7, 2018 3:21 AM, "Pierce Stegman" notifications@github.com wrote:

Any web based service that wants to use cryptonote can take advantage of the RPC APIs described on Bytecoin's wiki here:

https://wiki.bytecoin.org/wiki/Bytecoin_RPC_Wallet_JSON_RPC_API https://wiki.bytecoin.org/wiki/Daemon_JSON_RPC_API

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pwstegman/DashcoinWalletGUI/issues/7#issuecomment-355795981, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuQJ-9SiA8lRO1k5phHKZhCr5u4ZEeMks5tIDgcgaJpZM4RRa_U .

pwstegman commented 6 years ago

I don't have experience with running a web wallet specifically. However, generally you run one instance of walletd on the server side and use the RPC commands to generate addresses for your users.

Each user is interacting with the same walletd and you keep track on your end who has which addresses. You can determine address balances using the getBalance RPC method.

I don't know enough to provide advice on the security of one method over others. I know some services encrypt each user's wallet with a user provided password. That way even if the account data is stolen, user wallets cannot be accessed. Although, if the user forgets their password, all wallet data is lost. But as far as RPC methods are concerned, the bytecoin wiki is a good place to look.