Skip to content

Commit e74ce4f

Browse files
committed
update
1 parent 1b9200c commit e74ce4f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/content/ccip/tutorials/svm/cross-chain-tokens/direct-mint-authority.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ This tutorial focuses on the simpler direct transfer approach for development en
3030
mint authority to a single PDA.
3131
</Aside>
3232

33+
## Tutorial Approach
34+
35+
This tutorial provides step-by-step instructions and explains what each command does. For detailed implementation code explanations, refer to the comprehensive READMEs in both repositories:
36+
37+
- **[Solana Starter Kit README](https://github.com/smartcontractkit/solana-starter-kit/blob/main/README.md)**: Detailed explanations of all SVM commands and implementation
38+
- **[Smart Contract Examples README](https://github.com/smartcontractkit/smart-contract-examples/blob/main/ccip/cct/hardhat/README.md)**: Comprehensive EVM implementation guide
39+
40+
The READMEs contain detailed technical explanations, troubleshooting guides, and advanced configuration options.
41+
3342
## Prerequisites
3443

3544
This tutorial requires setting up two different repositories in separate terminal windows. Follow the setup instructions for both environments before proceeding.
@@ -1642,6 +1651,20 @@ Token approval check completed successfully
16421651
yarn svm:token-transfer --token-mint $TOKEN_MINT
16431652
```
16441653
1654+
**Customization Options:**
1655+
1656+
You can override the default transfer amount and destination receiver:
1657+
1658+
```bash
1659+
# Override amount and receiver address
1660+
yarn svm:token-transfer --token-mint $TOKEN_MINT --token-amount 1000000 --receiver 0x9d087fC03ae39b088326b67fA3C788236645b717
1661+
```
1662+
1663+
**Parameters:**
1664+
1665+
- `--token-amount`: Amount to transfer (in token base units)
1666+
- `--receiver`: EVM address that will receive the tokens on the destination chain
1667+
16451668
</Fragment>
16461669
16471670
<Fragment slot="panel.2">
@@ -1780,6 +1803,20 @@ https://explorer.solana.com/tx/5KVJnX4KN7GS76F67wWpX5fZ8sQkWWQM6fvWnPFirKxLEecKj
17801803
yarn evm:transfer --token $ETH_TOKEN_ADDRESS
17811804
```
17821805
1806+
**Customization Options:**
1807+
1808+
You can override the default transfer amount and destination receiver:
1809+
1810+
```bash
1811+
# Override amount and receiver address
1812+
yarn evm:transfer --token $ETH_TOKEN_ADDRESS --amount 1000000000000000000 --token-receiver EPUjBP3Xf76K1VKsDSc6GupBWE8uykNksCLJgXZn87CB
1813+
```
1814+
1815+
**Parameters:**
1816+
1817+
- `--amount`: Amount to transfer (in wei for 18-decimal tokens)
1818+
- `--token-receiver`: Solana wallet address that will receive the tokens on the destination chain
1819+
17831820
</Fragment>
17841821
17851822
<Fragment slot="panel.2">

0 commit comments

Comments
 (0)