Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updates token balance docs #94

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,14 @@ rsk-cli balance
Output example:

```
📄 Wallet Address: 0x08C4E4BdAb2473E454B8B2a4400358792786d341
🌐 Network: Rootstock Testnet
💰 Current Balance: 0.5015843199087592 RBTC
? Select token to check balance: RIF
✔ Balance retrieved successfully
📄 Token Information:
Name: RIF Token
Contract: 0x19f64674d8a5b4e652319f5e239efd3bc969a1fe
👤 Holder Address: 0x28eb8d29e4713e211d1ddab19df3de16086bb8fa
💰 Balance: 0.02 RIF
🌐 Network: Rootstock Mainnet
🔗 Ensure that transactions are being conducted on the correct network.
```

Expand All @@ -159,14 +164,6 @@ Use the `-t` or `--testnet` flag to check the balance on the Rootstock testnet.
rsk-cli balance -t
```

#### Dynamic Wallet Selection

Use the `--wallet` flag to dynamically select wallet

```bash
rsk-cli balance --wallet <name>
```

Output example:

```
Expand All @@ -181,6 +178,14 @@ Output example:
🔗 Ensure that transactions are being conducted on the correct network.
```

#### Dynamic Wallet Selection

Use the `--wallet` flag to dynamically select the wallet.

```bash
rsk-cli balance --wallet <name>
```

### 3. Transfer rBTC

The `transfer` command allows you to transfer rBTC from your saved wallet to a specified address on the Rootstock blockchain. You can execute the transfer on either the mainnet or testnet using the appropriate flags.
Expand Down