-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: 7683 demo #16
base: canary
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for t1-canary-bridge ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@evchip can we please add a text box on top for me to write a description of what's going on Browser metadata
|
Done @cankisagun |
src/app/7683/Send/OrderEncoder.tsx
Outdated
amountIn: "1000000000000000000", | ||
amountOut: "1000000000000000000", | ||
senderNonce: Math.floor(Math.random() * 100000), | ||
originDomain: "11155111", // Sepolia |
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.
we can use NEXT_PUBLIC_CHAIN_ID_L1
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.
fixed, thx
src/app/7683/Send/OrderEncoder.tsx
Outdated
amountOut: "1000000000000000000", | ||
senderNonce: Math.floor(Math.random() * 100000), | ||
originDomain: "11155111", // Sepolia | ||
destinationDomain: "3151908", // t1 devnet |
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.
here too NEXT_PUBLIC_CHAIN_ID_L2
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.
fixed, thx
src/app/7683/Send/OrderEncoder.tsx
Outdated
title="Open Intent" | ||
action={ | ||
<a | ||
href="https://sepolia.etherscan.io/address/0xcE90091836B14D1Ebc50d860E5e080Ea1465627b#writeProxyContract#F5" |
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.
lets move 0xcE90091836B14D1Ebc50d860E5e080Ea1465627b to a constant defined on top, or if we are going serious, lets move it to .env
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.
fixed, thx
src/app/7683/Send/OrderEncoder.tsx
Outdated
title="Fill Intent" | ||
action={ | ||
<a | ||
href="https://explorer.devnet.t1protocol.com/address/0x16222661ff15e823b90f63024Eb891C7d30dc21b?tab=read_write_proxy&source_address=0x1D0dBA3F23Bf0b2653a23363245528635dDe0eaA#0x82e2c43f" |
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.
same here
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.
ok i see now there are quite a few, i wont comment on them all to prevent repeated comments x)
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.
fixed, thx
src/app/7683/page.tsx
Outdated
}, []) | ||
|
||
useEffect(() => { | ||
if (txType === "Deposit") { |
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.
i see we have this, does it mean we have to make OrderEncoder dynamic in the future?
Understand its just a quick demo hacked together, but just putting it as a comment as a reminder
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.
This was erroneously copied from the bridge component. I'll delete it.
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.
removed, thx
I think @cankisagun wanted this to be a non-input text field with some copy that he'd provide, to guide the user. |
PR Summary
Contains 7683 demo data encoding and links to block explorers. Should be ripped out after ETH Denver. This document provides additional context.
Checklist
/docs