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: tutorials/polkadot-sdk/system-chains/asset-hub/send-tx-paying-fees-with-different-tokens.md
+13-19Lines changed: 13 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Before running the script, you'll need to fork the Asset Hub locally using Chops
66
66
chopsticks -c polkadot-asset-hub
67
67
```
68
68
69
-
This command will fork the Asset Hub chain and make it available at `ws://localhost:8000`.
69
+
This command forks the Asset Hub chain, making it available at `ws://localhost:8000`. By running `polkadot-asset-hub`, you're using the Asset Hub fork with the configuration specified in the [`polkadot-asset-hub.yml`](https://github.com/AcalaNetwork/chopsticks/blob/master/configs/polkadot-asset-hub.yml){target=_blank} file. This configuration defines the Alice account with USDT assets. If you want to use a different chain, ensure the account you're using has the necessary assets.
70
70
71
71
## Implementation
72
72
@@ -77,23 +77,23 @@ Now let's implement the fee payment transaction step by step.
77
77
Add the following imports to your `fee-payment-transaction.ts` file:
This creates a transaction that transfers 3 DOT to Bob's address while keeping Alice's account alive.
@@ -121,7 +121,7 @@ This creates a transaction that transfers 3 DOT to Bob's address while keeping A
121
121
The key part of this tutorial is specifying an alternative asset for fee payment. This is done through the `asset` parameter in the `signAndSubmit` options:
0 commit comments