Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-07-14 10:06:22 +02:00
parent 42a1774d01
commit 2828fed516
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@ For deploying to mainnet,
If there are no breaking changes, simply running `release-to-mainnet.sh` should suffice.
- close accounts for recovering rent sol + allow creating them with new layout in future with same PDA address
** close mango account `ts/client/src/scripts/mb-example1-close-account.ts`,
-- close mango account `ts/client/src/scripts/mb-example1-close-account.ts`,
note: for whatever reason if withdrawing tokens, or closing positions, etc. fails, just comment out everything else and just run the script with
`await client.closeMangoAccount(group, mangoAccount);`
** close all things setup by admin `ts/client/src/scripts/mb-example1-admin-close.ts`
-- close all things setup by admin `ts/client/src/scripts/mb-example1-admin-close.ts`
note: the admin does get dust token balances, so no mainnet tokens are lost
- merge dev to main, and then `release-to-mainnet.sh` to deploy latest code to mainnet