spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.39k stars 3.07k forks source link

how to connect testnet on android #5570

Closed shuaiLiWang closed 5 years ago

shuaiLiWang commented 5 years ago

I know the cmd on linux is ./run_electrum --testnet how to connect the testnet on andriod? thxs!!!

shuaiLiWang commented 5 years ago

@ghost43 please see the issue

ecdsa commented 5 years ago

you need to build your own APK for that

ecdsa commented 5 years ago

around line 320 of run_electrum, add 'testnet':True,

shuaiLiWang commented 5 years ago

around line 320 of run_electrum, add 'testnet':True,

add

right? but i try it,it not work I think I got it wrong.

shuaiLiWang commented 5 years ago

around line 320 of run_electrum, add 'testnet':True,

i modify config_options['testnet'] = true to config_options['server'] = 'testnet' , it not ok

ecdsa commented 5 years ago

sorry, that would be line 314 in your code.

shuaiLiWang commented 5 years ago

sorry, that would be line 314 in your code.

now the balance screen info is offline on andriod,Should I do some other settings?

ecdsa commented 5 years ago

you probably need to set a testnet electrum server in your config

shuaiLiWang commented 5 years ago

you probably need to set a testnet electrum server in your config

Successful, thank you soooooooo much!!!!

ejrhe commented 7 months ago

Plz teach me this i want to enable testnet on electrum wallet in my android also

SomberNight commented 7 months ago

To build a testnet android apk, uncomment this line: https://github.com/spesmilo/electrum/blob/85ea2dfc484b7ee2de5863a1ee7a4531215600c1/contrib/android/make_apk.sh#L48 and then build normally, following the steps described in contrib/android/Readme.md.

ejrhe commented 7 months ago

Means if i uncomment that code and run it ./make_apk.sh will it make a testnet version electrum wallet .apk file in my linux terminal?

ejrhe commented 7 months ago

Which i can install by moving it to my sdcard ( i am using termux)