I've managed to run the entire bitcoind on iPhone (both sim and device) on a separate thread inside an App.The App acts as a client and communicates using the regular RPC-JSON with the bitcoind.The changes I had to do to bitcoin code are minimal and are described in the "Add bitcoin.org project" section ofhttps://github.com/udibr/bitcoinApp/blob/master/build-iOS.txt(at some point I hope they will be merged into the master repo)

For now the only command I have implemented on the client side is "getinfo" but it should be easy to use it as a template and add all commands.

The client is implemented using Three20 package (the same SDK used by the facebook App) so it already has non-trivial features, out of the box.For example:* on the info page if you drag the table all the way down you can force it to refresh its content* every bitcoind command appears as an icon on the launcher screen. It is possible to re-arrange (or delete) these icons, allowing for very nice App customization.

There are many things that needs improvement:* the client/server response time is slow and not what you expect from an App.* It takes a while for the daemon to start and until then if you press on the info (getinfo) button you get an error.* If you put the App in the background the entire thing crashes...but its a start...once we will have something reasonable I will try to put it on the App store (not sure what Steve will have to say on this.)

I already submitted one Bitcoin iPhone app, but apple rejected because "not useful"-clause. It was just very simple app for following the market stats of Bitcoin. Will put source code to github when I have time...

I already submitted one Bitcoin iPhone app, but apple rejected because "not useful"-clause. It was just very simple app for following the market stats of Bitcoin. Will put source code to github when I have time...

Implying everything that makes it to the app store is useful wtf? That seems like it has a good use too.

No problem, I'll build a new version which goes back to iOS 4.0 (going back to 3.1.3 will really limit what I can do.)So PLEASE register your devices for testing if you havent done so already at http://bit.ly/g4FNZX .Its not enough to signup for the site, you need to register your device

OK a fix at http://bit.ly/glCBLiif you want to join, signup and register your device (two different button presses) so I will be able to update the version with your unique device number (UDID)

For now there is a long time after starting the App in which you get an Error message on some of the screens, so just wait a little bit or just move around between the pages until the App starts to work.

Again, this is a test program, so the Apps wallet may be lost in future versions (be careful)

I'd be worried about this trashing the battery life and/or internal storage. BitCoin is super read/write heavy during the indexing phase. The software wasn't really designed with mobiles in mind. Startup time in particular is going to be "not excellent" even after the block chain is fully downloaded. It takes several seconds even on a high end MacBook, and architecturally that's hard to fix.

However it's definitely a good way to test what Apples reviewer team thinks of it.

I was called by a person from Apple: App was rejected by Apple because "...it involves intermediate currency..."I've asked why Apps such as PayPal and Venmo are accepted and he replied that he "does not have time to elaborate"I then asked if they allow just a console to a remote node (not located on iPhone) and he said that this will also be an App that involves intermediate currency and there for will not be allowed...