-
Notifications
You must be signed in to change notification settings - Fork 44
Conversation
Request: could you guys help me to merge the breaking changes introduced lately? I tried not to touch too much of the codebase, so I hope it will not be too painful to merge |
Yeah, let's just put it into a new repository, under the same name as you have (alephium-walletconnect) or just "walletconnect" since everything is already scoped under the alephium org/user (I would prefer the latter) |
Is this now stale? #238 |
Yes, it is. Closed now. |
@polarker could you please rebase so that the conflicts are solved, before I proceed with reviewing? You know best what changes you made. If I was to do the rebase, I'd first need to go through the 2K LOC, understand them, and then rebase :) |
It's hard to rebase now, as it includes many changes from both me and Lee. Merging master to this PR (i.e. applying master changes to this PR) seems to be more convenient. If we follow this path, it will be easier to do by your guys. Edit: here is the steps to merge all of the latest changes:
|
In my opinion, |
If you prefer rebasing please help me do it. This touches changes by Lee and by you, and I don't have the time to do it. Edit: no force push is needed. We use this approach for months. Again, I am not trying to recommend anything. Btw, do you guys review rebase & force push btw? We use |
We make sure the feature branch is rebased on master, we review the new additions, and we merge. |
I'll test your PR to make sure it works, then I'll rebase and test again, making sure I didn't breaking anything, and if everything works as expected, I'll force push here. |
I removed the comments, as it's out of topic. Each repo uses its own approach.
|
9b006c0
to
f9c918d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for great improvements ❤️ @nop33
Build is failing because of #204 (comment) Investigating... |
because I wanted to specify that the |
While I get your motivation, it's not really possible to use an arbitrary string in my code. Here are the errors when I replace
I am totally fine with your solution. |
As we have seen, Walletconnect is very fragile and it's easy to get strange errors when playing with the voting demo. Let's start to improve Walletconnect on the following aspects:
@mvaivre @LeeAlephium Is it possible to work on these topics with high priority? |
@polarker In order to prepare for the hard fork and the onboarding of new developers, we planned to develop a set of little showcase dApps. This is the best way to test our stack, complete the documentation and identify the bugs. So YES, definitely, getting Walletconnect to work flawlessly is mandatory and is still considered highest priority (if not bug-free, then the task isn't done). @LeeAlephium I'm pretty sure that you agree with that :) Let's improve WalletConnect following Cheng's feedback, and once it's running wallet, let's dev some dApps, shall we? 🚀 |
Awesome. Looking forward to it 🚀 Let's all build dApps 😃 |
I'll do it alongside working on a small dapp because the voting-demo is just too hacked together at this point... Is that ok? Yeah, these errors which make everything explode should not be possible. I spent a couple days when I was working on WalletConnect on trying to catch these but I just couldn't figure it out. A smaller project will make this much easier to dissect... |
Sounds good to me. The voting demo is too heavy. |
FYI I've started looking into simplifying the UI. Specifically:
|
Agree. We could remove the two contract-related tx buttons completely. I had them there so I could test them without using |
I could add an option in the settings, like "Show developers tools", which would make the contract item visible in the navbar. WDYT? |
Looks great to me! |
@mvaivre Could you help to add this Devnet setting? This will make it easier to interact with our Devnet stack.
|
@polarker this was already updated by me last week. See here: https://github.com/alephium/desktop-wallet/blob/cheng-walletconnect/src/utils/settings.ts#L59-L64 |
Co-authored-by: Ilias Trichopoulos <hlias.nop@gmail.com>
4c75fbc
to
f049c26
Compare
So, let's revert back to This PR is assigned to the |
Fix call script with tokens
In this PR, I migrate @LeeAlephium 's previous work to the new walletconnect protocol: https://github.com/alephium-web3/alephium-walletconnect
------- Walletconnect Protocol
As you could see from the commit history
alephium-walletconnect
, I started from @LeeAlephium 's initial work but ended up changing almost everything. I think it's better to push it to a new repo underalephium
or keep it underalephium-web3
.------- Desktop Integration
There are a few stuff to improve from my PR:
signHexString
andsignMessage
, but the priority is low.