---
# System prepended metadata

title: xdai migration step by step
tags: [' Posts', Rangers]

---

---
tags: Rangers, Posts
---
# xdai migration step by step

## setup

mainnet dao address 0xbeb3e32355a933501c247e2dbde6e6ca2489bf3d
xdai dao address 0x283bdc900b6ec9397abb721c5bbff5ace46e0f50

wxdai address: 0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d

mainnet with at least 5 owners. 2-of-5
contract addr 0x...

xdai multisig with 5 owners. 2-of-5
contract addr 0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d

## test run timeline

### mainnet

* send 1 dai to mainnet dao, sync balance (collectTokens). this is to keep a non zero balance in the dao incase we have to abort the mission
* make funding proposal for full amount - 1 to multisig (5days)
* from safe withdraw funds from dao
* from safe send 1 dai test transaction to bridge, set reciever to xdai multisig

alternate receiver doc
https://www.xdaichain.com/for-users/converting-xdai-via-bridge/alternate-receiver-send-dai-to-another-xdai-address

* approve bridge relay for 1 dai
* send 1xdai to relay
* after 8 confirmations switch to xdai


### xDai

* in multisig verify xdai balance
* "deposit" 1 xdai to wxdai contract
* verify wxdai balance is now 1 in multisig
* transfer wxdai to dao
* sync balance in dao (collectTokens)


## start main migration timeline

repeat steps above with bridge limit over min 3 days


