Skip to content

Conversation

@blacktoast
Copy link
Contributor

@blacktoast blacktoast commented Dec 23, 2025

Pull Request

Thank you for raising a Pull Request. Please follow the instruction.

  • I’ve read CONTRIBUTING.md and followed the guidelines.

Summary

  • siwe message UI implementation
  • Added test button to reproduce cases where origin and domain of tx-msg differ in Sandbox-evm

Links (Issue References, etc, if there's any)

@blacktoast blacktoast marked this pull request as ready for review December 29, 2025 03:19
Comment on lines +30 to +32
"oko-sandbox-evm": {
path: path.join(paths.root, "sandbox/sandbox_evm"),
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure we need to deploy sandbox_evm to Vercel. What are your thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First, the reason this was added to the current code was that I needed to deploy sandbox_evm for QA purposes.

For EVM features like EIP-712 and SIWE signature UI, using sandbox_evm is definitely more convenient, so I think it could be useful in the future as well.

Copy link
Contributor

@Ryz0nd Ryz0nd Dec 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood

@@ -0,0 +1,35 @@
import type { Theme } from "@oko-wallet/oko-common-ui/theme";

import { OKO_PUBLIC_S3_BUCKET_URL } from "@oko-wallet-attached/requests/endpoints";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using static assets instead of fetching from S3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reasons (actually I don't remember detailed) we store image in S3.
so @eldenpark How about putting it in the codebase instead of S3?

Comment on lines +25 to +32
<picture>
<source srcSet={imageUrl.webp} type="image/webp" />
<img
className={styles.image}
src={imageUrl.png}
alt="sign siwe title image"
/>
</picture>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would also be good to use the newly updated ImageWithAlt component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants