Deposits and withdrawals of RSC on Base #1832
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This draft PR is a follow up to my comment in ResearchHub/issues#63. This code shouldn't be merged. Instead, I'm just sharing that what changes I did to be able to withdraw RSC on Base when running the app locally.
I updated the
WEB3_RSC_ADDRESS
environment variable to have the address of RSC on Base, I used a Base provider URL by Alchemy, and I replaced the ResearchHub hot wallet (https://etherscan.io/address/0x7f57d306a9422ee8175adc25898b1b2ebf1010cb) by another account that had a small amount of ETH and RSC on Base.I then ran the backend and frontend locally, and I was able to withdraw RSC on Base without any problems:
Here is the transaction: https://basescan.org/tx/0xbf612b0ebe2c67048364e3437f45d0345b90f258ad54177892d4c8aaee42a83f