Skip to content

Instantly share code, notes, and snippets.

@GeoffMahugu
Created December 13, 2021 16:13
Show Gist options
  • Save GeoffMahugu/9fbf227f5c0cd96599a39f6ce9fc5753 to your computer and use it in GitHub Desktop.
Save GeoffMahugu/9fbf227f5c0cd96599a39f6ce9fc5753 to your computer and use it in GitHub Desktop.
Connect to web3 react app
async function connect() {
try {
await activate(injected);
} catch (ex) {
console.log(ex)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment