Migration Steps
Update your internal database
Ensure your
user_id field can handle 64-bit unsigned integers stored as strings.Generate M-addresses
Use a Stellar SDK to generate an M-address for each user by combining your pooled G-address with the user’s ID.
Display the M-address
Update your UI to show the M-address. You can stop showing a separate “Memo” field for users who use the M-address.