Skip to content

Commit

Permalink
update flow for EdgeEVM withdrawal (#68)
Browse files Browse the repository at this point in the history
* Update flow for EVM withdrawal

* Improve withdrawal step processing

* Add typecheck command

* Simplify 1st step of withdrawal

* Improve final withdrawal step

* Fix missing target="_blank" attribute
  • Loading branch information
johny authored Aug 10, 2023
1 parent 24582f6 commit 75a1a42
Show file tree
Hide file tree
Showing 8 changed files with 365 additions and 115 deletions.
2 changes: 1 addition & 1 deletion components/common/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const Button = ({ children, href, colorStyle, sizing, ...restProps }: But
},
colorStyles: {
primary:
'bg-primary-500 text-white hover:bg-primary-600 hover:text-white active:bg-primary-700 active:text-white',
'bg-primary-500 text-white hover:bg-primary-600 hover:text-white active:bg-primary-700 active:text-white disabled:bg-primary-700',
grey: 'bg-grey-800 text-white hover:bg-grey-700 hover:text-white active:bg-grey-700 active:text-white',
black:
'bg-grey-900 text-white hover:bg-grey-700 hover:text-white active:bg-grey-600 active:text-white',
Expand Down
2 changes: 1 addition & 1 deletion components/pages/ecosystem/widget/ecosystem-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Web3ContextProvider } from './web3-context';

export const EcosystemWidget = () => {
return (
<section className="container mx-auto mb-40 max-w-6xl">
<section className="container mx-auto mb-40 max-w-6xl" id="widget">
<div className="flex flex-col items-center justify-center">
<h2 className="text-center text-5xl">EdgeWASM and EdgeEVM conversion</h2>
<p className="my-4">
Expand Down
1 change: 1 addition & 0 deletions components/pages/ecosystem/widget/web3-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export const Web3ContextProvider = ({ children }) => {
console.log('Disconnecting from EVM wallet');
try {
const web3 = new Web3(Web3.givenProvider);
console.log('Done!');
} catch (err) {
console.error(err);
}
Expand Down
Loading

1 comment on commit 75a1a42

@vercel
Copy link

@vercel vercel bot commented on 75a1a42 Aug 10, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.