Git Product home page Git Product logo

iotamobile's Introduction

IOTA Mobile

A simple wallet application for IOTA token.

Overview

This wallet application will enable iOS & Android users to securely access or generate a wallet on their mobile device. It will allow a user to send, receive, and generate addresses.

Security of the seed while the app is in active use will be handled by the audited TweetNaCl using the secrect box function (Sand box: here). At rest the secret box will be stored by iOS Keychain and on Android Facebook's Conceal.

It also includes a seed generator that is using SJCL's random-words.

Technology

Security

For more info on security go here

Features - V0.1

As specificed in the bounty it will have the following functions:

  • Seed
    • Generate Seed
    • Hydrate a pre-exisiting seed
  • Send Transfer
    • Specify amount
    • Specify address
    • Attach to tangle
  • Receive Transfer
    • Get latest confirmed balance
    • Display all pending transfers
  • Generate New Address
    • Show QR code for that
  • Settings
    • Change node address
  • Security
    • Integrate into Native Keystores
    • Encrypt seed in secure box
    • Destory memory on Background

Structure

The applicaiton is structured in the following way:


--- app -- components // Smaller react components for use in routes
	 | --- libs 	  // Crypto, Remember Me, & Redux Store 
	 | --- routes	  // Application routes
	 | --- assets	  // Images and assets
	 | --- actions	  // Application Actions (Redux)
	 | --- reducers	  // Application Reducers (Redux)
	 | --- entry.js   // Entry point for the application

Setup

git clone https://github.com/l3wi/iotaMobile.git 	//clone the repo

cd iotaMobile  						// CD into directory

npm install -g react-native-cli yarn 			// Install Yarn and ReactNative CLI 

yarn  							// Install Deps

react-native run-ios  					// Launch emulator and start bundler

// PS: If simulator has an error. Make sure to Debug JS remotely (Press CMD + D)

License

MIT 2017 - Lewis Freiberg

iotamobile's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iotamobile's Issues

"Attach to Tangle" dissapears after switching tabs

Following Process:

"Receive Tab" - "press Generate Address" - "switch to Transaction Tab" - "switch to Receive Tab"

When I press "Generate Address" the button switches to "Attach to Tangle". After switching
to Transaction Tab and switching back to Receive Tab the Button is now "Generate Address" again
although generating the Address is not finished yet. When the generation is finished there is still the button "Generate Address".

That means I can not attach the Address that I just generated to the tangle? Anyone else experiencing the same issue?

iPhone 5s iOS 10.3.3

RFC: IOTA URI scheme

Hi!

I've just published a proposal for an "iota:" URI scheme. As this is directly related to IOTA clients, I'm reaching out to developers of all wallet apps to get your input and feedback on the proposal.

joakim/iota-uri-scheme

The text is based on BIP21 for BitCoin (the "bitcoin:" URI scheme), but I have put some effort into tailoring it for IOTA, while trying to keep it as simple as possible.

It's still very much a draft. There are some issues that I hope you'll be interested in sharing your input on, and you're of course welcome to open new issues if you see any problems or shortcomings with the spec.

joakim/iota-uri-scheme/issues

Edit: Just realized this project has stalled..

Not loading balance on startup, but loads it later

My steps:

  1. Create a wallet on iota-wallet.org. Transfer 1 iota into it.
  2. Open iotaMobile for the first time. Enter the seed that I used at iota-wallet.
  3. iotaMobile shows no balance. It does show the 0i transaction at attachment.
  4. Go to Receive and generate a few addresses and attach them. No change. All of this happened over the space of a day or so.
  5. Go to iota-wallet and open the wallet. It shows the 4 0i transactions that I have generated with iotaMobile.
  6. Delete the seed from iotaMobile and clear the database.
  7. Open a new wallet using the same seed.

The result is that the 1i balance showed up, along with the old 0i transactions.

Request: save generated seed to the clipboard

When generating a seed in the app, the user should be able to copy it to the clipboard so that it can be pasted not only into the app itself for the wallet to be loaded, but to something such as Notes so that they can use the same seed on their desktop if they wish.

Request: ability to save QR code to Camera Roll

Once QR scanning is implemented, it would be easy for users to send a picture of their QR code in an email or text, or possibly tweet it from the Share menu. This could also just be accomplished by taking a screenshot as well.

IOTAmobile 1.0

Sorry, not sure this is the right place for issues? i seem to have inadvertently clicked on load new wallet without saving my seed. does this mean that i have lost my wallet or is there a way to get it back?

Thanks,
Jay

Denying access to the camera after clicking the QR icon crashes the app

I think the title says most of it. To reproduce.

  • open the app and login
  • select 'send'
  • if it's the first time the app is requesting permission to access the camera
    -- click the QR icon
    -- deny access and the app crashes
  • if it's the permission to access the camera has already been denied
    -- click the QR icon and the app crashes

I believe to temporarily solve this someone would need to remove and install the app again. I have not tried that myself tho.

Expected behaviour:

  • the app should be able to handle permissions and gracefully report the user what to do in case access to the camera has been denied.

On an iPhone 5/5s/SE sized phone, the 'repeat password' field is covered by the keyboard

Steps to reproduce:

  • open the app and tap 'load new wallet'
  • tap on 'repeat password' (or 'enter seed' and 'enter a complex password' first, but it's not necessary)

Result:

  • the 'repeat password' field is hidden by the system keyboard, as per screenshot. Typing would insert the password in the field, but the user experience is not optimal.

Intended result:

  • the page should probably scroll up a little, allowing the user to see what's being typed in the 'repeat password' field.

img_0245

Show previously generates addresses also in transactions

Lewis Freiberg [15:55]
Yes. At the moment I don’t show generated addresses, only the latest one.
This stops users from reusing addresses which can be bad

Tom B. [15:57]
Sure, I usually generate a bunch, wait until they are confirmed, and then use them one-by-one (with the Light Wallet). So this procedure can't be done with the IOTAmobile app right now?!?

Lewis Freiberg [15:57]
No

Input validation for tryte forms.

Need to validate:

Seed Entry

  • Validate trytes
  • Length
  • Uppercase

Password Entry

  • Length > 8

Send Address Entry

  • Validate Address

Message entry

  • Validate trytes
  • Length
  • Uppercase

Right side drawer should utilised

you know when you swipe to the right you open up the tools menu, i have this urge to swipe left to see what pops out.
so instead of nothing, i think we can ultilise that area for an address book with lists of addresses and corresponding alias, when you tap the address it will be copied into clipboard, and a button on top that adds new address with qr scanner.

Sort of like a rolodex of addresses with a QR scanner. Add, edit and delete addresses.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.