- Category:
Dev Tools
- Publisher: DAOhaus (opens in a new tab)
- Available Networks:
Ethereum Mainnet
,Gnosis Chain
- Github: https://github.com/HausDAO/MinionSummonerV2 (opens in a new tab)
:::info Editors' note: This is great for users who want to access and control Ethereum Mainnet assets, while voting on proposals on Gnosis Chain. :::
Description
This operation will deploy a new Gnosis Safe Minion with an AMB Module for your DAO. The Gnosis Safe Minion manages your DAO's funds & interacts with smart contracts, while the AMB Module helps relay data between chains.
By installing this Minion, your DAO will be able to vote on & pass proposals on Gnosis Chain, while controlling assets and executing transactions on Ethereum Mainnet. This gives DAOs greater access to use cases on Mainnet such as DeFis and NFTs, while minimizing governance costs.
With the ability to set quorum levels, transactions can be executed earlier once quorum requirements are met. This is especially useful for advanced DAOs looking to optimize their proposal velocity.
Video Tutorial
There is a video tutorial below which walks through the installation and usage of the Minion. Alternatively, we have broken down the process into a step-by-step format below.
Installation Steps
The Cross-chain Minion DEV Suite V4 introduces the concept of Foreign Chain and Home Chain. The Home Chain refers to the chain which the DAO lives on (let's use Gnosis Chain for this tutorial). The Foreign Chain refers to the chain where the assets in the Gnosis Safe live on (let's use Ethereum Mainnet for this tutorial).
-
Summon your Cross-chain Minion DEV Suite V4 in the Boost Marketplace
- Select your Foreign Chain as
Ethereum Mainnet
orGnosis Chain
, which is the chain where the Gnosis Safe and assets can be found. - Paste your Gnosis Safe address that is already deployed on the Foreign Chain
- Select your Foreign Chain as
-
Add the Zodiac Bridge Module to your Gnosis Safe
- Switch your network to your Foreign Chain (Please ensure that the current account is a signer on the Gnosis Safe)
- Click Deploy & Add Module and you will be prompted to sign 2 transactions.
- The first transaction installs the Zodiac Bridge Module
- The second transaction signs and submit a transaction proposal to your Gnosis Safe using the Safe Transaction API
-
Sign a transaction to complete the Boost installation
- Switch back to your DAO's Home Chain and sign the transaction to install the Boost
- When you go to your DAO's treasury, you should see the newly-added Gnosis Safe with all the assets in it.
-
Approve and add Zodiac Module to your Gnosis Safe
- Go to your Gnosis Safe and click on Transactions > Queue. You will see an
enableModule
transaction that needs your approval and execution.
- Go to your Gnosis Safe and click on Transactions > Queue. You will see an
- Execute the transaction on Gnosis Safe to install the Zodiac Bridge module.
- At this point, your DAO can now control the Gnosis Safe on the Foreign Chain.
How to send tokens from a Foreign Chain Gnosis Safe
- Go to your DAO's Cross-chain Safe Minion page and click Transfer
- Enter the Payment Amount, Recipient address (Foreign Chain) and Description before clicking Submit.
-
When you click Submit, your proposal will go through the proposal lifecycle.
-
When your proposal is ready to be executed, click Execute Minion.
-
When the Minion transaction is executed, click on Watch Cross-chain Tx to view the status of your cross-chain transaction. This should open a site for the Arbitrary Message Bridge Live Monitoring application.
- If your Foreign Chain is Ethereum, click Execute to execute transaction on the AMB Live Monitoring page. If your Foreign Chain is Gnosis Chain, the gas fees for the cross-chain transaction is subsidized and will be automatically executed.
- Once your transaction is executed, your tokens will be succesfully sent from your Gnosis Safe.
*Alternatively, you may send tokens by creating a Proposal under the Cross Chain Safe Minion Classics playlist.
How to initiate multiSend transaction from a Foreign Chain Gnosis Safe
-
Create a new Proposal and select Cross Chain Safe Minion TX Builder under Cross Chain Safe Minon Classics.
-
Select your Cross-chain Minion and enter the Title and Description
-
For your first transaction, enter the Contract Address for the ERC-20 or ERC-721 token in the Contract Address Field. The Contract Function dropdown field should populate the contract functions available for you.
-
For sending an ERC-20 token, select the
transfer
contract function. For the fields on the form, enter:
- DST: Intended recipient address on the Foreign Chain
- WAD: Amount of tokens to be sent
- For sending an ERC-721 token, select the
safeTransferFrom
contract Function. For the fields on the form, enter:
- From address: Address of your Foreign Chain Gnosis Safe
- To address: Intended recipient address on the Foreign Chain
- Token ID: The specific token ID of the ERC-721 token
- Value: You can pre-fill this with
0
-
Click Add Tx to Continue adding more Transactions into your Proposal
-
Click Encode Cross-chain Transaction and wait until you see the symbol of a White Tick
-
Click Submit to submit your proposal for next steps in the proposal lifecycle.
-
When your proposal is ready to be executed, click Execute Minion.
-
When the Minion transaction is executed, click on Watch Cross-chain Tx to view the status of your cross-chain transaction. This should open a site for the Arbitrary Message Bridge Live Monitoring application.
- If your Foreign Chain is Ethereum, click Execute to execute transaction on the AMB Live Monitoring page. If your Foreign Chain is Gnosis Chain, the gas fees for the cross-chain transaction is subsidized and will be automatically executed.
- Once your transaction is executed, your tokens will be succesfully sent from your Gnosis Safe.
Optional: How to remove existing Gnosis Safe signers
- Go to your DAO's Cross-chain Safe Minion page and click Remove Signers. Approve the transaction in your wallet and the proposal to remove Gnosis Signers will be sent for next stages of the proposal lifeycle.
-
When your proposal is ready to be executed, click Execute Minion.
-
When the Minion transaction is executed, click on Watch Cross-chain Tx to view the status of your cross-chain transaction. This should open a site for the Arbitrary Message Bridge Live Monitoring application.
- If your Foreign Chain is Ethereum, click Execute to execute transaction on the AMB (aka Zodiac Bridge Module) Live Monitoring page (See image for sample). If your Foreign Chain is Gnosis Chain, the gas fees for the cross-chain transaction is subsidized and will be automatically executed.
- Once your transaction is executed, all signers will be removed from the Gnosis Safe and the Zodiac Bridge module is added as the sole owner of the Safe. Please refer to the following screenshot for a transaction sample.
Support
For support, please go to our Discord at https://discord.com/invite/daohaus (opens in a new tab)