Deploy Process V1
The content provides a detailed guide for deploying the Sequence Wallet V1 Context on a new network. It includes steps to deploy NanoUniversalDeployer and UniversalDeployer2 contracts, along with necessary code snippets and pre-signed transactions.
The following steps are required to deploy the Sequence Wallet V1 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.
A complete code example of this deployment flow can be found in the 0xSequence.js test suite and Wallet Contracts repository.
1 - Deploy NanoUniversalDeployer
Pre-found Nick’s method address with funds required to pay for the deployment of contracts.
Do not send additional funds to the address, as funds can’t be refunded.
Once the address is funded, you can deploy the NanoUniversalDeployer by executing the following pre-signed transaction:
After the transaction is confirmed, you should see the address of the NanoUniversalDeployer:
See more about the NanoUniversalDeployer.
2 - Deploy UniversalDeployer2
In order to deploy contracts with an instance identifier, we need to deploy the UniversalDeployer2 contract. To ensure address consistency we use the UniversalDeployer contract to deploy the UniversalDeployer contract.
Send the following data to the UniversalDeployer deployed in the previous step.
After the transaction is confirmed, you should see the address of the UniversalDeployer2:
3 - Deploy Wallet Context
Compile and deploy the contracts in the Sequence Wallet Context using the UniversalDeployer2.
Refer to the 0xSequence.js test suite or Wallet Contracts repository for the Wallet Contract context codebase.
Was this page helpful?