Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Mobile Wallet - Testers needed  (Read 15549 times)

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Mobile Wallet - Testers needed
« on: December 01, 2014, 08:57:20 AM »

-------------------
ALPHA2 UPDATE
-------------------


--------------
IMPORTANT
--------------

* Follow the "How to upgrade" instructions if you have alpha-1 installed.
* If you plan to transfer funds from desktop wallet to mobile, don't use the GUI because it will generate a titan transaction that the mobile wallet wont see. (If it happens by mistake PM me and i will help you recovering those funds)
use wallet_transfer_to_address 5 USD your_account your_address_in_mobile from console.

---------------------
HOW TO UPGRADE
---------------------

1) Export your wallet
2) Install alpha2
3) Restore wallet

-----------------------
SCREENSHOTS & APK
-----------------------


https://www.dropbox.com/sh/0xfnkep3u1dvjmt/AABVmvgXx3tb2mf3QqAj8yBKa?dl=0

Bitwallet-debug.apk shasum f71c67062343232b3ddf4e6bdf6d08c64801b836

-------------
CHANGELOG
-------------


* i18N ready.
  - english
  - spanish
  - russian [thanks testz]
  - korean [thanks clayop]
  - chinese [thanks btswildpig]
  - italian [thanks spartako]

* Send to registered name (non-TITAN)
* Scan publickey
* Scan paper wallet
* Multicurrency CNY/USD/BTC/Gold
* Local address book

----------------------------------------------------------------------

Dear community,

My name is Matias Romeo and together with Pablo Tutino we are both cofounders of Latincoin.com.

We are based in Buenos Aires (Argentina) working from the "Bitcoin Center Buenos Aires" (aka: Bitcoin Embassy)

As many of you know the current situation in our country is one of a big opportunity for bitUSD, and seeing that the mobile wallet for bitshares is lagging behind we decided to do our contribution and started the development of a mobile bitasset wallet.

We think that Argentina has a lot of potential for the daily use of bitUSD and we have a lot of efforts going on in that sense that hope to release soon.


----------------------------------------------------------------------------------------------
This is highly alpha software so if you plan to use it do not put large sums of money.
----------------------------------------------------------------------------------------------


Source code here
https://github.com/latincoin-com/bitwallet

Screenshots and apk
https://www.dropbox.com/sh/0xfnkep3u1dvjmt/AABVmvgXx3tb2mf3QqAj8yBKa?dl=0

All the keys can be recovered from the master key, so it is recommended that you backup your wallet after installing the app.


------------------------------------------------
It will only work on Android 4.0+ (for now)
------------------------------------------------


In fact it runs on iOS, but the performance is too bad because of the JS engine.
We are working on a native iOS/Android plugin for the crypto part.

How does it work?
The client is in control of the private keys.
It uses a public API to create an unsigned transaction, then it signs it on client side, and push it to the network.
(See API below)

How do i send money to the wallet?
Select and address from the "My Addresses" list and use the wallet_transfer_asset_to_address command from the console (in the desktop wallet).
e.g.: wallet_transfer_asset_to_address 5 USD my_account BTSX9pTBfYkFwmUm46XTaeTLukGDrupobHwzc

Why i can't send to an account name?
It is planned for the next release.

Why i can't register my "account"?
It is planned for the next release.

What crypto library are you using?
We use bitcoinjs-lib 1.2.0 (with our bts.js to encode in BTS way) for the Hierarchical keys + Signing and CryptoJS for the AES encryption/decryption of the wallet.

Why USD only?
It is trivial to support other bitAssets, but we want to focus on bitUSD first.
In the following releases you will be able to switch from one bitAsset to another.

Why the apk is so big?
Chrome runtime is bundled within the ape (two architectures x86+arm )
We are using cross-walk library in order to use the latest Chrome runtime for android and to support

Why it looks so bad in my XXXXX device?
We are in alpha, give us some time to fix the design.


Other bugs and limitations:

- Client does not validate the transaction generated on the server. (Is the transaction doing what i asked for?)
- Only for newly created keys (from block 900000+)
- SSL Certificate error alert: xwalk lib is built with --check-web-security and we are using a self signed certificate in our WebSocket server (bswws.latincoin.com)
- Balance/Transaction history not refreshed after wallet restore. (Need to quit and run again)
- Export does not include address book.
- Unable to select an address from the address book when sending.
- Unusable on iOS
- Transaction details duplicates withdraws and deposits records.
- Rounding errors in balance.

## API
(doc coming soon)

This api lets you create an unsigned transaction using funds from many addresses and sending to many addresses.

POST https://bsw.latincoin.com/api/v1/txs/new
Code: [Select]
{
 "asset" : 22,
 "fee"   : 250,
 "from"  : [{"address":"BTSX9pTBfYkFwmUm46XTaeTLukGDrupobHwzc"}],
 "to"    : [{
    "address" : "BTSXF9WuaEqYn5sZJQGK6qzR8S9jRehUgQXzZ",
    "amount"  : 50000
 }]
}
After that you have to sign the transaction digest (to_sign parameter in response json) with the corresponding private keys asked by required_signatures.
Add those signatures to a "signatures" parameter in "tx" json object and push it back to
https://bsw.latincoin.com/api/v1/txs/send


This api lets you know the balance and transaction history of an address.

GET https://bsw.latincoin.com/api/v1/addrs/BTSX9pTBfYkFwmUm46XTaeTLukGDrupobHwzc/balance
GET https://bsw.latincoin.com/api/v1/addrs/BTSX9pTBfYkFwmUm46XTaeTLukGDrupobHwzc,BTSXF9WuaEqYn5sZJQGK6qzR8S9jRehUgQXzZ/balance
GET https://bsw.latincoin.com/api/v1/addrs/xpub661MyMwAqRbcEYS8w7XLSVeEsBXy79zSzH1J8vCdxAZningWLdN3zgtU6T6MHAZTgj9H6QNfLWByR1Dj4exUQ8FqYv9s7KecprYm7unUkX1:5/balance
It also support BIP32 Extended pub key format. (5 is the number of derivations)

There is also a websocket subscription mechanism to notify you when funds have been received or sent from a group of addresses.

wss://bswws.latincoin.com
sub BTSX9pTBfYkFwmUm46XTaeTLukGDrupobHwzc
sub xpub661MyMwAqRbcEYS8w7XLSVeEsBXy79zSzH1J8vCdxAZningWLdN3zgtU6T6MHAZTgj9H6QNfLWByR1Dj4exUQ8FqYv9s7KecprYm7unUkX1:5
« Last Edit: December 24, 2014, 09:12:43 PM by ElMato »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Mobile Wallet - Testers needed
« Reply #1 on: December 01, 2014, 09:00:19 AM »
BAM!!!!
Awesome .. +5%

BTW, "BTSX" should be "BTS" .. also in the addresses and pubkeys

Questions:
- Privkeys are on the device only?
- can you offer a precompile APK?
- screenshots?
« Last Edit: December 01, 2014, 09:03:09 AM by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #2 on: December 01, 2014, 09:11:44 AM »
BAM!!!!
Awesome .. +5%

Thanks!!!

BTW, "BTSX" should be "BTS" .. also in the addresses and pubkeys

Is version 0.4.24 already working with the BTS prefix?


Questions:
- Privkeys are on the device only?
Yes, private keys are on the device only.

- can you offer a precompile APK?
- screenshots?
I will update the post ...
Updated

« Last Edit: December 01, 2014, 09:13:21 AM by ElMato »

Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #3 on: December 01, 2014, 09:33:01 AM »
Indeed great news! Screenshots etc. much appreciated…
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #4 on: December 01, 2014, 09:35:15 AM »
i'll provide a logo etc. later this day

and it would be also a great pleasure to assist you on coloring etc...
if you want me to help…just said

and i want to point to also to another post here... this could be interesting for both parties :)

matt608 delegate proposal
https://bitsharestalk.org/index.php?topic=11847.0
« Last Edit: December 01, 2014, 09:41:04 AM by cass »
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #5 on: December 01, 2014, 09:38:31 AM »
here are some screenshots, i extracted it from dropbox and uploaded to imgur

http://imgur.com/a/HTkmb



█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline cgafeng

Re: Mobile Wallet - Testers needed
« Reply #6 on: December 01, 2014, 09:39:22 AM »
nice!
I think we need hire some people to check the source code develop by the third party, any idea?
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline svk

Re: Mobile Wallet - Testers needed
« Reply #7 on: December 01, 2014, 09:44:10 AM »
This is awesome! So since this is simply a wrapper for a JS library and an angular wallet, this could easily be used to make an online web wallet too no?

And I suppose it only works for non-TITAN addresses?
Worker: dev.bitsharesblocks

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #8 on: December 01, 2014, 10:01:17 AM »
i'll provide a logo etc. later this day

and it would be also a great pleasure to assist you on coloring etc...
if you want me to help…just said

and i want to point to also to another post here... this could be interesting for both parties :)

matt608 delegate proposal
https://bitsharestalk.org/index.php?topic=11847.0

@cass it will be great if you can help us on every aspect of the design! not just coloring but UX/UI.
Will pm you when i wake up today (6:50 am here!)

We will definitely contact matt608 and matador123, i can also meet him in person this week if he is in BA!




Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #9 on: December 01, 2014, 10:02:17 AM »
i'll provide a logo etc. later this day

and it would be also a great pleasure to assist you on coloring etc...
if you want me to help…just said

and i want to point to also to another post here... this could be interesting for both parties :)

matt608 delegate proposal
https://bitsharestalk.org/index.php?topic=11847.0

@cass it will be great if you can help us on every aspect of the design! not just coloring but UX/UI.
Will pm you when i wake up today (6:50 am here!)

We will definitely contact matt608 and matador123, i can also meet him in person this week if he is in BA!

contact me via skype, PMed!
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #10 on: December 01, 2014, 10:03:20 AM »
nice!
I think we need hire some people to check the source code develop by the third party, any idea?

It would be great to have other "eyes" check our work.
We will talk with Sergio (Lerner) to see if he can do a security audit on the wallet.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Mobile Wallet - Testers needed
« Reply #11 on: December 01, 2014, 10:05:41 AM »
And I suppose it only works for non-TITAN addresses?
Yep ..

Report:
I just installed the wallet .. send 5bitUSD to my ADDRESS and received it almost instantly ..
Picked one of my addresses from "wallet_account_list_public_keys" and sent back 1bitUSD .. has not arrived :(

Is the wallet sending via TITAN?

awesome job still
« Last Edit: December 01, 2014, 10:10:21 AM by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #12 on: December 01, 2014, 10:17:53 AM »
This is awesome! So since this is simply a wrapper for a JS library and an angular wallet, this could easily be used to make an online web wallet too no?

And I suppose it only works for non-TITAN addresses?

@svk, yes you are right it can be used to make an online wallet.


What we have done has two parts:

1) A basic blockchain web infrastructure for bitAssets. ( "like" blockcypher.com )
    - Get address balance
    - Get address transaction history
    - Create unsigned transaction
    - Broadcast signed transaction
    - WebSocket callback when address balance has changed. (we need http webhooks)

2) A client application that.
    - Has the private keys.
    - Sign transactions.

TITAN is not used in the wallet.

We give the user the ability to create as many address as he wants.
And soon he will have some control over which "source addresses" (coin control) he wants to use in the transaction achieving a high level of privacy.
« Last Edit: December 01, 2014, 10:29:43 AM by ElMato »

Online ElMato

  • Sr. Member
  • ****
  • Posts: 279
    • View Profile
Re: Mobile Wallet - Testers needed
« Reply #13 on: December 01, 2014, 10:29:12 AM »
And I suppose it only works for non-TITAN addresses?
Yep ..

Report:
I just installed the wallet .. send 5bitUSD to my ADDRESS and received it almost instantly ..
Picked one of my addresses from "wallet_account_list_public_keys" and sent back 1bitUSD .. has not arrived :(

Is the wallet sending via TITAN?

awesome job still

Strange ... i have done the same and it worked fine.

Maybe the transaction didn't get through.
Did your balance lower by 1 usd?

(Transactions are created with 30s deadline, so if more than 30s passed and you didn't received the amount, you can safely send it again because the blockchain will reject the previous transaction)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Mobile Wallet - Testers needed
« Reply #14 on: December 01, 2014, 10:32:07 AM »
I can see that the transaction 27f58bf2eed0681c4630d9ef4267b6a7002360c0 IS depositing to the right address ... so maybe it's my wallet that didn't see it yet ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+