Deploy Process V2
The content provides a detailed guide on deploying the Sequence Wallet Context on a new network.
The following steps are required to deploy the Sequence Wallet Context on a new network.
Notice
For most popular networks this process is not required; due to the wallet contracts
being already deployed.
To see if a configuration already exists for a given chain go to Networks.
1 - Deploy Singleton Factory
The Singleton Factory is a contract that allows the deployment of a single contract instance per address. Unlike the Universal Deployer, the Singleton Factory requires a salt to manage deployment instances. More information about the Singleton Factory can be found in the EIP-2470 specification.
The Pre-fund the Singleton Factory’s deployer with the required funds to deploy the contract.
Do not send additional funds to the address, as funds can’t be refunded.
Once the address is funded, you can deploy the Singleton Factory by executing the following pre-signed transaction:
After the transaction is confirmed, you should see the address of the Singleton Factory:
2 - Deploy Wallet Context
Deploy each of the contracts in the Sequence Wallet Context using the Singleton Factory.
A script can be found in the Sequence Wallet Contracts repository.
Clone the repository, configure the environment variables and run the script with:
Was this page helpful?