You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/smart-accounts/3-custom-instruction.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,7 +228,7 @@ If `executeDirectMintingWithData` reverts and the XRPL payment is still unminted
228
228
The skip flag causes the controller to mint FXRP to the personal account **without** dispatching the original user operation.
229
229
3. The user can then move the FXRP through standard [FAssets instructions](/smart-accounts/fasset-instructions) or submit a new user operation with the **current**[`getNonce`](/smart-accounts/reference/IMasterAccountController#getnonce) value.
230
230
231
-
For a step-by-step TypeScript implementation, see the [Recover Stuck Direct Mint guide](/smart-accounts/guides/typescript-viem/recover-stuck-direct-mint-ts).
231
+
For a step-by-step TypeScript implementation, see the [Recover Stuck Mint Transaction guide](/smart-accounts/guides/typescript-viem/recover-stuck-mint-transaction-ts).
Copy file name to clipboardExpand all lines: docs/smart-accounts/guides/typescript-viem/02-custom-instruction.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -573,7 +573,7 @@ When `executeDirectMintingWithData` reverts and the XRPL payment is still unmint
573
573
3. FXRP is minted to the personal account without running the original user operation; the user can then move funds via [FAssets instructions](/smart-accounts/fasset-instructions) or submit a new user operation.
574
574
575
575
Full protocol details are in [Recovery after a failed mint](/smart-accounts/custom-instruction#recovery-after-a-failed-mint).
576
-
For a step-by-step TypeScript walkthrough, see the [Recover Stuck Direct Mint guide](/smart-accounts/guides/typescript-viem/recover-stuck-direct-mint-ts).
576
+
For a step-by-step TypeScript walkthrough, see the [Recover Stuck Mint Transaction guide](/smart-accounts/guides/typescript-viem/recover-stuck-mint-transaction-ts).
This guide walks through recovering FXRP when a smart-account [direct mint](/fassets/direct-minting) payment is stuck at the [Core Vault](/fassets/core-vault) — typically because [`executeDirectMintingWithData`](/fassets/reference/IAssetManager#executedirectmintingwithdata) reverted on Flare or the executor never submitted the [FDC](/fdc/overview) proof.
26
26
27
27
The recovery path uses the memo opcode **`0xE0` (Skip memo)** to mark the stuck XRPL transaction ID, then resubmits the original payment so FXRP is minted to the personal account **without** running the original custom instruction.
28
28
29
29
Read the [Custom Instruction TypeScript guide](/smart-accounts/guides/typescript-viem/custom-instruction-ts) first if you are not familiar with the `0xFE` hash-commitment flow.
30
30
31
-
The full code is available on [GitHub](https://github.com/flare-foundation/flare-viem-starter/blob/main/src/recover-stuck-direct-mint.ts).
31
+
The full code is available on [GitHub](https://github.com/flare-foundation/flare-viem-starter/blob/main/src/recover-direct-mint-transaction.ts).
32
32
33
33
:::info
34
34
The code in this guide is set up for the Coston2 testnet.
@@ -168,23 +168,23 @@ Both paths use `reuseExistingMint: true` so `PaymentAlreadyConfirmed` errors fro
168
168
Clone [flare-viem-starter](https://github.com/flare-foundation/flare-viem-starter), configure `.env`, and run:
169
169
170
170
```bash
171
-
STUCK_XRPL_TX_HASH=<your-stuck-tx-hash> pnpm run script src/recover-stuck-direct-mint.ts
171
+
STUCK_XRPL_TX_HASH=<your-stuck-tx-hash> pnpm run script src/recover-direct-mint-transaction.ts
172
172
```
173
173
174
174
For a `0xFE` stuck payment, also pass the original user-operation bytes:
175
175
176
176
```bash
177
177
STUCK_XRPL_TX_HASH=<hash> \
178
178
STUCK_USER_OP_DATA=<packed-user-op-hex> \
179
-
pnpm run script src/recover-stuck-direct-mint.ts
179
+
pnpm run script src/recover-direct-mint-transaction.ts
180
180
```
181
181
182
182
If you already sent the `0xE0` recovery payment, resume from step 2:
183
183
184
184
```bash
185
185
STUCK_XRPL_TX_HASH=<stuck-hash> \
186
186
RECOVERY_XRPL_TX_HASH=<recovery-hash> \
187
-
pnpm run script src/recover-stuck-direct-mint.ts
187
+
pnpm run script src/recover-direct-mint-transaction.ts
188
188
```
189
189
190
190
## Full Script
@@ -193,9 +193,9 @@ The repository with the example is available on [GitHub](https://github.com/flar
193
193
Helper functions live in the `src/utils` directory.
Copy file name to clipboardExpand all lines: docs/smart-accounts/reference/IMasterAccountController.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -493,7 +493,7 @@ Emitted when an `0xE0` memo marks a target XRPL transaction's memo to be skipped
493
493
494
494
Use this opcode to recover when [`executeDirectMintingWithData`](/fassets/reference/IAssetManager#executedirectmintingwithdata) reverts and the underlying XRP payment is still unminted at the Core Vault.
495
495
After `IgnoreMemoSet` is recorded, the executor re-submits the direct mint with the original FDC proof; FXRP is credited to the personal account without dispatching the original custom instruction.
496
-
See [Recovery after a failed mint](/smart-accounts/custom-instruction#recovery-after-a-failed-mint) and the [Recover Stuck Direct Mint TypeScript guide](/smart-accounts/guides/typescript-viem/recover-stuck-direct-mint-ts).
496
+
See [Recovery after a failed mint](/smart-accounts/custom-instruction#recovery-after-a-failed-mint) and the [Recover Stuck Mint Transaction TypeScript guide](/smart-accounts/guides/typescript-viem/recover-stuck-mint-transaction-ts).
0 commit comments