Skip to content
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

Native token transaction UI and functionality #7

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bhumitaylor14
Copy link
Contributor

https://linear.app/pillarproject/issue/PRO-2185/wallet-ui-send-native-asset

Description

  • Native asset send transaction UI and functionality using etherspot UI library

How Has This Been Tested?

  • Tested on local

Screenshots (if appropriate):

screen-capture.9.webm

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

return testnetChain.explorerUrl;
}

return undefined;

Choose a reason for hiding this comment

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

Use null instead of undefined

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes done

@@ -138,22 +166,33 @@ export const AuthContextProvider = ({ children }: PropsWithChildren) => {
// Function to connect MetaMask
const connectMetaMask = async () => {
setIsConnecting(true);
if (!window.ethereum) {
console.warn('MetaMask is not installed or not accessible.');

Choose a reason for hiding this comment

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

Remove all unnecessary console.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changes done

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

Successfully merging this pull request may close these issues.

2 participants