Skip to content

Commit

Permalink
Major update (#123)
Browse files Browse the repository at this point in the history
* add disclaimer screen

* update dashboard and bottom nav

* fmtJson, sort json tl

* lint, fmtJson

* handle not allowed QR code scan on iOS. Fixes #7

* use device theme on initial start. Fixes #105

* update disclaimer screen

* update action btns component

* add TODOs

* remove commented code

* fix plural tl

* fix coin selection padding issue

* update contact list circle component styling

* update contact entry styling

* update circle container styling

* update keyboard avoiding view

* add safeAreaView for iOS bottom container

* iOS useSafeAreaInsets

* iOS useSafeAreaInsets

* not able to fix test

* fix scan QR code on iOS. Fixes #7

* update global color obj

* handle missing promise rejections in app..tsx

* add more safeAreaView for iOS

* update

* add safeAreaView insets on proofs list

* fix flashlist scroll

* more safeAreaView

* add selectAmountScreen

* add selectMint screen

* add Processing screen

* add processingError screen

* update var name _mintUrl to _testmintUrl

* update

* update invoice nav params

* update invoice nav params

* add select target screen for melting

* start updating the ux in melting process

* improve code and UX for melting to lnurl

* lint

* add lnurl/invoice input screen

* auto-focus input field

* open LN wallet

* add toaster to input field screen

* update

* update melt input field screen

* Rename selectTarget.tsx to SelectTarget.tsx

* update melting screen using input field

* check if invoice expired

* update

* handle user pastes invoice using the keyboard

* update loading container

* clean up dashboard screen

* update dashboard

* avoid duplicated store calls in mint selection

* add noMints, allMintsEmpty for melting screen

* start ux update of ecash sending

* update send ecash ux

* update QR scan process, fix few ios layouts

* add outgoing payment overview

* change intermint swap to multimint-swap

* multimint-swap coinSelection, clean up

* update styling and minor fixes

* add missing memo screen

* add custom txtInput component

* add custom txtInput component

* create main screen container component, cleanup

* update coin selection components

* Move ErrorScreen into folder Screens

* fix ref forwarding and import cycle

* update mint list screen

* update mint management screen

* fix contact unhandled promise rejection

* update disclaimer screen

* update dashboard

* update history entry styling

* claim unspent token from history entry

* add some button icons and txt hints

* fix tl amount claimed from history details

* update light theme colors

* update success screen

* fix ios layout issue in payment screens

* fix ios layout issue in payment screens

* addfrontend 4 advanced settings (request timeout)

* start update of nav component

* update navigation component

* add nav to container component

* update container component

* set axios default timeout

* update processing error screen layout

* update light theme and icons

* lint, sort tl, update formatMintUrl

* sort tl

* update bottom nav txt on active screen

* update QR scanner screen

* update formatMintUrl

* update auth screen

* handle getCurrentKeysetIds bad response

* remove plus icon from add button

* remove icon from send/receive options

* update dashboard design

* update pin screen

* add global object with STORE_KEYS references

* clean up and add initial explainer screen

* update disclaimer tl

* update dashboard components

* lint, use promiseAll on app init

* add nostr-tools and nostr util

* add nostr profile with npub

* nostr profile

* start relay setup

* test

* Send Ecash over NOSTR (#121)

* add dummy relay class

* dummy contactlist inView handler

* test

* get metadata from contacts in viewport

* get and save user relays

* generate sk

* fix contacts state, show relay count

* show user about section

* update nostr profiles

* update list styling

* err: cannot read property 'importkey' of undefined

* add comments

* test encrypt dm

* test

* test

* test

* send token

* add method dropAllData

* update sender msg

* update sender msg

* send ecash via nostr from dashboard

* add user profile component

* also accept hex input as npub

* add missing translations

* close prompt onPress

* fix missing vars by reclaiming from history

* add back btn in contact list screen while payment

* update ecash payment proces based on user contacts

* remove old contact context

* 0.0.1-beta

* fix nostr contact sync

* update userProfile box and fix modal opening

* send ecash from contact profile screen

* update contact screen

* make profile links pressable

* update contact list for payments

* dont truncate lnurl if it is a payment recipient

* fix spelling and translations

* fix dashboard balance linebreaking

* update toaster component

* update dashboard receiving options

* update options component

* update viewabilityConfig

* add nostr gif in processing nostr tx screen

* add privacy settings, hide balance option

* add nostr context, claim nostr dm screen layout

* top up a mint after adding it

* decrypt and check dm for incoming cashu token

* claim ecash nostr, clean up the usePrompt usage

* add binary search

* add small doc for combined bnary search method

* rename to binaryInsert

* update docs for binarySearchAndInsert method

* clean up theme context

* clean up nostr context

* clean up context usage

* clean up privacy context

* refactored all context providers

* update prompt context, add proper timer handling

* fix mint info

* show topup modal after adding new mint

* update disclaimer version

* disable nav btns if screen is focused

* clean up app component

* fix back from mints screen after minting token

* update nostr messages screen name

* update proofs screen layout

* fix screen name on sending ecash

* update nostr contact row onpress

* use only latest profile data

* more screen folder out of components folder

* format int in payment overview screen

* show sender metadata in nostr msg screen

* add mints option to settings

* disable send button while no balance or no mints

* add missing translations, remove todos done

* fix auth

* fix pin auth flow

* show nostr payment method if user has npub

* update splash screen

* update readme image

* update readme

* update readme

* update readme

* update readme

* update nostr nav params interface

* update contact screen

* add nostr todo

* expo update deps

* update payment overview btn text

* update spelling in prompt var.

* update checking fees for multimint swap

* update invoice screen for special case

* add a clipboard helper

* add a clipboard helper

* add a simple clipboard copy state hook

* add a Copy component

* update

* comment out unused nostr global consts

* improve maintainability of translation namespaces

* make theme and colors type-safe

* update

* update TODOs

* fix fee estimation for multimint swap

* wrap est. fee in try catch

* update ZapIcon styling, update mint funds overview

* fix missing DE TL

* improve UX in nostr dms

* add missing translation

* make claim prompt more readable

* avoid an empty array of pubKeys in nostr DM screen
  • Loading branch information
KKA11010 authored Aug 17, 2023
1 parent 6ff878c commit c11757d
Show file tree
Hide file tree
Showing 164 changed files with 12,559 additions and 8,791 deletions.
13 changes: 10 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-var-requires": "off"
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-duplicate-type-constituents": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off"
}
},
{
Expand All @@ -68,7 +72,11 @@
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-var-requires": "off"
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-duplicate-type-constituents": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off"
}
}
],
Expand Down Expand Up @@ -101,7 +109,6 @@
"deprecate",
"node",
"import",
"compat",
"@getify/proper-arrows",
"eslint-plugin",
"eslint-plugin-tsdoc",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">
<p>
<img src="https://i.imgur.com/EI7Uvg1.jpeg">
<img src="https://i.imgur.com/yVlwtmz.jpeg">
</p>
<h2>A Cashu wallet for Android and iOS</h2>
<h2>eNuts – A Cashu wallet for Android and iOS</h2>
<div style="display: flex; align-items: center; justify-content: center">

[![codecov](https://codecov.io/gh/cashubtc/eNuts/branch/main/graph/badge.svg?token=MGBC95KGHQ)](https://codecov.io/gh/cashubtc/eNuts)
Expand All @@ -14,7 +14,7 @@
</div>

<!-- <a href="cashu://cashuAeyJ0b2tlbiI6W3sicHJvb2ZzIjpbeyJpZCI6InVUWTFBTE5ZZmQ2ZyIsImFtb3VudCI6MSwic2VjcmV0IjoiRnRIL2EvWUppMGtPVHAvL2R0UkxHcFk2Mjl1VzcxNHBQZE1YZmJTRTFmQT0iLCJDIjoiMDJhZTg2ZWZjODk1OWZiYmU2MzUyM2NiMGVjMDY2MDMzOGNiZjAwNDUxZmFhNTYyNDQ2NGYxNDQ0Zjc4ODhiMDFhIn0seyJpZCI6InVUWTFBTE5ZZmQ2ZyIsImFtb3VudCI6NCwic2VjcmV0IjoiS3lJTDRrOWtNZkhrMjdQeER4MGFBV3E0Qk9RMWZUYzc3RmRjdG1sZVNFRT0iLCJDIjoiMDNiYWNjMjU3ZDFlYmRlNWQ0OThiOTQxNzZkZTFlNmEyYWM5Y2I0Njg4MjYwZDJkMjE1NzU3NWFkYTM1ODFmMjQyIn0seyJpZCI6InVUWTFBTE5ZZmQ2ZyIsImFtb3VudCI6NjQsInNlY3JldCI6IjZoYmptak1ZT01LMVpaS0pmek1LR0NjeXM3TEpUeE9MQ3p2VmJSZ1dqZ289IiwiQyI6IjAyODkwMTk5ODIyOTY4YzM1NWZlZDgzOTBkMDQxOWU2MjY3MjBlNWQ1NjQzMzNjYzRlOGQyOWM2NzdjZDA1MGM1NSJ9XSwibWludCI6Imh0dHBzOi8vdGVzdG51dC5jYXNodS5zcGFjZSJ9XX0"> token</a> -->
eNuts is a strictly typed mobile [**Cashu**](https://github.com/cashubtc) wallet that has Lightning support and can connect to multiple mints. This project uses the [**cashu-ts**](https://github.com/cashubtc/cashu-ts) library and manages proofs using SQLite. We aim to provide a great user experience by implementing features that make the usage of Ecash easier and safer at the same time. This project is in early stage and we strongly encourage you to exercise caution and only use it for **experimental** or **educational** purposes. Read more about Cashu at [https://docs.cashu.space/](https://docs.cashu.space/)
**eNuts** is a strictly typed mobile [**Cashu**](https://github.com/cashubtc) wallet that has Lightning support and can connect to multiple mints. A [**NOSTR**](https://nostr-resources.com/) integration allows seemless transactions between you and your contacts. We aim to provide a great user experience by implementing features that make the usage of Ecash easier and safer at the same time. The [**cashu-ts**](https://github.com/cashubtc/cashu-ts) library and SQLite are used to manage the Cashu related features. This project is in early stage and we **strongly** encourage you to exercise caution and only use it for **experimental** or **educational** purposes. Read more about Cashu at [https://docs.cashu.space/](https://docs.cashu.space/)

## Contents

Expand Down
Binary file added assets/nostr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/nostrGif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
583 changes: 337 additions & 246 deletions assets/translations/de.json

Large diffs are not rendered by default.

Loading

0 comments on commit c11757d

Please sign in to comment.