Haus Party

Share this post

WalletConnect: External Contract Interactions for your DAO

daohaus.substack.com

WalletConnect: External Contract Interactions for your DAO

The WalletConnect Boost is in the HAUS 🏰

UI369
Jul 6, 2022
Share this post

WalletConnect: External Contract Interactions for your DAO

daohaus.substack.com

At DAOhaus, we try to reduce technical friction wherever we can. The trick is to do it in a way that preserves the unique control and ownership that DAOs and web3 enable.

The ability to make external contract calls is a powerfully important option for your DAO to have. This functionality is currently available through the DAOhaus Safe Minion feature (via Gnosis Safe).

The WalletConnect Boost is one of our latest additions to the DAOhaus Boost Marketplace. It leverages the power of WalletConnect to make it even easier for your DAO to interact with external contracts.

One common reason to use an external contract in your DAO is to approve and swap a token. Let’s take a look at what’s involved to make that happen.

How to approve and swap a token without the WalletConnect Boost:

  1. Source the underlying contract address of the AMM pool controlling the tokens

  2. Understand the specific functions for calling and approving the token to be swapped

  3. Understand the call for initiating the swap

  4. Input the appropriate functions, parameters and addresses into the minion using the Contract Builder

  5. Click “Submit” & pay the gas fee for initiating a DAO proposal

This works just fine if you have the right information and know-how! But, these steps require detailed understanding of the external contracts and even for the pros it’s easy to make a mistake.

The WalletConnect Boost allows any member of a DAOhaus DAO to connect to any WalletConnect-enabled app and interact with that app as the DAO - without even looking at the underlying contracts.

Thanks for reading Haus Party! Subscribe for free to receive new posts and support my work.

How to create a DAOhaus proposal with WalletConnect:

View the Video walkthrough 🎬

  1. Click the “Use WalletConnect” button from within a DAOhaus Safe Minion to open the WalletConnect Boost.

  2. Navigate to the external app and sign in with WalletConnect. Then click “copy to clipboard” to get your WalletConnect Link.

  3. Paste the link into the WalletConnect Boost on DAOhaus and click “Continue.” - The WalletConnect boost is now listening for transactions within the external app.

  4. Initiate a transaction through the external app (e.g. wrapping 1 ETH on CowSwap.)
    - The WalletConnect boost will detect the transaction and make it part of a new proposal.

  5. Add in the details for your DAOhaus proposal (type a title, description and choose the appropriate minion.)

  6. Click “Submit” & pay the gas fee for initiating a DAO proposal

Your proposal is now live!

If your DAO votes yes on the proposal, the transaction you made in Step 4 will be executed after your proposal is processed by the DAO.

For a more in-depth technical dive into WalletConnect, check out the rage report!

Stay in touch with the DAO community: Follow DAOhaus on Twitter

Thanks for reading Haus Party! Subscribe for free to receive new posts and support my work.

Share this post

WalletConnect: External Contract Interactions for your DAO

daohaus.substack.com
TopNew

No posts

Ready for more?

© 2023 DAOHaus
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing