Closed Pitasi closed 1 month ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hey @Pitasi and thank you for opening this pull request! 👋🏼
It looks like you forgot to add a changelog entry for your changes. Make sure to add a changelog entry in the 'CHANGELOG.md' file.
Replace the current SignMethod.Ethereum with an analyzer (CosmWasm contract). The code cleanup in wardend will come in a later PR, for now I'm only adding the contract and fixing SpaceWard to use it.
This initial analyzer version only returns the hash of the unsigned transaction. It's easily extendable to also return some information about the transaction itself.
The address of the contract must be set in the env variables of SpaceWard (we could consider letting users decide which contract they want to use) or sending ethereum transactions will be disabled.
depends on #279
closes #266
Summary by CodeRabbit
New Features
Improvements
SendEth
andMetaMaskRequests
components to useuseEthereumTx
for improved Ethereum transaction handling.useClient
hook for better error handling and status updates.Environment
VITE_WARDEN_ETHEREUM_ANALYZER_CONTRACT
environment variable.Dependencies
axios
package from0.21.4
to0.28.0
with new dependencies.UI/UX
SignatureRequestDialog
component inWalletConnect
for displaying signature request dialogs.