Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: NicoDFS on June 26, 2017, 03:24:50 AM



Title: Question for Devs about making a wallet [Answered]
Post by: NicoDFS on June 26, 2017, 03:24:50 AM
Hi, I was wondering how much functions can be built into a custom wallet? Like can I code a game into a wallet? Or can use API to add in features to a wallet?


Title: Re: Question for Devs about making a wallet
Post by: Casy on June 26, 2017, 08:23:05 PM
Hi, I was wondering how much functions can be built into a custom wallet? Like can I code a game into a wallet? Or can use API to add in features to a wallet?

As this question is very generic, I'll answer it in the same way.
If you wanted to code a wallet from scratch, you could code any kind of functionality that you desire into a wallet, as long as you can code it yourself or integrate it from existing code.
You can also extend a wallet of which the code is open source. You basically create a fork of the code and add the functionality you need.

However, the easier and more widespread way of creating software that is based on bitcoin is to use a wallet with minimum functionality like bitcoin core and then you can code a standalone application in whatever code language you want to, and then your wallet software communicates with the running bitcoin core via REST API requests.

Without knowing what your goal is, it is hard to be more specific here.


Title: Re: Question for Devs about making a wallet
Post by: NicoDFS on June 26, 2017, 10:32:08 PM
Hi, I was wondering how much functions can be built into a custom wallet? Like can I code a game into a wallet? Or can use API to add in features to a wallet?

As this question is very generic, I'll answer it in the same way.
If you wanted to code a wallet from scratch, you could code any kind of functionality that you desire into a wallet, as long as you can code it yourself or integrate it from existing code.
You can also extend a wallet of which the code is open source. You basically create a fork of the code and add the functionality you need.

However, the easier and more widespread way of creating software that is based on bitcoin is to use a wallet with minimum functionality like bitcoin core and then you can code a standalone application in whatever code language you want to, and then your wallet software communicates with the running bitcoin core via REST API requests.

Without knowing what your goal is, it is hard to be more specific here.

Thanks, its exactly what I was hoping to hear. sorry for being so generic, basically we made a game we want to launch and I had a thought that it would be really cool to just put the game in its own wallet, but all the devs were out by the time i had the idea and just wanted to be sure I was not crazy.

spoke with him first thing and our lead dev said he made wallet he made that using REST API requests before, now we are just confirming this fits in for long term plans.

thanks again



Title: Re: Question for Devs about making a wallet [Answered]
Post by: DraftDaily on July 27, 2017, 04:16:33 AM
yeah its something we would  like to do down the road, just play the games right in the wallet.