Skip to content

Commit dd540a5

Browse files
update predict funding
1 parent 69ada5a commit dd540a5

2 files changed

Lines changed: 26 additions & 10 deletions

File tree

skills/metamask-agent-wallet/workflows/predict-funding.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mm wallet balance --chain 137
2525

2626
### Has POL and pUSD on Polygon
2727

28-
Use `mm transfer` to send pUSD directly to the deposit wallet address. No conversion needed. The `--token` flag requires the pUSD contract address (not the symbol). Get it from `mm wallet balance --chain 137` output.
28+
Use `mm transfer` to send pUSD directly to the deposit wallet address. No conversion needed. Get the pUSD contract address from `mm wallet balance --chain 137` output.
2929

3030
```bash
3131
mm transfer --to <DEPOSIT_WALLET_ADDRESS> --amount <AMOUNT> --chain-id 137 --token <PUSD_CONTRACT_ADDRESS> --wait
@@ -45,19 +45,27 @@ mm predict deposit --amount <AMOUNT> --wait
4545

4646
### Has POL or another token on Polygon (but no USDC.e or pUSD)
4747

48-
Swap to USDC.e on Polygon, then deposit.
48+
Swap to pUSD on Polygon, then transfer directly to the deposit wallet. The owner EOA needs POL for gas.
4949

5050
```bash
51-
mm swap quote --from <TOKEN> --to USDC.e --amount <AMOUNT> --from-chain 137
51+
mm swap quote --from <TOKEN> --to pUSD --amount <AMOUNT> --from-chain 137
5252
mm swap execute --quote-id "$QUOTE_ID" # quote ID from the swap quote command
5353
```
5454

55-
After the swap completes, deposit:
55+
After the swap completes, check the balance to verify pUSD arrived
5656

5757
```bash
58-
mm predict deposit --amount <AMOUNT> --wait
58+
mm wallet balance --chain 137
5959
```
6060

61+
Get the pUSD contract address from the balance output, then transfer to the deposit wallet:
62+
63+
```bash
64+
mm transfer --to <DEPOSIT_WALLET_ADDRESS> --amount <AMOUNT> --chain-id 137 --token <PUSD_CONTRACT_ADDRESS> --wait
65+
```
66+
67+
Get the deposit wallet address from the `mm predict status` output.
68+
6169
### Has assets on another chain
6270

6371
Bridge to send pUSD directly to the deposit wallet address on Polygon.

skills/metamask-agent-workflows/workflows/predict-funding.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mm wallet balance --chain 137
2525

2626
### Has POL and pUSD on Polygon
2727

28-
Use `mm transfer` to send pUSD directly to the deposit wallet address. No conversion needed. The `--token` flag requires the pUSD contract address (not the symbol). Get it from `mm wallet balance --chain 137` output.
28+
Use `mm transfer` to send pUSD directly to the deposit wallet address. No conversion needed. Get the pUSD contract address from `mm wallet balance --chain 137` output.
2929

3030
```bash
3131
mm transfer --to <DEPOSIT_WALLET_ADDRESS> --amount <AMOUNT> --chain-id 137 --token <PUSD_CONTRACT_ADDRESS> --wait
@@ -45,19 +45,27 @@ mm predict deposit --amount <AMOUNT> --wait
4545

4646
### Has POL or another token on Polygon (but no USDC.e or pUSD)
4747

48-
Swap to USDC.e on Polygon, then deposit.
48+
Swap to pUSD on Polygon, then transfer directly to the deposit wallet. The owner EOA needs POL for gas.
4949

5050
```bash
51-
mm swap quote --from <TOKEN> --to USDC.e --amount <AMOUNT> --from-chain 137
51+
mm swap quote --from <TOKEN> --to pUSD --amount <AMOUNT> --from-chain 137
5252
mm swap execute --quote-id "$QUOTE_ID" # quote ID from the swap quote command
5353
```
5454

55-
After the swap completes, deposit:
55+
After the swap completes, check the balance to verify pUSD arrived:
5656

5757
```bash
58-
mm predict deposit --amount <AMOUNT> --wait
58+
mm wallet balance --chain 137
5959
```
6060

61+
Get the pUSD contract address from the balance output, then transfer to the deposit wallet:
62+
63+
```bash
64+
mm transfer --to <DEPOSIT_WALLET_ADDRESS> --amount <AMOUNT> --chain-id 137 --token <PUSD_CONTRACT_ADDRESS> --wait
65+
```
66+
67+
Get the deposit wallet address from the `mm predict status` output.
68+
6169
### Has assets on another chain
6270

6371
Bridge to send pUSD directly to the deposit wallet address on Polygon.

0 commit comments

Comments
 (0)