Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev-17-01-2024-v-1-1-0 #98

Merged
merged 31 commits into from
Jan 17, 2024
Merged

Dev-17-01-2024-v-1-1-0 #98

merged 31 commits into from
Jan 17, 2024

Conversation

owlsua
Copy link
Collaborator

@owlsua owlsua commented Jan 17, 2024

💬 Description

Dev into main 17-01-2024

More

  • Entropy generation
  • Testnet mode
  • Mintlayer wallet
  • Bug fixes and improvements

📋 Checklist:

  • I have named my branch as A-[id of Asana task]
  • I have set the title of my PR as A-[id of Asana task]: [short description]
  • My changes passed successfully by prettier check
  • My changes passed successfully by lint check
  • My changes kept the previous test coverage rate
  • I have added enough tests for my new feature/bugfix
  • I have set at least one person to review this PR
  • I have set myself as the assignee of this PR
  • I have set at least one label to this PR

owlsua and others added 28 commits March 14, 2023 12:25
* adds a step for entropy when creating an account, fix a tests

* adds a step for entropy for restoring account, fix a tests

* add entropy description

Signed-off-by: owlsua <[email protected]>

* adds jest-canvas-mock library, additional settings for using konova

* add Drawing board to generate entropy

* add new packages and settings for testing

* add unit tests for DrawingBoard

* add unit tests for Entropy

* add Entropy to the restore account process

* typo fix

* add entropy-generator library, connect the drawing data with the entropy generation

* remove drawing board from the restore account

* add Array helpers

* changes the mnemonics generation function, unit test improvements

* use the entropy generated on the wallet creation

* adds a separate error component

* add validation for Entropy

* Drawing board styles fix, entropy validation improvements

* additional unit tests for the Drawing board

* add utin tests for Array helpers

* styles fix for ProgressTracker

* adds e2e tests for entropy generation, unit tests improvements

* additional tests and fixes

* adds entropy-generator library via npm

---------

Signed-off-by: owlsua <[email protected]>
* feat: rename RadioButton to OptionButton add multiple mode

* feat: add walletList

* feat: add new step to account creation

* test: e2e tests improvements

* test: add unit tests

* chore: remove unnecessary code, some fixes
* feat: replace coming soon with connect button

* feat: add password's popup

* chore: remove console.log, typo fix

* chore: typo fix

* feat: add settings context, improvements for add wallet button

* feat: add toggle

* test: add unit tests for the Toggle

* feat: add settings button

* test: test improvements for the Header

* feat: add settings testnet section

* test: add unit tests for the SettingsTestnet

* feat: add settings page

* feat: add Logo

* test: add unit tests for the Logo

* feat: import new Logo to the Header

* test: unit tests improvements

* test: unit test improvements
* feat: add ml round logo

* feat: add new useMlWalletInfo hook

* feat: update Balance component

* feat: update FeeField component

* feat: update CryptoList component

* feat: context update

* feat: add Ml data to the useExchangeRates and useOneDayAgoExchangeRates hooks

* feat: add new BTC helpers

* feat: update Wallet

* feat: update SendTransaction

* feat: update Dashboard

* test: update unit tests

* feat: update address and fee field

* chore: remove console log

* feat: remove fiat from the Dashboard if testnet

* feat: remove fiat from the Wallet and Transaction if testnet

* test: update unit tests

* chore: typo fix

* chore: change feeType if ML, add TODO comments
* feat: add Mintlayer API

* test: add unit tests for the Mintlayer API

* feat: add mintlayer server env

* chore: add TODO comments to the useMlWalletInfo hook
* feat: update env

* feat: add generation of both testnet and mainnet addresses

* feat: update account context

* feat: update services and helpers

* feat: use new wallet list in the application

* chore: small fixes in the other components

* test: add localStorage mock

* test: update unit tests
* feat: add new transaction details link

* chore: className fix
* feat: add localStorage service

* feat: add networkType entity

* feat: add new method for account update

* feat: update account entity with updateAccount function, ability to save and generate different addresses for an account

* feat: update CreateAccount page and component with a new data

* feat: update Dashboard to have a multiple wallets

* refactor: updating existing components with new services, entities and constants

* refactor: change tryServers and getNetwork functions to use networkType from LocalStorageService

* test: add new and improve existing unit tests
* feat: update env with new Mintlaer API servers

* feat: update AppInfo with new constant

* feat: update Mintlayer API service with balance data

* feat: update useMlWalletInfo hookd with balance data

* test: add unit tests for the new API data

* chore: changes the naming of the coins according to the core node

* test: BTC transaction tests fix

* chore: remove ML mainnet API addresses from the env
* feat: update db to support ml wallet info

* feat: create migration

* chore: update mintlayer lib

* feat: update Mintlayer crypto services with new functions from lib

* feat: update account with ml data

* feat: add AddWallet form

* feat: update existing components to show the balace

* chore: typo fix

* test: update existing and add new unit tests
* feat: update mintlayer-lib, add new functions to mintlayer crypto services

* feat: add helpers

* feat: add SkeletonLoader component

* feat: update Account Provider with data loading state

* feat: update Mintlayer api services with transaction data

* feat: update Account serices to generate all wallet addresses

* feat: update useMlWalletInfo hook to use new data

* updates existing components to support the new data structure, add loader when fetching data

* test: update existing and create new unit tests

* feat: add transaction sorting in descending order
* feat: update Mintlayer library, import new functions to the ML Crypto

* feat: update Mintlayer API services with UTXO, Fee and POST Transaction endpoints and fucntions

* feat: update account data

* feat: update app constants

* feat: add ML Transaction helpers

* feat: enable ES2020

* feat: update ML helpers

* feat: update account with ML mainnet data

* feat: update ML services, remove amountInCoins from the wallet balance

* feat: update Account privider with data loading states

* feat: update walletInfo hooks

* feat: upadte Address field validation

* feat: upadte Fee field with message for ML

* feat: add explorer link for the Mintlayer transaction

* feat: update SendTransaction with functions to calculate ML fee and send transaction, refactoring

* refactor: refactoring existing components

* style: update styles

* test: update unit tests

* chore: remove unnecessary TODO

* fix: change privKey depend on network type

* feat: add temporary mainnet address button if Mintlayer exist

* chore: export functions from MLTransaction helper for test

* chore: remove unnecessary comment and gitignore

* style: change toggle background

* chore: change ML address field placeholder, typos fix

* chore: replace MLT with ML across the application

* chore: chage password field label

* test: add unit tests

* feat: add Test to the wallet name if testnet

* refactor: Dashboard refactoring

* chore: replace fee estimates mock with API data

* refactor: move ml address validator to the Helpers

* test: add unit tests
* feat: add unconfirmed transaction, change the way to calculate amount to send

* feat: disable transaction button if unconfirmed transaction in the list

* chore: error message fix
* feat: add validation to avoid using '.' as an amount separator

* chore: fix wallet list title
* feat: disable fee input

* fix: btc fee data fix if testnet

* fix: different accounts showed same ML unconfirmed transactions

* feat: amount field validation improvements

* feat: disable lineChart if testnet

* chore: update year on the copyright

* test: update tests

* update version to the 1.1.0

* chore: remove unnecessary console.log
@owlsua owlsua self-assigned this Jan 17, 2024
@owlsua owlsua merged commit 521e33b into main Jan 17, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant