Skip to content

v0.0.7

Compare
Choose a tag to compare
@peterpeterparker peterpeterparker released this 02 Feb 09:12
· 3152 commits to main since this release
c2e0331

Frontend

Features

  • Introduce ckETH and ckBTC support behind a flag, i.e., not available yet on production. Add functionalities including balance, transaction list, transaction details, send, receive, and convert back and forth from Ethereum and Bitcoin respectively.
  • Implement query+update strategy to fetch any ICP and ICRC transactions for security reasons.
  • Make input fields of type amount support decimals according to token - e.g., if Ethereum is selected, allow users to enter up to 18 decimals and not only 8.
  • Keep the selected network when navigating to Settings back and forth.
  • Duplicate "toSelf" ICP and ICRC transactions in case the user transfers to themselves - i.e., display two transactions (from/to) in such cases.
  • Add a link in the menu to manage Internet Identity.
  • Implement a short "Refresh UI" step in ICP and ICRC transfers that tries optimistically to load the new transactions given that the Index canister notices new transactions with a slight delay of a few seconds.
  • Use ICRC textual address as the main wallet address. Present information to explain that for exchanges, the "old" account identifier for ICP might need to be used. Adapt the "Receive" modal accordingly.

Fix

  • Missing base z-index in the usage of gix-cmp leading header actions to be displayed above the backdrop.
  • Do not load ETH data when accessing the ICP transactions page with a direct link.
  • Silence CoinGecko errors. Those are annoying given that they might happen relatively often.
  • Check for insufficient funds for gas on ETH amount input to prevent users from trying to send transactions with insufficient funds.
  • Develop similar balance checks for ICP and ICRCs to proactively prevent users from trying to send transactions that would fail anyway.
  • Hide ERC20 link info on the ICP transactions page.
  • Disable "close" action of modals when a transfer is in progress.

Style

  • Hero pane background colors vary according to the selected network (ICP or ETH).
  • Make the boot time spinner more discreet.
  • Display an inherited mouse cursor when the busy backdrop is displayed.

Refactor

  • Move modules to new dedicated root folders - e.g., /src/eth or /src/icp - in order to better encapsulate their features for maintainability reasons and also to be more future-proof in case one feature or the other should be extracted from the dapp in the future.

Build

  • Configure the new folder structure as aliases.
  • Bump dependencies.
  • Deploy scripts to locally unleash ckBTC and ckETH Ledger, Index, and Minter.