Bitcoin Forum
June 28, 2024, 04:26:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Android Wallet for my altcoin  (Read 152 times)
klasias (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 22, 2018, 11:55:52 AM
 #1

Hi to all.

I have develope my altcoin based litecoin 0.7.
Now i'd like develope a full node with wallet for Android!

Exists any OpenSource project to clone and relative guide for configure with my altcoin??

Thanks
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
December 22, 2018, 12:15:51 PM
 #2

Hi,

A full node might not be the best choice for a mobile, you can checkout the SPV mobile wallet that has been done for Bitcoin and adapt it to your alt : https://github.com/search?q=spv+wallet+android
KingZee
Sr. Member
****
Offline Offline

Activity: 924
Merit: 452


Check your coin privilege


View Profile
December 23, 2018, 01:58:17 AM
 #3

Hi to all.

I have develope my altcoin based litecoin 0.7.
Now i'd like develope a full node with wallet for Android!

Exists any OpenSource project to clone and relative guide for configure with my altcoin??

Thanks

Like the other two comments mentioned, you can't run a full node on android.

What I would recommend :

- Run a full node of your alt on your server(s).
- BAD : Hard-code your own node(s) IP(s) into the android app so it can connect to your server. (You HAVE to change this later if enough people run a full node of your blockchain on their computer. I recommend creating your own dns seed that will return a list of stable nodes, and you can easily add that to your android app and perform dns lookup.)
- Use RPC calls. If you based your alt on litecoin, which is based on bitcoin, you can just allow rpc calls on your server node and that's it. Your android app will effectively be able to request/broadcast any information about the blockchain through your node.

This procedure isn't hard and coding its barebones is definitely doable if you know your way around android. While I do recommend going through the open source examples cited above, I would also ask you to think very well of the functionality you want. You could easily end up with a massively bloated .apk because you used another library, while you only need a subset of its features.

Beep boop beep boop
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!