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
The `transfer` command allows you to transfer both RBTC and ERC20 tokens from your saved wallet to a specified address on the Rootstock blockchain. You can execute transfers on either mainnet or testnet using the appropriate flags.
192
192
193
+
#### Interactive Mode
194
+
195
+
Use the `-i` or `--interactive` flag to enter transfer details interactively:
196
+
197
+
```bash
198
+
# Interactive mode on testnet
199
+
rsk-cli transfer --testnet -i
200
+
201
+
# Interactive mode on mainnet
202
+
rsk-cli transfer -i
203
+
```
204
+
193
205
#### For RBTC Transfer
194
206
195
207
```bash
196
-
#Mainnet
208
+
#Basic transfer on mainnet
197
209
rsk-cli transfer --address 0xRecipientAddress --value 0.001
198
210
199
-
#Testnet
211
+
#Transfer on testnet
200
212
rsk-cli transfer --testnet --address 0x08C4E4BdAb2473E454B8B2a4400358792786d341 --value 0.001
201
213
202
214
# Using specific wallet
203
-
rsk-cli transfer --wallet <name> --address 0x08C4E4BdAb2473E454B8B2a4400358792786d341 --value 0.001
215
+
rsk-cli transfer --wallet <n> --address 0x08C4E4BdAb2473E454B8B2a4400358792786d341 --value 0.001
216
+
217
+
# Advanced transfer with custom gas parameters
218
+
rsk-cli transfer --address 0x08C4E4BdAb2473E454B8B2a4400358792786d341 --value 0.001 --gas-limit 21000 --priority-fee 1.5
204
219
```
205
220
206
221
Output example for RBTC transfer:
@@ -222,14 +237,17 @@ Output example for RBTC transfer:
222
237
Add the `--token` flag with the token contract address to transfer ERC20 tokens:
223
238
224
239
```bash
225
-
#Mainnet
240
+
#Basic token transfer on mainnet
226
241
rsk-cli transfer --token 0xTokenAddress --address 0xRecipientAddress --value 0.1
227
242
228
-
#Testnet
243
+
#Token transfer on testnet
229
244
rsk-cli transfer --testnet --token 0x32Cd6c5831531F96f57d1faf4DDdf0222c4Af8AB --address 0x8A0d290b2EE35eFde47810CA8fF057e109e4190B --value 0.1
0 commit comments