Building the Evacuation Package
Once you have your project setup, define the module at the top of your Move file like this:[sui.move]
Coin module like this:
[sui.move]
[sui.move]
[sui.move]
[sui.move]
[sui.move]
vector<Coin<T>> does not have the drop ability (since Coin<T> itself does not have drop).
Now build the package to make sure everything works as expected:
[sui.move]
[sui.move]
[sui.move]
<PACKAGE_ID>– your published package ID.<RECIPIENT_ADDRESS>– the address you’re evacuating to.<COIN_ID_1>...– the object IDs of the coins you’re transferring.<AMOUNT_1>...– the exact amount to transfer from each coin.<TOKEN_TYPE>– the type of the token (e.g.,0x2::sui::SUIor your custom coin).