sednaoui / candide Goto Github PK
View Code? Open in Web Editor NEWEOA wallet w/ cross-network bridge support for instant transactions
EOA wallet w/ cross-network bridge support for instant transactions
The daap will need to be able to transaction with our wallet without:
The daap could be any of the following or other:
When confirming a transaction, a user needs to add their password to decrypt their wallet and sign. Currently, the wallet does not display a message if the password is wrong. We would want display a message to the user and ask them to reattempt to enter their password without closing the modal
Wallet expects a bignumber in value, but instead receives ??
โ invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.5.0)
Setup up branch to get started.
Have walletconnect as our main connection with daaps. This is task will be divided into a fewer smaller tasks:
using react-boostrap progress bar to create a step bar to show progress and steps during multi-transactions (cross-rollup transfers with Hop).
good css can be found here: https://pierreericgarcia.github.io/react-step-progress-bar/examples
Not all future collaborators may know a lot or about crypto and things of the sort. Trying to learn it from scratch is time consuming and not all information out there could be useful to the current project.
Create a knowledge base (KB) to gather meanings and information relevant to the project in a concise way. We can use github's Wiki feature to create this project knowledge base, but this won't be available to free private repositories. It will be necessary to create another repo and enable the wiki for free use.
Right now we have about three folders inside de project, and its not easy to understand what is the purpose of each folder.
Remove unnecessary folders or specify in the README what is he purpose of each folder.
need to replace alchemy get token balance because it only works on mainnet. We want to support at least mainnet and 2 other evm chains with their respective tests nets. Options from below:
Should we change provider? What should we use?
To improve better collaboration, it would be helpful to have listed in the README of the project what has been done so far because it will help to decide where to go next , and to help collaborators to understand the project and its progression.
Create a well defined list of already implemented functionalities and the current state of the app. The more detailed the better.
provider is passed on top of the app, so it does not refresh if network is changed from a child react component. Should we force refresh the whole react app? how to best to do?
Currently, we use the Hop Bridge to move only ETH through optimism, mainnet and arbitrum.
Candide/wallet/src/app/store/wallet/saga.ts
Line 401 in 59abe61
We would like to create a FungibleAsset
variable that is chosen on the front end from a dropdown from the assets that Hop Bridge supports. Hop currently supports DAI, USDC, USDT, and MATIC on top of ETH.
In order to spend any of the above ERC-20s, users must approve their EOA to be spend the following amount (or max) and sign a transaction. We would need to implement this approval transaction to pop up before bridging one.
A better way to do this is to actually know which assets is being moved through the transaction. But we would need to implement a transaction decoder.
Quixotic supports pagination when fetching assets from an account
since we are moving to walletconnect, we won't be using any browser API methods. Will be using a basic react-scripts base package with a few modification needed to work as an extension
Zapper Account Balance endpoint:
Currently Candide uses Zapper V1 to check for account balances on V1 for mainnet, optimism and arbitrum. The returned balance only returns ETH at the moment. The goal is to migrate to v2, and display ERC-20s as well (since the new endpoints also displays erc-20s). The balances are shown by network, and not across all networks.
Candide/wallet/src/lib/zapper/index.ts
Line 12 in 59abe61
after each transaction signed or submited, we display the hash and link it to the respective block explorer. However, transaction signing does not submit a transaction to the blockchain, and thus we should not display any link after that case.
For some reason, the first connection that happens on Uniswap, uniswap does not display a balance of a user's wallet. This could be an issue with walletconnect. So I would investigate with different wallets first, then see how to solve this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.