-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(wallet options): add new wallet options * fix(callback): update callback type * fix(wallet connection): fix wallet connection buttons style * fix(result link): add result link to the success modal * fix(errors): fix build errors * fix(error): fix build error * fix(wallets): fix substrate wallet connections * clean up * fix(wallet modal): update wallet connection modal * fix: chain name display * fix: asset selection * fix: alert on which chain --------- Co-authored-by: JayJay1024 <[email protected]>
- Loading branch information
1 parent
8995435
commit 9797d02
Showing
25 changed files
with
8,562 additions
and
791 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// global.d.ts | ||
interface Window { | ||
ethereum?: { | ||
isMetaMask?: boolean; | ||
request: (args: { method: string; params?: Array<any> }) => Promise<any>; | ||
on: (event: string, callback: (...args: any[]) => void) => void; | ||
removeListener: (event: string, callback: (...args: any[]) => void) => void; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.