Coder Social home page Coder Social logo

appditto / natrium_wallet_flutter Goto Github PK

View Code? Open in Web Editor NEW
857.0 857.0 324.0 35.98 MB

Natrium - Fast, Robust & Secure NANO Wallet, now written with Flutter.

License: Other

Java 0.31% Ruby 0.41% Objective-C 0.18% Dart 98.64% Shell 0.20% C 0.01% Swift 0.03% Python 0.23%

natrium_wallet_flutter's People

Contributors

appditto avatar bbedward avatar decryptic avatar dnoakes avatar lukasnd avatar militarygradelaxatives avatar tlietz avatar yekta avatar

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  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  avatar  avatar  avatar  avatar

Watchers

 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

natrium_wallet_flutter's Issues

Change Argentine Peso symbol

If an user selects Argentine Peso as currency, Natrium shows 9 pesos and 50 cents as 9,50 €.

Natrium should say $9,50 or 9,50 ars or 9,50 pesos, because € is for other currency.

Any way to keep a 4 digit PIN?

I like 4 digit pin and it seems secure enough for my needs. Is it too outrageous to ask for the option to chose PIN size?

Deeplinking

Preface: I'm not an app developer, so if the answers can be found in the code I do apologise, and I can't find any docs or specs for this.

I see that you've set up deep linking for "nano://" and "xrb://", but I can't find the required path with which to send the recipient address. (e.g. "nano://address/xrb_28383.../quantity/100")

Also, is it possible to go back to the previous activity once a transaction is sent? E.g. a user clicks a web link in a browser, is redirected to Natirum and sends the funds, and is then redirected back to the browser?

P.S. If the OpenCAP alias protocol is enabled, it'd be great to be able to send the alias via the deep links too.

Detect a click in a WebView ?

Hi, how hard would it be to detect a click of a button, let’s say the BrainBlocks one within a Web page and automatically create a send transaction in the wallet ?
This way we could have something like Wechat Pay within the wallet it would be a really good feature
PS : i really love the design of the wallet !

Gitlab Runner VM Advice

Hi Natrium, I was hoping to get your advice on setting up the build server for Gitlab.

We are using an in-house instance of Gitlab CE, and we are having difficulty configuring the build server for the Runner.

Did you configure the build server from scratch? Or did you start with a preconfigured Docker container or image? Could you share any resources that helped you along this process?

Thank you.

Use/Create nano_ prefix account

Hi, i just installed latest Beta from Google Play. The Nano address which was created still use xrb_ Prefix. Should be nano_

Degraded animations in release mode compiled app

Hi guys, I'm sorry to bother you with a problem that's not your, it just involves your app's code. After #40 I have successfully compiled the application using another application ID. What happens now is that in debug builds the animations (like the initial on the welcome screen) display as expected but when I build the app in "release mode" with flutter build apk the animations then seems "degraded", I don't know how to describe it better, you can see a screenshot here. Do you have any clue of what the issue might be?

Thanks in advance

Output block in JSON

Hi,

I think it would be a really good option if we could create block offline and send them to a "processor" which get them by sms and only broadcast them to the network, but it involve may things.

  1. saving the frontier block in localStorage
  2. option to create a block and output it in JSON without broadcasting it if no internet connection and the ability to copy it or send the button "send with"
  3. asking if we save the block in the localstorage or discard it
  4. update frontier block if internet connection is available

this way you can still use Nano with no internet connection

the next step is probably using bluethooth

what do you think ?

MAX button is not working as it should on fiat

MAX button doesn't act properly when the denomination is a fiat currency as oppose to Nano. If you switch to fiat first then tap MAX, it sometimes calculates more Nano than available, and if you tap MAX first then switch to fiat, it calculates a number that is very slightly less than the available Nano.

Local PoW Support

Relying on centralized servers for PoW creates a single point of failure for this wallet. This is a common issue for all wallets right now, but as Natrium growing in popularity, it’s even more important that we address this issue now.

Local PoW should be the default with an option to configure a remote PoW server of your choice. Suggested servers could be recommended or provided as toggle options.

Along similar lines, are there any other centralized dependencies?

Payment Requests

I’d be amazing if Natrium could generate a deeplink payment request in the form of a URL that could be “shared” via the native iOS sharing tool. So you could message however needed and when clicked would instantly open Natrium, or whatever wallet said person is using that supports Nano, with the amount of the payment pre-populated.

It’d be even better if it’s possible to pass a message along with the request (eg. “For tacos last night”).

Slovenian translation updates

apply two minor corrections : What is the max char for the “Load from paper wallet” entry? It says now “Naloži iz papirne” since I was kind of worried the best translation would be too long but maybe it could go through. The best translation for that string would be “Naloži iz papirnate denarnice” so if you could make that correction it would be great. And the other one is regarding the sending window: It should say “Vnesite naslov” instead of “Vnesi naslov” (description send_address_hint in the code)

Clickable Rep. Change Cards

A digital card like already existing share cards but with a URI attached to it. To make it easy to change rep. Just click the link and it takes you to a prefilled change rep sheet.

Natrium is not working on MI 9

It has a snapdragon 855 and previously I was using a 845 one phone that worked fine. Not sure if related, but I can't see a reason

Option for no verification for small amounts.

What about a configurable threshold for amount of NANO that below that there will not be a transaction verification with fingerprint (or other method) before sending it? Would lessen the steps and time of sending an amount from UX point of view.

Implement coinrequest.io support

The folks at coinrequest would like Natrium to support their custom URI as well as have the ability to create their URI as a payment request.

Unique addresses

Since there is an security risk using only a single address for payments, it would be nice if you could generate new unique address for each payment. And then potentially have it automaticly manage the addresses behind the scenes.

This might be a bit too advanced, but I think it's crucial to have later on

Display fiat value while sending transaction

While performing a payment the seller define the amount to be sent in Nano, however while sending the transaction it would be great to be able to double check if the value is really correct (or close enough).

Scanning qrcode does not display amount since last update

I noticed that in the latest update the amount does not get displayed when scanning a qrcode.
This used to work before the last update. I guess it has something to do with the 'Support manta deep link URI scheme' update.

For example, i created a qrcode from this URI scheme:
nano:nano_33smorban34ozbgs5h6xsapdf5rm1ttu4stfdksdt8ywdnd3ynjc717fbjtg?amount=12000000000000000000000000000000

This should display the amount of 12 Nano in the 'send dialog'

qr

But remains empty:

send_dialog

Wallet showing incorrect transactions for account

Hey, I just loaded my wallet today and for some reason after visiting my #2 account, it showed the transaction of my #2 account on my #1 account. Not sure what more information I can provide other than that I am on version 2.0.9.

Please tell me if I can provide any more information!

Publishing the app with another ID for a closed beta test

Hi guys, I'm modifying you nice app to add an alternative payment system to it (manta). Eventually all the code will be open sourced and converted into a PR here but as of now I just want to publish the modified app as a "closed" beta on google play. To do that, I need to change the app's ID to something else but then the build system starts complaining about missing firebase account so I wanted to ask you a few questions:

  • is possible to change the id but keep using your firebase acoount?
  • is firebase really mandatory to run the app?
  • i'm not an expert on the matter, what's its role? I see the "server" app but it's unclear to me what's the purpose of the firebase. is it "just" to update currency conversion rates?

More generally, what you advise me to do? I'm open to suggestions, thanks

Slovenian translation updates #2

After thorough usage I would like to correct some minor issues of some translated words/sentences for better understanding and consistency.

Change of the word "Malo" to "nekaj":

"exampleCardLittle": "nekaj",
"@exampleCardLittle": {
"description": "example_card_little",
"type": "text",
"placeholders": {}

Change of the word "Veliko" to "več":

"exampleCardLot": "več",
"@exampleCardLot": {
"description": "example_card_lot",
"type": "text",
"placeholders": {}

Change of the word "Vnesi" to "Vnesite":

"pinEnterTitle": "Vnesite PIN",
"@pinEnterTitle": {
"description": "pin_enter_title",
"type": "text",
"placeholders": {}

Change of the word "Vnesi" to "Vnesite":

"unlockPin": "Vnesite PIN za odklep Kalium",
"@unlockPin": {
"description": "unlock_kalium_pin",
"type": "text",
"placeholders": {}

Change of the word "Vnesi" to "Vnesite":

"pinSeedBackup": "Vnesite PIN za shranitev ključa",
"@pinSeedBackup": {
"description": "settings_pin_title",
"type": "text",
"placeholders": {}

Change of the word "papirne" to "papirnate" and "Pritisni" to "Pritisnite":

"transferIntro": "Postopek bo prenesel znesek iz papirnate denarnice v vašo Kalium denarnico.\n\nPritisnite "%1" gumb za začetek.",

Thank you very much!

check balance of my nitrium wallet

Hello, I have a wallet of Android apps and want to know if I could check the balance elsewhere, like a bot I own? I want to check this out by typing a command to bot, but I can't find any API to do this on the wallet home page.

Amount in deep link not working

Using this link : xrb:xrb_1natrium1o3z5519ifou7xii8crpxpk8y65qmkih8e8bpsjri651oza8imdd?amount=1

Or

xrb:nano_1natrium1o3z5519ifou7xii8crpxpk8y65qmkih8e8bpsjri651oza8imdd?amount=1

It doesn’t fill the amount

On IOS

Have a great day 😇

Revamped Representative System

In the interests of keeping a healthy, decentralized nano network. There are some things that can be done in Natrium to aid the process. Especially with its growing popularity.

Ideas:

  • A notification when a representative has more than 3-5% of the voting weight
  • An easy menu in change representative screen that lets you change rep in one-tap
  • Unlockable theme or disabled themes for bad reps?
  • Potentially change default rep selection to be random

flutter run and flutter build apk not working

Hi,

i cloned and run flutter run and flutter build apk using VSC but got black screen in both device and android emulator.

and there are some error messages but i am not sure if they are the causes.

E/flutter ( 7010): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: ServicesBinding.defaultBinaryMessenger was accessed before the binding was initialized.

E/FlutterFcmService(29526): Fatal: failed to find callback

Option to add a short message to a payment

It would be nice if there would be an option to add a short message (reference) to an transaction (Natrium to Natrium). Like "Thanks for the nice diner".
That way the receiver knows why he received the payment.

Getting error from gradle when run on android

First of all, thanks for sharing such nice flutter project with us.

I have a problem to run this project on android. Every was fine on iOS.
The error is shown as below.

  • Error running Gradle:
    ProcessException: Process "/Users/mac/shopping/natrium_wallet_flutter/android/gradlew" exited abnormally:

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/mac/shopping/natrium_wallet_flutter/android/app/build.gradle' line: 65

  • What went wrong:
    A problem occurred evaluating project ':app'.

path may not be null or empty string. path='null'

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s
Command: /Users/mac/shopping/natrium_wallet_flutter/android/gradlew app:properties

Please review your Gradle project setup in the android/ folder.

Besides that, I still found this 'Cannot resolve symbol GradleException' in Android studio like the picture below.
Screen Shot 2019-03-27 at 5 25 22 PM

Looking for help with this. thx

Version solved failed

Running "flutter packages get" in natrium_wallet_flutter-master...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.

Because natrium_wallet_flutter depends on json_serializable >=2.1.0 which requires SDK version >=2.1.1 <3.0.0, version solving failed.

pub get failed (1)
Process finished with exit code 1

Can you inform me which flutter channel was using I am getting the same issue over and over again I am on Stable channel of Flutter Is there any fix available for this??

Import more accounts from seed

I can import main account from seed.
But adding more accounts do not have the same import from seed and address is generated.

Please add import from seed on additional accounts.

Default language shows English instead of Dutch

So I need to set it manually to dutch. If I choose "system default" it goes back to English.
On current Kalium it's working fine. But not on Natrium anymore.

Default language on my Galaxy S10 is set to Dutch.

Animation pauses while sending

This is a minor, cosmetic bug. The little animation of blocks flowing away from the user that happens while sending, gets paused, and then resumes. Since the animation is meant to illustrate to the user that sending is happening, it's not really doing a good job. It worked fine in old Natrium. If it can't be fixed, could it simply be removed?

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.