Introduction to Smart Accounts

SAFE has infrastructure for smart accounts, these are smart contracts deployed on a chain that can manage funds and interact with other smart contracts, similar to an EOA (Externally Owned Account).

Since these smart wallets are smart contracts, you need to deploy each account in each chain you want your “smart account” to send and receive funds from.

In this short tutorial we’ll show you how to deploy a SAFE account on Optimism mainnet and then deploy the same contract on Mode mainnet ending up with the same address as the one in Optimism.

Why is it important to have the same address on every chain?

Having the same address on different chains is important especially when bridging as many bridges assume that you are bridging from one address to the same address. Bridges just assume you are using an EOA and not a smart contract wallet like SAFE.

Step-by-Step

We recommend creating a new SAFE account to make sure everything is set up correctly. You CAN use an already deployed account, you just have to follow the same steps without creating the wallet.

Pre-requisites

Step 1 - Creating a SAFE Multi sig on Mode

Go to https://safe.optimism.io/welcome and connect the wallet you want to create the SAFE account with. Select Mode as the network in the top-right dropdown menu.

image.png

Click on “Create Account”

Choose a name and Mode network

image.png

SAFE accounts are also known as multi sigs as they allow several wallets to be able to sign and approve transactions. In this section you can add your teammates or other wallets in order to make the account more secure.

We recommend having at least 2 signers but this is up to you. A good scheme to follow is having 3 possible signers but allowing confirmations of 2/3 signers. If you end up losing access to one of the signers, you can still approve transactions for this account.

image.png

Now just hit Next and create the wallet. Make sure to select “pay now” so you actually deploy the wallet.

image.png

Congrats! You have created and deployed a SAFE account on Optimism. Your left menu should look something like this: