question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to access the MetaMask directly to send a transaction from Safe App that does not require multisig functionality?

See original GitHub issue

➡️ Premise

Gnosis Safe is a solid piece of engineering.

We are using it as a base for our admin panel - we are building a few custom Safe Apps.

Some functions are high risk (minting new coins) some functions are routine (whitelisting an user).

➡️ What are we trying to do

We would like to allow low-risk function to bypass Gnosis Safe multisig functionality and use the MetaMask directly.

(for simplicity can assume we always use MetaMask)

We could ask for MetaMask access from the level of Safe App.

BUT

It would be better UX to minimize the number of popups.

➡️ Maybe there is a better way?

Can you please guide me is there a way to access the the MetaMask and send non-invasive transaction (such as whitelisting) without going through the hoops of multiple confirmations?

Or maybe asking for access to MetaMask (additional popup) from the context of Safe App is not a big deal (minor inconvenience) and I should just go for it?

I don’t want to mess to much with the codebase, simply because I would like to pull the updates to safe-react in the future.

➡️ Why we will stick to Gnosis Safe?

  • Multisig functionality is best in the class
  • Sleek user experience
  • Some apps are already developed

image Photograph: MR.Cole_Photographer/Getty Images

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mikhailxyzcommented, Dec 16, 2020

OK then… Can you point me in right direction? How to access the wallet provider object? I still need to wrap my head around the codebase… 😇

You just access ethereum property on window object: https://docs.metamask.io/guide/ethereum-provider.html#ethereum-provider-api We don’t have a mechanism for exposing user’s provider

0reactions
stefek99commented, Dec 16, 2020

It is for our private company use.

We are using it as a base for our admin panel - we are building a few custom Safe Apps.


just go for it without any popup

OK then… Can you point me in right direction? How to access the wallet provider object? I still need to wrap my head around the codebase… 😇

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to access the MetaMask directly to send a transaction ...
How to access the MetaMask directly to send a transaction from Safe App that does not require multisig functionality? #1732.
Read more >
Multisig transactions with Gnosis Safe | Gauntlet | Medium
In this post, we'll explore what multisig wallets are and how to use Gnosis Safe to manage your funds and transactions.
Read more >
How to blockchain wallet FAQs - MetaMask
Simply copy your new MetaMask public address and go to your existing wallet or exchange to send funds to your new wallet address....
Read more >
Moonbeam Multisig Safe
Click Send to send a transaction; Paste in the address of the Safe; Enter the amount of DEV tokens you would like to...
Read more >
How To Buy and Send ETH, And Use MetaMask Mobile's ...
Head to your wallet homepage · Click Buy ETH. · You may purchase ETH with Apple Pay (US only), a credit card, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found